Re: "lsusb -vvv" returns "unrecognized" - why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 30, 2010 at 8:38 AM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>
> I think this has nothing to do with Wireless USB. I just
> tried it for a simple Logitech Mouse. And same thing happens.
> Then I tried PICKit 2, it has same problem. I think there is
> an issue with the lsusb descriptor parser for the HID device.
>
> And Google has many more such samples.

>
> Bus 003 Device 007: ID 04d8:0033 Microchip Technology, Inc.
> Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               2.00
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0         8
>  idVendor           0x04d8 Microchip Technology, Inc.
>  idProduct          0x0033
>  bcdDevice            0.02
>  iManufacturer           1 Microchip Technology Inc.
>  iProduct                2 PICkit 2 Microcontroller Programmer
>  iSerial                 3 pk2new
>  bNumConfigurations      2
>  Configuration Descriptor:
>    bLength                 9
>    bDescriptorType         2
>    wTotalLength           41
>    bNumInterfaces          1
>    bConfigurationValue     1
>    iConfiguration          2 PICkit 2 Microcontroller Programmer
>    bmAttributes         0x80
>      (Bus Powered)
>    MaxPower              100mA
>    Interface Descriptor:
>      bLength                 9
>      bDescriptorType         4
>      bInterfaceNumber        0
>      bAlternateSetting       0
>      bNumEndpoints           2
>      bInterfaceClass         3 Human Interface Device
>      bInterfaceSubClass      0 No Subclass
>      bInterfaceProtocol      0 None
>      iInterface              0
>      ** UNRECOGNIZED:  09 21 01 00 00 01 22 1d 00
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x81  EP 1 IN
>        bmAttributes            3
>          Transfer Type            Interrupt
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               1
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x01  EP 1 OUT
>        bmAttributes            3
>          Transfer Type            Interrupt
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               1

The 09 21 thingy is the HID Class Specifif Descriptor.

    /* HID Class-Specific Descriptor */

    sizeof(USB_HID_DSC),    // Size of this descriptor in bytes
 --> 09
    DSC_HID,                // HID descriptor type
                       --> 0x21
    0x0001,                 // HID Spec Release Number in BCD format
  --> 1.00
    0x00,                   // Country Code (0x00 for Not supported)

    1,                      // Number of class descriptors, see usbcfg.h

    DSC_RPT,                // Report descriptor type
                     --> 0x 22
    sizeof(hid_rpt01),      // Size of the report descriptor
   --> 0x001d

mcuee@ubuntu64-laptop:~$ uname -a
Linux ubuntu64-laptop 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24
07:28:27 UTC 2010 x86_64 GNU/Linux

Somehow I believe it used to work.

-- 
Xiaofan http://mcuee.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux