Quantcast

usb_set_configuration problem in 1.2.3.0

classic Classic list List threaded Threaded
41 messages Options
123
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

usb_set_configuration problem in 1.2.3.0

MarkA
Hi, hope someone can help me.  

I use libusb since a long time. Recently i updated from 1.12.0.0. to 1.2.x.x and now to 1.2.3.0
Some devices have a problem with usb_set_configuration.
I get the error :  [set_configuration] could not set config 1: win error: The parameter is incorrect.

This param is 1.

This is the device I use :
DLL version: 1.2.3.0
Driver version: 1.2.2.0

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0004--0x03eb-0x2104     03EB/2104
- Manufacturer : Elektor
- Product      : AVRISP mk2 (CC2)
- Serial Number: 0000A00128255
  wTotalLength:         32
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         80h
  MaxPower:             25
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      2
    bInterfaceClass:    0
    bInterfaceSubClass: 0
    bInterfaceProtocol: 0
    iInterface:         0
      bEndpointAddress: 82h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 02h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0

Why does it not work any longer? And why does this device work fine with the original Jungo driver?
I do not want to go back to 1.12.0.0 because of the problems in that driver(which i never experienced btw)

best regards
mark
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Xiaofan Chen
On Tue, Apr 5, 2011 at 6:52 PM, MarkA <[hidden email]> wrote:

> Hi, hope someone can help me.
>
> I use libusb since a long time. Recently i updated from 1.12.0.0. to 1.2.x.x
> and now to 1.2.3.0
> Some devices have a problem with usb_set_configuration.
> I get the error :  [set_configuration] could not set config 1: win error:
> The parameter is incorrect.
>
> This param is 1.
>
> This is the device I use :
> DLL version: 1.2.3.0
> Driver version: 1.2.2.0

Have you reboot the PC?

Are you using the filter driver or the device driver?


--
Xiaofan

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
Thank you for your reply.
I did reboot when installing 1.2.2.0 but i only recently found out about the problem while checking another problem. So i updated to 1.2.3.0 and did not reboot, so the device driver is the previous one.

I use the filter driver on vista-32.
I will do a reboot, but that will not solve the problem i am afraid. I looked on google and this forum/list and found some similar cases  and 1.2.0.14 should solve the problem, but the fixes are supposed to be in all later versions. And because of other possible problems i would like to use the latest version.
thanks,
Mark
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Xiaofan Chen
On Tue, Apr 5, 2011 at 7:47 PM, MarkA <[hidden email]> wrote:
> I use the filter driver on vista-32.

I see. Take note the filter driver is not guaranteed to work with
some USB device.

What is the vendor driver used? Atmel seems to use Jungo
Windriver. How do you install the filter driver? We recommend
to use the GUI filter driver wizard and only install the filter
for the particular device.

Also please test if the device driver works or not. Thanks.

> I will do a reboot, but that will not solve the problem i am afraid. I
> looked on google and this forum/list and found some similar cases  and
> 1.2.0.14 should solve the problem, but the fixes are supposed to be in all
> later versions. And because of other possible problems i would like to use
> the latest version.

If the filter works in 0.1.12 (there is no version 1.12.0), we will try to
make it work in 1.2.3 as well. You can of course try 1.1.14.3 or 1.1.14.0
and report whether they work or not.

--
Xiaofan

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
>I see. Take note the filter driver is not guaranteed to work with some USB device.
Yes i know but it worked before.

>What is the vendor driver used? Atmel seems to use Jungo Windriver. How do you install the filter driver? >We recommend to use the GUI filter driver wizard and only install the filter for the particular device.
It is using JUNGO windriver. I did use the GUI filter driver wiz(great improvement btw) and only selected the device.

>If the filter works in 0.1.12 (there is no version 1.12.0), we will try to make it work in 1.2.3 as well. You can >of course try 1.1.14.3 or 1.1.14.0 and report whether they work or not.

sorry, yes it was 0.1.12. I will try some older versions too. Is it enough to replace the dll or do i need to use the old device driver too?

What makes a filter driver convenient is that a user can use the original software to control a device, but also alternative software. I once made a device driver with the inf. wiz, but since you can have only 1 device driver, it was hard to switch. Only editing the registry helped.
Ok, i get back when i tested some older versions.
thanks!
mark
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Xiaofan Chen
On Tue, Apr 5, 2011 at 8:16 PM, MarkA <[hidden email]> wrote:
>>If the filter works in 0.1.12 (there is no version 1.12.0), we will try to
> make it work in 1.2.3 as well. You can >of course try 1.1.14.3 or 1.1.14.0
> and report whether they work or not.
>
> sorry, yes it was 0.1.12. I will try some older versions too. Is it enough
> to replace the dll or do i need to use the old device driver too?

The dll does not matter too much. It is the driver which matters.

> What makes a filter driver convenient is that a user can use the original
> software to control a device, but also alternative software. I once made a
> device driver with the inf. wiz, but since you can have only 1 device
> driver, it was hard to switch. Only editing the registry helped.
> Ok, i get back when i tested some older versions.

We all like the filter driver but it does have limitations. Anyway,
in this case, if 0.1.12 works, 1.2.3.0 should work as well.

Please try the debug build as well to report the log.
Installing the libusb-win32 debug run-times (x86).

1) Download DebugView.
(http://download.sysinternals.com/Files/DebugView.zip) and unzip it to
'C:\DebugView'

2) Download the libusb-win32 latest release
http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.3.0/libusb-win32-devel-filter-1.2.3.0.exe/download

Install it and re-run the filter diver wizard to attach it to your device.

3) Download the libusb-win32 latest release debug build.
http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.3.0/libusb-win32-bin-debug-1.2.3.0.zip/download

4) unzip the above debug build zip file, copy 'bin\x86\libusb0.sys' to
'windows\system32\drivers\libusb0.sys', copy bin\x86\libusb0_x86.dll file
to 'windows\system32 and rename to libusb0.dll. Disconnect your USB
device and re-boot.

5) Launch DbgView (you MUST right click and run as administrator)

6) Under the capture menu, ensure all items are checked

7) Connect your device; run your libusb-win32 based program,
messages should appear in DebugView. Save the
log and post it.


--
Xiaofan

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Travis
In reply to this post by MarkA
On 4/5/2011 5:16 AM, MarkA wrote:
>> I see. Take note the filter driver is not guaranteed to work with some USB
> device.
> Yes i know but it worked before.
>

Something else that would be a tremendous help is a *working* log of
0.1.12. (in 0.1.12.2 you will have to usb_set_debug_level())
I'm confident I could fix this quickly with a log from the one that
works and one that doesn't.

Regards,
Travis

>> What is the vendor driver used? Atmel seems to use Jungo Windriver. How do
> you install the filter driver?>We recommend to use the GUI filter driver
> wizard and only install the filter for the particular device.
> It is using JUNGO windriver. I did use the GUI filter driver wiz(great
> improvement btw) and only selected the device.
>
>> If the filter works in 0.1.12 (there is no version 1.12.0), we will try to
> make it work in 1.2.3 as well. You can>of course try 1.1.14.3 or 1.1.14.0
> and report whether they work or not.
>
> sorry, yes it was 0.1.12. I will try some older versions too. Is it enough
> to replace the dll or do i need to use the old device driver too?
>
> What makes a filter driver convenient is that a user can use the original
> software to control a device, but also alternative software. I once made a
> device driver with the inf. wiz, but since you can have only 1 device
> driver, it was hard to switch. Only editing the registry helped.
> Ok, i get back when i tested some older versions.
> thanks!
> mark
>
> --
> View this message in context: http://libusb.6.n5.nabble.com/usb-set-configuration-problem-in-1-2-3-0-tp4283671p4283804.html
> Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Libusb-win32-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
>


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
In reply to this post by Xiaofan Chen
Thank you for the detailed instructions.
I verified the device is working. (with avr studio and jungo driver).
I then followed the instructions and here is the log if i try with my app.
This seems to go wrong :
[4640] libusb0-dll:err [set_configuration] could not set config 1: win error: The parameter is incorrect.
libusb0-sys:err [call_usbd_ex] request timed out
Hope this gives a clue?

best regards
Mark


libusb0-sys:dbg [debug_show_devices] [AttachedDevice #0] \Driver\hhdusbh
libusb0-sys:dbg [debug_show_devices] [AttachedDevice #1] \Driver\WinDriver6
libusb0-sys:[add_device] device #3 created for usb\vid_03eb&pid_2104&rev_0200
libusb0-sys:dbg [reg_get_properties] reg-key-name=\REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\USB\VID_03EB&PID_2104\0000A00128255\Device Parameters
libusb0-sys:dbg [add_device] [filter-mode] id=#3 usb\vid_03eb&pid_2104&rev_0200
libusb0-sys:[add_device] complete status=00000000
libusb0-sys:dbg [debug_show_devices] [AttachedDevice #0] \Driver\hhdusbh
libusb0-sys:dbg [debug_show_devices] [AttachedDevice #1] \Driver\WinDriver6
libusb0-sys:dbg [debug_show_devices] [AttachedDevice #2] \Driver\libusb0
libusb0-sys:dbg [add_device] skipping device usb\vid_03eb&pid_2104&rev_0200
libusb0-sys:[dispatch_pnp] IRP_MN_START_DEVICE: is-filter=Y usb\vid_03eb&pid_2104&rev_0200
libusb0-sys:dbg [on_start_complete] is-filter=Y usb\vid_03eb&pid_2104&rev_0200
libusb0-sys:dbg [dispatch_pnp] IRP_MN_QUERY_CAPABILITIES: is-filter=Y usb\vid_03eb&pid_2104&rev_0200
[5876] Constructor
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5784] rmt Register server
[5784]
[5784] rmt Prague loaded
[5784]
[5784] ldr Module params.ppl loaded
[5784]
[5784] ldr Module pxstub.ppl loaded
[5784]
[5784] rmt InitConnection: to server PRRemote:2516 (current 5784)
[5784]
[5784] rmt Connection binded: remote_root=130057772
[5784]
[5784] ldr Cannot load modules for pid=12345 iid=0x2b
[5784]
[5784] ldr Cannot load modules for pid=12345 iid=0x9
[5784]
[5784] ldr Cannot load modules for pid=12345 iid=0x4004
[5784]
[5784] ldr Cannot load modules for pid=12345 iid=0xfa8
[5784]
[5784] ldr Cannot load modules for pid=12345 iid=0xbf87
[5784]
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
[5876] DllMain
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x87bb8a28
libusb0-sys:[get_descriptor] buffer size: 18 type: 0001 recipient: 0000 index: 0000 language id: 0000 timeout: 5000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x87bb8a28
libusb0-sys:[get_descriptor] buffer size: 18 type: 0001 recipient: 0000 index: 0000 language id: 0000 timeout: 5000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8982e1a0
libusb0-sys:[get_descriptor] buffer size: 18 type: 0001 recipient: 0000 index: 0000 language id: 0000 timeout: 5000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8982e1a0
libusb0-sys:[get_descriptor] buffer size: 9 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 32 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8a86af80
libusb0-sys:[get_descriptor] buffer size: 9 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 32 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8982e1a0
libusb0-sys:[get_descriptor] buffer size: 9 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 34 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8982e1a0
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8982e1a0
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8982e1a0
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0003 language id: 1033 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0002 language id: 1033 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_configuration] timeout: 5000
[4640] libusb0-dll:[os_init] dll version: 1.2.3.0
[4640] libusb0-dll:[os_init] driver version: 1.2.3.0
[4640] libusb0-dll:[os_find_busses] found bus-0
[4640] libusb0-dll:[os_find_devices] found \\.\libusb0-0001--0x051d-0x0002 on bus-0
[4640] libusb0-dll:[os_find_devices] found \\.\libusb0-0002--0x058f-0x6377 on bus-0
[4640] libusb0-dll:[os_find_devices] found \\.\libusb0-0003--0x03eb-0x2104 on bus-0
[4640] libusb0-dll:err [set_configuration] could not set config 1: win error: The parameter is incorrect.
libusb0-sys:err [call_usbd_ex] request timed out
libusb0-sys:dbg [call_usbd_ex] status = C0000120h
libusb0-sys:err [get_configuration] getting configuration failed: status: 0xc0000120, urb-status: 0xc0010000
libusb0-sys:[set_configuration] setting configuration value 1 timeout=5000libusb0-sys:[get_descriptor] buffer size: 18 type: 0001 recipient: 0000 index: 0000 language id: 0000 timeout: 5000
libusb0-sys:dbg [call_usbd_ex] status = C0000001h
libusb0-sys:err [get_descriptor] getting descriptor failed: status: 0xc0000001, urb-status: 0xc0000005
libusb0-sys:err [get_config_descriptor] getting device descriptor failed
libusb0-sys:err [set_configuration] getting configuration descriptor failedlibusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x8982e1a0
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
In reply to this post by Travis
Hi Travis

thanks for your help. Where can i find the debug version of 0.1.12? I just looked but i can not find debug releases. I will try some other older version which have a debug version to see if they work.

best regards
Mark
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Travis
On 4/5/2011 7:35 AM, MarkA wrote:
> Hi Travis
>
> thanks for your help. Where can i find the debug version of 0.1.12? I just
> looked but i can not find debug releases. I will try some other older
> version which have a debug version to see if they work.

There are not any.  This why you'll need to add the
usb_set_debug_level() to your code.
Set the level to 255.

Regards,
Travis

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Travis
In reply to this post by MarkA
On 4/5/2011 7:26 AM, MarkA wrote:
> libusb0-sys:dbg [debug_show_devices] [AttachedDevice #2] \Driver\libusb0
> libusb0-sys:dbg [add_device] skipping device usb\vid_03eb&pid_2104&rev_0200

This is a problem. I suspect both a class filter and a device filter is
installed.  This may be what is causing your problem.

 From an admin command prompt, type:
install-filter u -ac -ad

Reboot, launch debug view and connect your device.  No libusb-win32
message should appear.
Now re-install your device filter and verify that these two messages are
gone. (post this log)

Regards,
Travis

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
Hi Travis

I followed your advise and typed the instruction. reboot and new install of the debug version.
But i do not fully understand, you say there should not be messages. But i get lot of messages.
Maybe you mean some kind? Or maybe this time i had to install the normal libusb version?
Below my log. But before i tried this, i had installed the very old version, and that one worked !
But it had no debug and when i was about to add the level, i saw the new post so thought it was better to make my system good first. So now i will install the old one again and make a log.
Let me know if i did not handled the install-filter u -ac -ad right, or that the output still indicates a problem.

best regards
mark

[4508] DllMain
[4508] DllMain
[4508] DllMain
[4508] DllMain
[4496] libusb0-dll:[os_init] dll version: 1.2.3.0
[4496] libusb0-dll:[os_init] driver version: 1.2.3.0
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x880cc9b8
[4496] libusb0-dll:[os_find_busses] found bus-0
libusb0-sys:[get_descriptor] buffer size: 18 type: 0001 recipient: 0000 index: 0000 language id: 0000 timeout: 5000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x880cc9b8
[4496] libusb0-dll:[os_find_devices] found \\.\libusb0-0001--0x03eb-0x2104 on bus-0
libusb0-sys:[get_descriptor] buffer size: 9 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 32 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x880cc9b8
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0003 language id: 1033 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0002 language id: 1033 timeout: 1000
libusb0-sys:dbg [call_usbd_ex] status = 00000000h
libusb0-sys:[get_configuration] timeout: 5000
libusb0-sys:err [call_usbd_ex] request timed out
libusb0-sys:dbg [call_usbd_ex] status = C0000120h
libusb0-sys:err [get_configuration] getting configuration failed: status: 0xc0000120, urb-status: 0xc0010000
libusb0-sys:[set_configuration] setting configuration value 1 timeout=5000
libusb0-sys:[get_descriptor] buffer size: 18 type: 0001 recipient: 0000 index: 0000 language id: 0000 timeout: 5000
libusb0-sys:dbg [call_usbd_ex] status = C0000001h
libusb0-sys:err [get_descriptor] getting descriptor failed: status: 0xc0000001, urb-status: 0xc0000005
libusb0-sys:err [get_config_descriptor] getting device descriptor failed
libusb0-sys:err [set_configuration] getting configuration descriptor failed
[4496] libusb0-dll:err [set_configuration] could not set config 1: win error: The parameter is incorrect.
libusb0-sys:[release_all_interfaces] releasing all interfaces bound to file object 0x880cc9b8
[4508] DllMain
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
Ok, installed the old one, added debug level to my code. Now i get this :
And it works. I hope you can find the source of the problem now.

best regards
Mark

[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[4712] DllMain
[5420] rmt Register server
[5420]
[5420] rmt Prague loaded
[5420]
[5420] ldr Module params.ppl loaded
[5420]
[5420] ldr Module pxstub.ppl loaded
[5420]
[5420] rmt InitConnection: to server PRRemote:2396 (current 5420)
[5420]
[5420] rmt Connection binded: remote_root=128902140
[5420]
[5420] ldr Cannot load modules for pid=12345 iid=0x2b
[5420]
[5420] ldr Cannot load modules for pid=12345 iid=0x9
[5420]
[5420] ldr Cannot load modules for pid=12345 iid=0x4004
[5420]
[5420] ldr Cannot load modules for pid=12345 iid=0xfa8
[5420]
[5420] ldr Cannot load modules for pid=12345 iid=0xbf87
[5420]
[4712] DllMain
[4712] DllMain
 
 
 
 
 
LIBUSB-DRIVER - get_descriptor(): buffer size 18
LIBUSB-DRIVER - get_descriptor(): type 0001
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 5000
 
 
LIBUSB-DRIVER - get_descriptor(): buffer size 8
LIBUSB-DRIVER - get_descriptor(): type 0002
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 1000
 
 
LIBUSB-DRIVER - get_descriptor(): buffer size 32
LIBUSB-DRIVER - get_descriptor(): type 0002
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 1000
 
 
LIBUSB-DRIVER - get_descriptor(): buffer size 255
LIBUSB-DRIVER - get_descriptor(): type 0003
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 1000
 
 
LIBUSB-DRIVER - get_descriptor(): buffer size 255
LIBUSB-DRIVER - get_descriptor(): type 0003
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0003
LIBUSB-DRIVER - get_descriptor(): language id 1033
LIBUSB-DRIVER - get_descriptor(): timeout 1000
 
 
LIBUSB-DRIVER - get_descriptor(): buffer size 255
LIBUSB-DRIVER - get_descriptor(): type 0003
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 1000
 
 
LIBUSB-DRIVER - get_descriptor(): buffer size 255
LIBUSB-DRIVER - get_descriptor(): type 0003
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0002
LIBUSB-DRIVER - get_descriptor(): language id 1033
LIBUSB-DRIVER - get_descriptor(): timeout 1000
 
 
LIBUSB-DRIVER - set_configuration(): configuration 1
LIBUSB-DRIVER - set_configuration(): timeout 5000
 
LIBUSB-DRIVER - get_descriptor(): buffer size 18
LIBUSB-DRIVER - get_descriptor(): type 0001
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 5000
 
LIBUSB-DRIVER - get_descriptor(): buffer size 9
LIBUSB-DRIVER - get_descriptor(): type 0002
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 5000
 
LIBUSB-DRIVER - get_descriptor(): buffer size 32
LIBUSB-DRIVER - get_descriptor(): type 0002
LIBUSB-DRIVER - get_descriptor(): recipient 0000
LIBUSB-DRIVER - get_descriptor(): index 0000
LIBUSB-DRIVER - get_descriptor(): language id 0000
LIBUSB-DRIVER - get_descriptor(): timeout 5000
LIBUSB-DRIVER - set_configuration(): found interface 0
LIBUSB-DRIVER - update_pipe_info(): interface 0
LIBUSB-DRIVER - update_pipe_info(): endpoint address 0x82
LIBUSB-DRIVER - update_pipe_info(): endpoint address 0x02
 
LIBUSB-DRIVER - claim_interface(): interface 0
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 0
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 0: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 1
LIBUSB-DRIVER - transfer(): sequence 1
 
LIBUSB-DRIVER - transfer_complete(): sequence 1: 1 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 2
 
LIBUSB-DRIVER - transfer_complete(): sequence 2: 13 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 3
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 3: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 4
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 4: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 2
LIBUSB-DRIVER - transfer(): sequence 5
 
LIBUSB-DRIVER - transfer_complete(): sequence 5: 2 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 6
 
LIBUSB-DRIVER - transfer_complete(): sequence 6: 3 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 7
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 7: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 2
LIBUSB-DRIVER - transfer(): sequence 8
 
LIBUSB-DRIVER - transfer_complete(): sequence 8: 2 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 9
 
LIBUSB-DRIVER - transfer_complete(): sequence 9: 3 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 10
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 10: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 2
LIBUSB-DRIVER - transfer(): sequence 11
 
LIBUSB-DRIVER - transfer_complete(): sequence 11: 2 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 12
 
LIBUSB-DRIVER - transfer_complete(): sequence 12: 3 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 13
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 13: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 3
LIBUSB-DRIVER - transfer(): sequence 14
 
LIBUSB-DRIVER - transfer_complete(): sequence 14: 3 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 15
 
LIBUSB-DRIVER - transfer_complete(): sequence 15: 2 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 16
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 16: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 12
LIBUSB-DRIVER - transfer(): sequence 17
 
LIBUSB-DRIVER - transfer_complete(): sequence 17: 12 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 18
 
LIBUSB-DRIVER - transfer_complete(): sequence 18: 2 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 19
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 19: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 6
LIBUSB-DRIVER - transfer(): sequence 20
 
LIBUSB-DRIVER - transfer_complete(): sequence 20: 6 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 21
 
LIBUSB-DRIVER - transfer_complete(): sequence 21: 4 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 22
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 22: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 6
LIBUSB-DRIVER - transfer(): sequence 23
 
LIBUSB-DRIVER - transfer_complete(): sequence 23: 6 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 24
 
LIBUSB-DRIVER - transfer_complete(): sequence 24: 4 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 25
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 25: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 6
LIBUSB-DRIVER - transfer(): sequence 26
 
LIBUSB-DRIVER - transfer_complete(): sequence 26: 6 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 27
 
LIBUSB-DRIVER - transfer_complete(): sequence 27: 4 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 28
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 28: timeout error
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction out
LIBUSB-DRIVER - transfer(): endpoint 0x02
LIBUSB-DRIVER - transfer(): size 3
LIBUSB-DRIVER - transfer(): sequence 29
 
LIBUSB-DRIVER - transfer_complete(): sequence 29: 3 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 30
 
LIBUSB-DRIVER - transfer_complete(): sequence 30: 2 bytes transmitted
 
 
LIBUSB-DRIVER - transfer(): bulk or interrupt transfer
LIBUSB-DRIVER - transfer(): direction in
LIBUSB-DRIVER - transfer(): endpoint 0x82
LIBUSB-DRIVER - transfer(): size 64
LIBUSB-DRIVER - transfer(): sequence 31
 
 
 
LIBUSB-DRIVER - abort_endpoint(): endpoint 0x82
LIBUSB-DRIVER - abort_endpoint(): timeout 5000
LIBUSB-DRIVER - transfer_complete(): sequence 31: timeout error
 
LIBUSB-DRIVER - release_interface(): interface 0
[4712] DllMain
[4712] DllMain
[3828] rmt Register server
[3828]
[3828] rmt Prague loaded
[3828]
[3464] PDFFilter[11ac]>> Tracing DISABLED
[4712] DllMain
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Travis
In reply to this post by MarkA
On 4/5/2011 1:03 PM, MarkA wrote:
> Hi Travis
>
> I followed your advise and typed the instruction. reboot and new install of
> the debug version.
> But i do not fully understand, you say there should not be messages. But i
> get lot of messages.

After typing 'install-filter u -ac -ad' and rebooting you should not see
any libusb0-sys message provided there are no normal device installations.
In particular, I was talking about those specific to that were quoted:
> libusb0-sys:dbg [debug_show_devices] [AttachedDevice #2] \Driver\libusb0
> libusb0-sys:dbg [add_device] skipping device
> usb\vid_03eb&pid_2104&rev_0200

1) install-filter u -ac -ad
2) Reboot
3) Launch DebugView
4) Connect Device
5) These messages should NOT appear:
libusb0-sys:dbg [debug_show_devices] [AttachedDevice #2] \Driver\libusb0
libusb0-sys:dbg [add_device] skipping device usb\vid_03eb&pid_2104&rev_0200

'install-filter u -ac -ad' should remove libusb-win32 as a filter
(class/device) driver from all usb devices.

If you are still seeing libusb0-sys log messages after doing this then
something is wrong there.

FYI: always use the filter installer(s) from the newer v1.2.3.0 version.

> Maybe you mean some kind? Or maybe this time i had to install the normal
> libusb version?
> Below my log. But before i tried this, i had installed the very old version,
> and that one worked !
> But it had no debug and when i was about to add the level, i saw the new
> post so thought it was better to make my system good first. So now i will
> install the old one again and make a log.

apologies..  Continue on with this.  Once you have this working we will
isolate the change that caused the problem.
This will be a bit tedious for the both of us but I'm willing if you
are. :)  It will mostly consist of me making small changes and you
telling me if it works or fails.

> Let me know if i did not handled the install-filter u -ac -ad right, or that
> the output still indicates a problem.

I cannot tell.  I need to see the log when the device is connected.
i.e. Launch DebugView before connecting the device.

Regards,
Travis

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Travis
In reply to this post by MarkA
On 4/5/2011 1:25 PM, MarkA wrote:
> Ok, installed the old one, added debug level to my code. Now i get this :
> And it works. I hope you can find the source of the problem now.
>

haha..  it will not be quite that easy. ;)  But if you are willing to
try some different builds I'm confident we can isolate the problem.

Let's try and get a bit closer first.  Maybe there is a newer version
that works.  The closer we get the easier this is going to be. ;)

You might try this one next:
http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.1.14.0/libusb-win32-device-bin-1.1.14.0.zip/download

I realize this is tedious and I apologize.
You only need to copy the dll and sys files into your system dir as you
did before and reboot.

Please load DebugView before connecting your device.

Regards,
Travis

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
In reply to this post by Travis
Hi Travis

I did post the logging i made but it was short after my other reply, maybe you overlooked it.

When i unstalled the filter i saw the filter was removed. I did not test if there were libusb messages when no filter was installed. i can do that again if required. All my logs where made after i had installed the filter again(after uninstalling).
I use install-filter-win.exe from the bin\x86 folder.

I always start debugview before running the other software. Thanks for your support. I am ready to test.
I will test on a different PC with XP to see if the problem is the same. Then i can test much quicker.
But i am ready for all tests :-)

best regards
Mark
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

Travis
On 4/5/2011 1:57 PM, MarkA wrote:

> Hi Travis
>
> I did post the logging i made but it was short after my other reply, maybe
> you overlooked it.
>
> When i unstalled the filter i saw the filter was removed. I did not test if
> there were libusb messages when no filter was installed. i can do that again
> if required. All my logs where made after i had installed the filter
> again(after uninstalling).
> I use install-filter-win.exe from the bin\x86 folder.
>
> I always start debugview before running the other software. Thanks for your
> support. I am ready to test.

The messages I often want though appear when you connect the device. ;)

> I will test on a different PC with XP to see if the problem is the same.
> Then i can test much quicker.
> But i am ready for all tests :-)

Great.  Would it be possible for you to go through the releases and find
the first one that fails?

Once we find that I will start sending custom builds until we find the
exact line of code that is ruining it for you. ;)

Regards,
Travis

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
Hi Travis

I tried the 1.1.14.0 but this will make my programmer fail even with the
original software. Is it possible libusb can interfere?
I replace the sys and dll, and reboot. I do not need to uninstall and
install the filter driver each time too right?

Device manager tell me device is functional.

Best regards
Mark

libusb0-sys:info [DriverEntry] loading driver
libusb0-sys:info [add_device] device #1 created
libusb0-sys:info [add_device] running in filter mode
libusb0-sys:info [add_device] complete status=00000000
libusb0-sys:info [dispatch_pnp] IRP_MN_START_DEVICE
libusb0-sys:info [dispatch_pnp] IRP_MN_QUERY_CAPABILITIES
libusb0-sys:info [get_descriptor] buffer size: 18 type: 0001 recipient: 0000
index: 0000 language id: 0000 timeout: 5000
[5980] DllMain
libusb0-sys:info [release_all_interfaces] releasing all interfaces bound to
file object 0x898f2a80
[5252] libusb0-dll:info [os_find_devices] found
\\.\libusb0-0001--0x03eb-0x2104 on bus-0
libusb0-sys:info [get_descriptor] buffer size: 8 type: 0002 recipient: 0000
index: 0000 language id: 0000 timeout: 1000
libusb0-sys:info [get_descriptor] buffer size: 32 type: 0002 recipient: 0000
index: 0000 language id: 0000 timeout: 1000
libusb0-sys:info [release_all_interfaces] releasing all interfaces bound to
file object 0x898f2a80
libusb0-sys:info [get_configuration] timeout: 5000
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[1616] rmt Register server
[1616]
[1616] rmt Prague loaded
[1616]
[1616] ldr Module params.ppl loaded
[1616]
[1616] ldr Module pxstub.ppl loaded
[1616]
[1616] rmt InitConnection: to server PRRemote:2476 (current 1616)
[1616]
[1616] rmt Connection binded: remote_root=240056460
[1616]
[1616] ldr Cannot load modules for pid=12345 iid=0x2b
[1616]
[1616] ldr Cannot load modules for pid=12345 iid=0x9
[1616]
[1616] ldr Cannot load modules for pid=12345 iid=0x4004
[1616]
[1616] ldr Cannot load modules for pid=12345 iid=0xfa8
[1616]
[1616] ldr Cannot load modules for pid=12345 iid=0xbf87
[1616]
[5980] DllMain
[5980] DllMain
libusb0-sys:error [call_usbd] request timed out
libusb0-sys:error [get_configuration] getting configuration failed: status:
0xc0000120, urb-status: 0xc0010000
[5252] libusb0-dll:error [control_msg] sending control message failed, win
error: The I/O operation has been aborted because of either a thread exit or
an application request.
[5252]
libusb0-sys:info [get_descriptor] buffer size: 255 type: 0003 recipient:
0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:error [get_descriptor] getting descriptor failed: status:
0xc0000001, urb-status: 0xc0000005
[5252] libusb0-dll:error [control_msg] sending control message failed, win
error: A device attached to the system is not functioning.
[5252]
libusb0-sys:info [get_descriptor] buffer size: 255 type: 0003 recipient:
0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:error [get_descriptor] getting descriptor failed: status:
0xc0000001, urb-status: 0xc0000005
[5252] libusb0-dll:error [control_msg] sending control message failed, win
error: A device attached to the system is not functioning.
[5252]
libusb0-sys:info [get_descriptor] buffer size: 255 type: 0003 recipient:
0000 index: 0000 language id: 0000 timeout: 1000
libusb0-sys:error [get_descriptor] getting descriptor failed: status:
0xc0000001, urb-status: 0xc0000005
[5252] libusb0-dll:error [control_msg] sending control message failed, win
error: A device attached to the system is not functioning.
[5252]
libusb0-sys:info [release_all_interfaces] releasing all interfaces bound to
file object 0x898f2a80
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5920] rmt Register server
[5920]
[5920] rmt Prague loaded
[5920]
[5920] ldr Module params.ppl loaded
[5920]
[5920] ldr Module pxstub.ppl loaded
[5920]
[5920] rmt InitConnection: to server PRRemote:2476 (current 5920)
[5920]
[5920] rmt Connection binded: remote_root=240005260
[5920]
[5920] ldr Cannot load modules for pid=12345 iid=0x2b
[5920]
[5920] ldr Cannot load modules for pid=12345 iid=0x9
[5920]
[5920] ldr Cannot load modules for pid=12345 iid=0x4004
[5920]
[5920] ldr Cannot load modules for pid=12345 iid=0xfa8
[5920]
[5920] ldr Cannot load modules for pid=12345 iid=0xbf87
[5920]
[5980] DllMain
[5980] DllMain
[4284] PDFFilter[14f4]>> Tracing DISABLED
[5980] DllMain
[5980] DllMain



And :

DLL version: 1.1.14.0
Driver version: 1.1.14.0

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0001--0x03eb-0x2104     03EB/2104
- Unable to fetch manufacturer string
- Unable to fetch product string
- Unable to fetch serial number string
  wTotalLength:         32
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         80h
  MaxPower:             25
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      2
    bInterfaceClass:    0
    bInterfaceSubClass: 0
    bInterfaceProtocol: 0
    iInterface:         0
      bEndpointAddress: 82h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 02h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libusb-win32-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
In reply to this post by Travis
I tried posting from my email client but it does not seem to work.

Anyway, i tried with the filter driver removed and i do not get messages then.

[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[5980] DllMain
[4224] rmt Register server
[4224]
[4224] rmt Prague loaded
[4224]
[4224] ldr Module params.ppl loaded
[4224]
[4224] ldr Module pxstub.ppl loaded
[4224]
[4224] rmt InitConnection: to server PRRemote:2476 (current 4224)
[4224]
[4224] rmt Connection binded: remote_root=243777644
[4224]
[4224] ldr Cannot load modules for pid=12345 iid=0x2b
[4224]
[4224] ldr Cannot load modules for pid=12345 iid=0x9
[4224]
[4224] ldr Cannot load modules for pid=12345 iid=0x4004
[4224]
[4224] ldr Cannot load modules for pid=12345 iid=0xfa8
[4224]
[4224] ldr Cannot load modules for pid=12345 iid=0xbf87
[4224]
[5980] DllMain

Before i did that, i tested an old version:
I tried the 1.1.14.0 but this will make my programmer fail even with the original software. Is it possible libusb can interfere?
I replace the sys and dll, and reboot. I do not need to uninstall and install the filter driver each time too right?

Device manager tell me device is functional.
What to do next?
I will test on an XP machine to see if i can duplicte the problem.

Best regards
Mark

libusb0-sys:info [DriverEntry] loading driver libusb0-sys:info [add_device] device #1 created libusb0-sys:info [add_device] running in filter mode libusb0-sys:info [add_device] complete status=00000000 libusb0-sys:info [dispatch_pnp] IRP_MN_START_DEVICE libusb0-sys:info [dispatch_pnp] IRP_MN_QUERY_CAPABILITIES libusb0-sys:info [get_descriptor] buffer size: 18 type: 0001 recipient: 0000 index: 0000 language id: 0000 timeout: 5000 [5980] DllMain libusb0-sys:info [release_all_interfaces] releasing all interfaces bound to file object 0x898f2a80 [5252] libusb0-dll:info [os_find_devices] found \\.\libusb0-0001--0x03eb-0x2104 on bus-0 libusb0-sys:info [get_descriptor] buffer size: 8 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000 libusb0-sys:info [get_descriptor] buffer size: 32 type: 0002 recipient: 0000 index: 0000 language id: 0000 timeout: 1000 libusb0-sys:info [release_all_interfaces] releasing all interfaces bound to file object 0x898f2a80 libusb0-sys:info [get_configuration] timeout: 5000 [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [1616] rmt Register server [1616] [1616] rmt Prague loaded [1616] [1616] ldr Module params.ppl loaded [1616] [1616] ldr Module pxstub.ppl loaded [1616] [1616] rmt InitConnection: to server PRRemote:2476 (current 1616) [1616] [1616] rmt Connection binded: remote_root=240056460 [1616] [1616] ldr Cannot load modules for pid=12345 iid=0x2b [1616] [1616] ldr Cannot load modules for pid=12345 iid=0x9 [1616] [1616] ldr Cannot load modules for pid=12345 iid=0x4004 [1616] [1616] ldr Cannot load modules for pid=12345 iid=0xfa8 [1616] [1616] ldr Cannot load modules for pid=12345 iid=0xbf87 [1616] [5980] DllMain [5980] DllMain libusb0-sys:error [call_usbd] request timed out libusb0-sys:error [get_configuration] getting configuration failed: status: 0xc0000120, urb-status: 0xc0010000 [5252] libusb0-dll:error [control_msg] sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request.
[5252]
libusb0-sys:info [get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0000 language id: 0000 timeout: 1000 libusb0-sys:error [get_descriptor] getting descriptor failed: status: 0xc0000001, urb-status: 0xc0000005 [5252] libusb0-dll:error [control_msg] sending control message failed, win error: A device attached to the system is not functioning.
[5252]
libusb0-sys:info [get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0000 language id: 0000 timeout: 1000 libusb0-sys:error [get_descriptor] getting descriptor failed: status: 0xc0000001, urb-status: 0xc0000005 [5252] libusb0-dll:error [control_msg] sending control message failed, win error: A device attached to the system is not functioning.
[5252]
libusb0-sys:info [get_descriptor] buffer size: 255 type: 0003 recipient: 0000 index: 0000 language id: 0000 timeout: 1000 libusb0-sys:error [get_descriptor] getting descriptor failed: status: 0xc0000001, urb-status: 0xc0000005 [5252] libusb0-dll:error [control_msg] sending control message failed, win error: A device attached to the system is not functioning.
[5252]
libusb0-sys:info [release_all_interfaces] releasing all interfaces bound to file object 0x898f2a80 [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5980] DllMain [5920] rmt Register server [5920] [5920] rmt Prague loaded [5920] [5920] ldr Module params.ppl loaded [5920] [5920] ldr Module pxstub.ppl loaded [5920] [5920] rmt InitConnection: to server PRRemote:2476 (current 5920) [5920] [5920] rmt Connection binded: remote_root=240005260 [5920] [5920] ldr Cannot load modules for pid=12345 iid=0x2b [5920] [5920] ldr Cannot load modules for pid=12345 iid=0x9 [5920] [5920] ldr Cannot load modules for pid=12345 iid=0x4004 [5920] [5920] ldr Cannot load modules for pid=12345 iid=0xfa8 [5920] [5920] ldr Cannot load modules for pid=12345 iid=0xbf87 [5920] [5980] DllMain [5980] DllMain [4284] PDFFilter[14f4]>> Tracing DISABLED [5980] DllMain [5980] DllMain



And :

DLL version: 1.1.14.0
Driver version: 1.1.14.0

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0001--0x03eb-0x2104     03EB/2104
- Unable to fetch manufacturer string
- Unable to fetch product string
- Unable to fetch serial number string
  wTotalLength:         32
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         80h
  MaxPower:             25
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      2
    bInterfaceClass:    0
    bInterfaceSubClass: 0
    bInterfaceProtocol: 0
    iInterface:         0
      bEndpointAddress: 82h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 02h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: usb_set_configuration problem in 1.2.3.0

MarkA
In reply to this post by Travis
I can also confirm that i get the same problem on XP.
With the old driver it works, but once updated to the last one, i get these error messages.
It still works with the original software.
123
Loading...