Note that this is on a virtual Windows 7 PC:

C:\Users\Bas\Downloads\libusbx-1.0.14-win\examples\bin32>listdevs
8086:7020 (bus 1, device 1)
0627:0001 (bus 1, device 2)

C:\Users\Bas\Downloads\libusbx-1.0.14-win\examples\bin32>xusb.exe 8086:7020
Using libusbx v1.0.14.10576
Opening device 8086:7020...
  Failed.

C:\Users\Bas\Downloads\libusbx-1.0.14-win\examples\bin32>xusb.exe 0627:0001
Using libusbx v1.0.14.10576
Opening device 0627:0001...
libusbx: warning [hid_open] could not open HID device in R/W mode
(keyboard or mouse?) - trying without
Reading device descriptor:
            length: 18
      device class: 0
               S/N: 5
           VID:PID: 0627:0001
         bcdDevice: 0000
   iMan:iProd:iSer: 1:3:5
          nb confs: 1
Reading configuration descriptors:
             nb interfaces: 1
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 03.00.02
       endpoint[0].address: 81
           max packet size: 0008
          polling interval: 0A
Claiming interface 0...
Reading string descriptors:
   String (0x01): "QEMU"
   String (0x03): "QEMU USB Tablet"
   String (0x05): "42"
Releasing interface 0...
Closing device...



On 21 November 2012 02:27, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Wed, Nov 21, 2012 at 7:21 AM, Bas van Dijk <v.dijk....@gmail.com> wrote:
>> Hello,
>>
>> On Windows I have an USB device which reports it has 1 configuration 
>> descriptor:
>>
>> bNumConfigurations = 1
>>
>> However, when I try to get that descriptor using:
>>
>> libusb_get_config_descriptor dev 0 config
>>
>> it fails with LIBUSB_ERROR_NOT_FOUND.
>>
>> On Linux when I have a device which reports to have 1 configuration
>> descriptor I'm always able to get that descriptor.
>>
>> Do you guys think this is just a buggy USB device or is this buggy
>> libusb behavior on Windows?
>
> Maybe you want to post the output of "lsusb -vvv" under Linux and the
> debug log of "xusb" under Linux/Windows.
>
>
> --
> Xiaofan
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> libusbx-devel mailing list
> libusbx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libusbx-devel

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to