<div class="gmail_quote">OK I did that.<br><br><div class="gmail_quote"><div class="im">On Wed, Apr 6, 2011 at 9:57 AM, <a href="mailto:akephart@akephart.org" target="_blank">akephart@akephart.org</a> <span dir="ltr">&lt;<a href="mailto:akephart@akephart.org" target="_blank">akephart@akephart.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">First, get the usb pid/vid values (XXXX:YYYY) for the target device with<br>
&#39;lsusb&#39;.  Then, list the full descriptor set with &#39;lsusb -v -d<br>
XXXX:YYYY&#39;.  In the listing, you&#39;ll see one or more interface<br>
descriptors, and each of those will have a value for bInterfaceClass. <br>
That value will tell you what usb class the particular interface<br>
supports, if any.  There is also a device class indication in the device<br>
descriptor, but it will usually be set to a value that isn&#39;t directly<br>
useful (e.g. defined at interface level or miscellaneous device, that<br>
kind of thing). </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 <br>
If it&#39;s a spec-compliant HWA, it&#39;ll have bInterfaceClass=E0h (wireless<br>
controller) and bInterfaceSubclass=02h (WUSB wire adapter).<br></blockquote></div><div><br>Those two values come out like this: <br></div>


        
        
        
        

<p style="margin-bottom: 0cm;">      bInterfaceClass       224
Wireless</p><p style="margin-bottom: 0cm;">bInterfaceSubClass      1 Radio
Frequency <br></p><p style="margin-bottom: 0cm;">The full code of what came out is like this:</p><p style="margin-bottom: 0cm;">


        
        
        
        

</p><p style="margin-bottom: 0cm;">sudo lsusb
</p>
<p style="margin-bottom: 0cm;">Bus 007 Device 001: ID 1d6b:0002 Linux
Foundation 2.0 root hub
</p>
<p style="margin-bottom: 0cm;">Bus 006 Device 001: ID 1d6b:0001 Linux
Foundation 1.1 root hub
</p>
<p style="margin-bottom: 0cm;">Bus 005 Device 001: ID 1d6b:0001 Linux
Foundation 1.1 root hub
</p>
<p style="margin-bottom: 0cm;">Bus 004 Device 001: ID 1d6b:0001 Linux
Foundation 1.1 root hub
</p>
<p style="margin-bottom: 0cm;">Bus 003 Device 001: ID 1d6b:0001 Linux
Foundation 1.1 root hub
</p>
<p style="margin-bottom: 0cm;">Bus 002 Device 003: ID 0bda:0158
Realtek Semiconductor Corp. USB 2.0 multicard reader
</p>
<p style="margin-bottom: 0cm;">Bus 002 Device 002: ID 04f2:b070
Chicony Electronics Co., Ltd 
</p>
<p style="margin-bottom: 0cm;">Bus 002 Device 001: ID 1d6b:0002 Linux
Foundation 2.0 root hub
</p>
<p style="margin-bottom: 0cm;">Bus 001 Device 006: ID 13cf:1200 Wisair
Ltd. 
</p>
<p style="margin-bottom: 0cm;">Bus 001 Device 001: ID 1d6b:0002 Linux
Foundation 2.0 root hub
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">sudo lsusb -v -d 13cf:1200 
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">Bus 001 Device 006: ID 13cf:1200 Wisair
Ltd. 
</p>
<p style="margin-bottom: 0cm;">Device Descriptor:
</p>
<p style="margin-bottom: 0cm;">  bLength                18
</p>
<p style="margin-bottom: 0cm;">  bDescriptorType         1
</p>
<p style="margin-bottom: 0cm;">  bcdUSB               2.00
</p>
<p style="margin-bottom: 0cm;">  bDeviceClass          239
Miscellaneous Device
</p>
<p style="margin-bottom: 0cm;">  bDeviceSubClass         2 ?
</p>
<p style="margin-bottom: 0cm;">  bDeviceProtocol         2 Wire
Adapter Multifunction Peripheral
</p>
<p style="margin-bottom: 0cm;">  bMaxPacketSize0        64
</p>
<p style="margin-bottom: 0cm;">  idVendor           0x13cf Wisair
Ltd.
</p>
<p style="margin-bottom: 0cm;">  idProduct          0x1200 
</p>
<p style="margin-bottom: 0cm;">  bcdDevice            1.00
</p>
<p style="margin-bottom: 0cm;">  iManufacturer           2  
</p>
<p style="margin-bottom: 0cm;">  iProduct                1 Wireless
USB Dongle
</p>
<p style="margin-bottom: 0cm;">  iSerial                 <a href="tel:3%20123456789" value="+13123456789" target="_blank">3 123456789</a>
</p>
<p style="margin-bottom: 0cm;">  bNumConfigurations      1
</p>
<p style="margin-bottom: 0cm;">  Configuration Descriptor:
</p>
<p style="margin-bottom: 0cm;">    bLength                 9
</p>
<p style="margin-bottom: 0cm;">    bDescriptorType         2
</p>
<p style="margin-bottom: 0cm;">    wTotalLength          109
</p>
<p style="margin-bottom: 0cm;">    bNumInterfaces          2
</p>
<p style="margin-bottom: 0cm;">    bConfigurationValue     1
</p>
<p style="margin-bottom: 0cm;">    iConfiguration          0 
</p>
<p style="margin-bottom: 0cm;">    bmAttributes         0x80
</p>
<p style="margin-bottom: 0cm;">      (Bus Powered)
</p>
<p style="margin-bottom: 0cm;">    MaxPower              500mA
</p>
<p style="margin-bottom: 0cm;">    Security Descriptor:
</p>
<p style="margin-bottom: 0cm;">      bLength                 5
</p>
<p style="margin-bottom: 0cm;">      bDescriptorType        12
</p>
<p style="margin-bottom: 0cm;">      wTotalLength           10
</p>
<p style="margin-bottom: 0cm;">      bNumEncryptionTypes     1
</p>
<p style="margin-bottom: 0cm;">    Encryption Type Descriptor:
</p>
<p style="margin-bottom: 0cm;">      bLength                 5
</p>
<p style="margin-bottom: 0cm;">      bDescriptorType        14
</p>
<p style="margin-bottom: 0cm;">      bEncryptionType         2
UNSECURE
</p>
<p style="margin-bottom: 0cm;">      bEncryptionValue        1
</p>
<p style="margin-bottom: 0cm;">      bAuthKeyIndex           0
</p>
<p style="margin-bottom: 0cm;">    ** UNRECOGNIZED:  08 30 1a 00 8c 00
00 01
</p>
<p style="margin-bottom: 0cm;">    ** UNRECOGNIZED:  06 31 5f 00 00
00
</p>
<p style="margin-bottom: 0cm;">    ** UNRECOGNIZED:  06 32 cc 00 00
00
</p>
<p style="margin-bottom: 0cm;">    ** UNRECOGNIZED:  06 34 6e 00 00
02
</p>
<p style="margin-bottom: 0cm;">    Interface Descriptor:
</p>
<p style="margin-bottom: 0cm;">      bLength                 9
</p>
<p style="margin-bottom: 0cm;">      bDescriptorType         4
</p>
<p style="margin-bottom: 0cm;">      bInterfaceNumber        0
</p>
<p style="margin-bottom: 0cm;">      bAlternateSetting       0
</p>
<p style="margin-bottom: 0cm;">      bNumEndpoints           3
</p>
<p style="margin-bottom: 0cm;">      bInterfaceClass       224
Wireless
</p>
<p style="margin-bottom: 0cm;">      bInterfaceSubClass      2
Wireless USB Wire Adapter
</p>
<p style="margin-bottom: 0cm;">      bInterfaceProtocol      1 Host
Wire Adapter Control/Data Streaming
</p>
<p style="margin-bottom: 0cm;">      iInterface              0 
</p>
<p style="margin-bottom: 0cm;">      ** UNRECOGNIZED:  0e 21 00 01 05
00 19 00 10 02 0d 00 0a 00
</p>
<p style="margin-bottom: 0cm;">      Endpoint Descriptor:
</p>
<p style="margin-bottom: 0cm;">        bLength                 7
</p>
<p style="margin-bottom: 0cm;">        bDescriptorType         5
</p>
<p style="margin-bottom: 0cm;">        bEndpointAddress     0x81  EP 1
IN
</p>
<p style="margin-bottom: 0cm;">        bmAttributes            3
</p>
<p style="margin-bottom: 0cm;">          Transfer Type           
Interrupt
</p>
<p style="margin-bottom: 0cm;">          Synch Type              
None
</p>
<p style="margin-bottom: 0cm;">          Usage Type              
Data
</p>
<p style="margin-bottom: 0cm;">        wMaxPacketSize     0x0040  1x
64 bytes
</p>
<p style="margin-bottom: 0cm;">        bInterval               1
</p>
<p style="margin-bottom: 0cm;">      Endpoint Descriptor:
</p>
<p style="margin-bottom: 0cm;">        bLength                 7
</p>
<p style="margin-bottom: 0cm;">        bDescriptorType         5
</p>
<p style="margin-bottom: 0cm;">        bEndpointAddress     0x01  EP 1
OUT
</p>
<p style="margin-bottom: 0cm;">        bmAttributes            2
</p>
<p style="margin-bottom: 0cm;">          Transfer Type           
Bulk
</p>
<p style="margin-bottom: 0cm;">          Synch Type              
None
</p>
<p style="margin-bottom: 0cm;">          Usage Type              
Data
</p>
<p style="margin-bottom: 0cm;">        wMaxPacketSize     0x0200  1x
512 bytes
</p>
<p style="margin-bottom: 0cm;">        bInterval               0
</p>
<p style="margin-bottom: 0cm;">      Endpoint Descriptor:
</p>
<p style="margin-bottom: 0cm;">        bLength                 7
</p>
<p style="margin-bottom: 0cm;">        bDescriptorType         5
</p>
<p style="margin-bottom: 0cm;">        bEndpointAddress     0x82  EP 2
IN
</p>
<p style="margin-bottom: 0cm;">        bmAttributes            2
</p>
<p style="margin-bottom: 0cm;">          Transfer Type           
Bulk
</p>
<p style="margin-bottom: 0cm;">          Synch Type              
None
</p>
<p style="margin-bottom: 0cm;">          Usage Type              
Data
</p>
<p style="margin-bottom: 0cm;">        wMaxPacketSize     0x0200  1x
512 bytes
</p>
<p style="margin-bottom: 0cm;">        bInterval               0
</p>
<p style="margin-bottom: 0cm;">    Interface Descriptor:
</p>
<p style="margin-bottom: 0cm;">      bLength                 9
</p>
<p style="margin-bottom: 0cm;">      bDescriptorType         4
</p>
<p style="margin-bottom: 0cm;">      bInterfaceNumber        1
</p>
<p style="margin-bottom: 0cm;">      bAlternateSetting       0
</p>
<p style="margin-bottom: 0cm;">      bNumEndpoints           1
</p>
<p style="margin-bottom: 0cm;">      bInterfaceClass       224
Wireless
</p>
<p style="margin-bottom: 0cm;">      bInterfaceSubClass      1 Radio
Frequency
</p>
<p style="margin-bottom: 0cm;">      bInterfaceProtocol      2 Ultra
WideBand Radio Control
</p>
<p style="margin-bottom: 0cm;">      iInterface              0 
</p>
<p style="margin-bottom: 0cm;">      Radio Control Interface Class
Descriptor:
</p>
<p style="margin-bottom: 0cm;">        bLength                 4
</p>
<p style="margin-bottom: 0cm;">        bDescriptorType        35
</p>
<p style="margin-bottom: 0cm;">        bcdRCIVersion        1.00
</p>
<p style="margin-bottom: 0cm;">      Endpoint Descriptor:
</p>
<p style="margin-bottom: 0cm;">        bLength                 7
</p>
<p style="margin-bottom: 0cm;">        bDescriptorType         5
</p>
<p style="margin-bottom: 0cm;">        bEndpointAddress     0x83  EP 3
IN
</p>
<p style="margin-bottom: 0cm;">        bmAttributes            3
</p>
<p style="margin-bottom: 0cm;">          Transfer Type           
Interrupt
</p>
<p style="margin-bottom: 0cm;">          Synch Type              
None
</p>
<p style="margin-bottom: 0cm;">          Usage Type              
Data
</p>
<p style="margin-bottom: 0cm;">        wMaxPacketSize     0x0040  1x
64 bytes
</p>
<p style="margin-bottom: 0cm;">        bInterval               1
</p>
<p style="margin-bottom: 0cm;">Device Qualifier (for other device
speed):
</p>
<p style="margin-bottom: 0cm;">  bLength                10
</p>
<p style="margin-bottom: 0cm;">  bDescriptorType         6
</p>
<p style="margin-bottom: 0cm;">  bcdUSB               2.00
</p>
<p style="margin-bottom: 0cm;">  bDeviceClass          239
Miscellaneous Device
</p>
<p style="margin-bottom: 0cm;">  bDeviceSubClass         2 ?
</p>
<p style="margin-bottom: 0cm;">  bDeviceProtocol         2 Wire
Adapter Multifunction Peripheral
</p>
<p style="margin-bottom: 0cm;">  bMaxPacketSize0        64
</p>
<p style="margin-bottom: 0cm;">  bNumConfigurations      1
</p>
<p style="margin-bottom: 0cm;">Device Status:     0x0000
</p>
<p style="margin-bottom: 0cm;">  (Bus Powered)
</p><div class="im">
<p></p> <br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It may also be defined as some kind of firmware download device (DFU or<br>
similar), and sit expectantly for an intermediate driver to download the<br>
firmware, which will then require the HWA driver.<br>
 <br>
It may also be completely vendor-specific, in which case all bets are<br>
off.<br></blockquote></div><div><br>I am not sure if this indicates vendor specific or firmware download.<br><br>Thanks again.<br><br>Chris<br>
</div></div>
</div><br><br clear="all"><br>-- <br>&lt;a href=&quot;<a href="http://www.finalescape.com/home.php?refcode=AgKF5C">http://www.finalescape.com/home.php?refcode=AgKF5C</a>&quot;&gt;Join FinalEscape!&lt;/a&gt;  <br><br>For those of you who like text adventuring with a touch of cyberpunk.<br>