On Tue, Aug 28, 2012 at 5:55 AM, Pete Batard <p...@akeo.ie> wrote:
> On 2012.08.27 10:10, Xiaofan Chen wrote:
>>>> 4) libusbk.sys --> does not work well.
>>>
>>> Yup... I'll try to see if we can get some more info with the debug driver.
>>
>> Are you able to reproduce the issue? I think the debug driver should
>> help.
>
> Indeed I can. Haven't gotten around to installing the debug driver yet.
> Hopefully soon.

It seems to me libusbk.sys is less forgiving about bulk transfer size.

[ERR](libusbK.sys)[Xfer_ReadBulk] Read buffer is not an interval of
MaximumPacketSize. MaximumPacketSize: 512 RemainderLength: 36

Full debug log using libusbk.sys debug version.

[3840]
[3840] AllK required contiguous memory = 313724 (32bit)
[3840]   8 HotK Handles: HandleSize 2084 PoolSize 16680 (bytes)
[3840]   64 LstK Handles: HandleSize 36 PoolSize 2312 (bytes)
[3840]   1024 LstInfoK Handles: HandleSize 36 PoolSize 36872 (bytes)
[3840]   64 UsbK Handles: HandleSize 56 PoolSize 3592 (bytes)
[3840]   32 DevK Handles: HandleSize 60 PoolSize 1928 (bytes)
[3840]   4096 OvlK Handles: HandleSize 60 PoolSize 245768 (bytes)
[3840]   64 OvlPoolK Handles: HandleSize 52 PoolSize 3336 (bytes)
[3840]   32 StmK Handles: HandleSize 100 PoolSize 3208 (bytes)
[3840]
[3840] Dynamically allocated as needed:
[3840]  KLST_DEVINFO = 2596 bytes each
(libusbK.sys)[Device_OnFileCreate] begins
(libusbK.sys)[Device_OnFileCreate] ends
[3840] (libusbK.dll)[k_Init_Version] libusbK.sys v3.0.5.16
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=0 wValue=512
wLength=0
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=0 wValue=512
wLength=0
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=00h
policyType=03h valueLength=4
(libusbK.sys)[Policy_SetPipe] PipeID=00h Applied value of length 4 to
policy type 3
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=81h
policyType=03h valueLength=4
(libusbK.sys)[Policy_SetPipe] PipeID=81h Applied value of length 4 to
policy type 3
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=81h
policyType=01h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=81h Applied value of length 1 to
policy type 1
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=81h
policyType=04h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=81h Applied value of length 1 to
policy type 4
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=81h
policyType=05h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=81h Applied value of length 1 to
policy type 5
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=81h
policyType=02h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=81h Applied value of length 1 to
policy type 2
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=02h
policyType=03h valueLength=4
(libusbK.sys)[Policy_SetPipe] PipeID=02h Applied value of length 4 to
policy type 3
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=02h
policyType=01h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=02h Applied value of length 1 to
policy type 1
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=02h
policyType=04h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=02h Applied value of length 1 to
policy type 4
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=02h
policyType=05h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=02h Applied value of length 1 to
policy type 5
(libusbK.sys)[DefaultQueue_OnIoControl] SetPipePolicy: pipeID=02h
policyType=02h valueLength=1
(libusbK.sys)[Policy_SetPipe] PipeID=02h Applied value of length 1 to
policy type 2
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=0 wValue=768
wLength=255
(libusbK.sys)[XferCtrl] [Ok] status=0h
(libusbK.sys)[XferCtrlComplete] [Ok] transferred=4
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=1033 wValue=769
wLength=255
(libusbK.sys)[XferCtrl] [Ok] status=0h
(libusbK.sys)[XferCtrlComplete] [Ok] transferred=16
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=0 wValue=768
wLength=255
(libusbK.sys)[XferCtrl] [Ok] status=0h
(libusbK.sys)[XferCtrlComplete] [Ok] transferred=4
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=1033 wValue=770
wLength=255
(libusbK.sys)[XferCtrl] [Ok] status=0h
(libusbK.sys)[XferCtrlComplete] [Ok] transferred=22
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=0 wValue=768
wLength=255
(libusbK.sys)[XferCtrl] [Ok] status=0h
(libusbK.sys)[XferCtrlComplete] [Ok] transferred=4
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Standard(0)
bmRecipient=Device(0) bmReserved=000 bRequest=6 wIndex=1033
wValue=1006 wLength=255
(libusbK.sys)[XferCtrl] [Ok] status=0h
[ERR](libusbK.sys)[XferCtrlComplete] status=C0000001h
(libusbK.sys)[XferCtrl] bmDir=DeviceToHost(1) bmType=Class(1)
bmRecipient=Interface(1) bmReserved=000 bRequest=254 wIndex=0 wValue=0
wLength=1
(libusbK.sys)[XferCtrl] [Ok] status=0h
(libusbK.sys)[XferCtrlComplete] [Ok] transferred=1
(libusbK.sys)[Xfer_WriteBulk] PipeID=02h Staging=31
(libusbK.sys)[Xfer_WriteBulkComplete] PipeID=02h DoneReason:
Transferred==Requested. Staged=31 Total=31 Requested=31
[ERR](libusbK.sys)[Xfer_ReadBulk] Read buffer is not an interval of
MaximumPacketSize. MaximumPacketSize: 512 RemainderLength: 36
[3840] [WRN](libusbK.dll)[LibK_Context_Free] Invalid UsbK handle
reference count 1 at index 0
[3840] [WRN](libusbK.dll)[LibK_Context_Free] Invalid DevK handle
reference count 1 at index 0
(libusbK.sys)[Interface_ReleaseAll] releasing all interfaces bound to
file object 0x852fd850
(libusbK.sys)[Device_OnFileClose] OpenedFileHandleCount=0
[3752] LOG_SYSTEM: [GoogleUpdate:goopdate]: ERROR - Cannot create ETW log writer
[3664] LOG_SYSTEM: [GoogleUpdate:goopdate]: ERROR - Cannot create ETW log writer


-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to