Hi,emailist,i met some problem in linux-usb,<br>i have a usb tablet ,the following is his debug message:<br><br>32576.992676] generic-usb 0003:045E:0084.0004: input,hidraw0: USB HID v1.11 Mouse [Microsoft Microsoft Basic Optical Mouse] on usb-0000:00:1d.2-1/input0<br>
[32577.022502] input: TGT Tablet as /devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input9<br>[32577.022963] generic-usb 0003:0ED1:7801.0005: input,hiddev96,hidraw1: USB HID v1.00 Device [TGT Tablet] on usb-0000:00:1d.2-2/input0<br>
<br><br>tommy@tommy-desktop:/work2/android$ lsusb<br>Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
Bus 004 Device 026: ID 0ed1:7801 WinMaxGroup ------>this one<br>Bus 004 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse<br>Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
<br>root@tommy-desktop:/work2/android# lsusb -v<br><br>Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 1.10<br>
bDeviceClass 9 Hub<br> bDeviceSubClass 0 Unused<br> bDeviceProtocol 0 Full speed (or root) hub<br> bMaxPacketSize0 64<br> idVendor 0x1d6b Linux Foundation<br> idProduct 0x0001 1.1 root hub<br>
bcdDevice 2.06<br> iManufacturer 3 Linux 2.6.28-16-generic uhci_hcd<br> iProduct 2 UHCI Host Controller<br> iSerial 1 0000:00:1d.0<br> bNumConfigurations 1<br>
Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 25<br> bNumInterfaces 1<br> bConfigurationValue 1<br> iConfiguration 0<br>
bmAttributes 0xe0<br> Self Powered<br> Remote Wakeup<br> MaxPower 0mA<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br>
bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 9 Hub<br> bInterfaceSubClass 0 Unused<br> bInterfaceProtocol 0 Full speed (or root) hub<br> iInterface 0<br>
Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br>
Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0002 1x 2 bytes<br> bInterval 255<br>Hub Descriptor:<br> bLength 9<br> bDescriptorType 41<br>
nNbrPorts 2<br> wHubCharacteristic 0x000a<br> No power switching (usb 1.0)<br> Per-port overcurrent protection<br> bPwrOn2PwrGood 1 * 2 milli seconds<br> bHubContrCurrent 0 milli Ampere<br>
DeviceRemovable 0x00<br> PortPwrCtrlMask 0xff<br> Hub Port Status:<br> Port 1: 0000.0100 power<br> Port 2: 0000.0100 power<br>Device Status: 0x0003<br> Self Powered<br> Remote Wakeup Enabled<br><br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 2.00<br> bDeviceClass 9 Hub<br> bDeviceSubClass 0 Unused<br> bDeviceProtocol 0 Full speed (or root) hub<br>
bMaxPacketSize0 64<br> idVendor 0x1d6b Linux Foundation<br> idProduct 0x0002 2.0 root hub<br> bcdDevice 2.06<br> iManufacturer 3 Linux 2.6.28-16-generic ehci_hcd<br> iProduct 2 EHCI Host Controller<br>
iSerial 1 0000:00:1d.7<br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 25<br> bNumInterfaces 1<br>
bConfigurationValue 1<br> iConfiguration 0<br> bmAttributes 0xe0<br> Self Powered<br> Remote Wakeup<br> MaxPower 0mA<br> Interface Descriptor:<br> bLength 9<br>
bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 9 Hub<br> bInterfaceSubClass 0 Unused<br>
bInterfaceProtocol 0 Full speed (or root) hub<br> iInterface 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br>
bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0004 1x 4 bytes<br> bInterval 12<br>
Hub Descriptor:<br> bLength 11<br> bDescriptorType 41<br> nNbrPorts 8<br> wHubCharacteristic 0x000a<br> No power switching (usb 1.0)<br> Per-port overcurrent protection<br> bPwrOn2PwrGood 10 * 2 milli seconds<br>
bHubContrCurrent 0 milli Ampere<br> DeviceRemovable 0x00 0x00<br> PortPwrCtrlMask 0xff 0xff<br> Hub Port Status:<br> Port 1: 0000.0100 power<br> Port 2: 0000.0100 power<br> Port 3: 0000.0100 power<br>
Port 4: 0000.0100 power<br> Port 5: 0000.0100 power<br> Port 6: 0000.0100 power<br> Port 7: 0000.0100 power<br> Port 8: 0000.0100 power<br>Device Status: 0x0003<br> Self Powered<br> Remote Wakeup Enabled<br>
<br>Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 1.10<br> bDeviceClass 9 Hub<br> bDeviceSubClass 0 Unused<br>
bDeviceProtocol 0 Full speed (or root) hub<br> bMaxPacketSize0 64<br> idVendor 0x1d6b Linux Foundation<br> idProduct 0x0001 1.1 root hub<br> bcdDevice 2.06<br> iManufacturer 3 Linux 2.6.28-16-generic uhci_hcd<br>
iProduct 2 UHCI Host Controller<br> iSerial 1 0000:00:1d.3<br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br>
wTotalLength 25<br> bNumInterfaces 1<br> bConfigurationValue 1<br> iConfiguration 0<br> bmAttributes 0xe0<br> Self Powered<br> Remote Wakeup<br> MaxPower 0mA<br>
Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 9 Hub<br>
bInterfaceSubClass 0 Unused<br> bInterfaceProtocol 0 Full speed (or root) hub<br> iInterface 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br>
bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0002 1x 2 bytes<br>
bInterval 255<br>Hub Descriptor:<br> bLength 9<br> bDescriptorType 41<br> nNbrPorts 2<br> wHubCharacteristic 0x000a<br> No power switching (usb 1.0)<br> Per-port overcurrent protection<br>
bPwrOn2PwrGood 1 * 2 milli seconds<br> bHubContrCurrent 0 milli Ampere<br> DeviceRemovable 0x00<br> PortPwrCtrlMask 0xff<br> Hub Port Status:<br> Port 1: 0000.0100 power<br> Port 2: 0000.0100 power<br>
Device Status: 0x0003<br> Self Powered<br> Remote Wakeup Enabled<br><br>Bus 004 Device 026: ID 0ed1:7801 WinMaxGroup<br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 1.00<br>
bDeviceClass 0 (Defined at Interface level)<br> bDeviceSubClass 0<br> bDeviceProtocol 0<br> bMaxPacketSize0 8<br> idVendor 0x0ed1 WinMaxGroup<br> idProduct 0x7801<br>
bcdDevice 0.01<br> iManufacturer 1 TGT<br> iProduct 2 Tablet<br> iSerial 0<br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br>
bDescriptorType 2<br> wTotalLength 34<br> bNumInterfaces 1<br> bConfigurationValue 1<br> iConfiguration 0<br> bmAttributes 0xa0<br> (Bus Powered)<br>
Remote Wakeup<br> MaxPower 100mA<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br>
bNumEndpoints 1<br> bInterfaceClass 3 Human Interface Device<br> bInterfaceSubClass 1 Boot Interface Subclass<br> bInterfaceProtocol 2 Mouse<br> iInterface 0<br>
Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br>
Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0008 1x 8 bytes<br> bInterval 5<br> ** UNRECOGNIZED: 09 21 00 01 00 01 22 b9 00<br>
Device Status: 0x0002<br> (Bus Powered)<br> Remote Wakeup Enabled<br><br>Bus 004 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse<br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br>
bcdUSB 1.10<br> bDeviceClass 0 (Defined at Interface level)<br> bDeviceSubClass 0<br> bDeviceProtocol 0<br> bMaxPacketSize0 8<br> idVendor 0x045e Microsoft Corp.<br>
idProduct 0x0084 Basic Optical Mouse<br> bcdDevice 3.90<br> iManufacturer 1 Microsoft<br> iProduct 2 Microsoft Basic Optical Mouse<br> iSerial 0<br> bNumConfigurations 1<br>
Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 34<br> bNumInterfaces 1<br> bConfigurationValue 1<br> iConfiguration 0<br>
bmAttributes 0xa0<br> (Bus Powered)<br> Remote Wakeup<br> MaxPower 100mA<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br>
bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 3 Human Interface Device<br> bInterfaceSubClass 1 Boot Interface Subclass<br> bInterfaceProtocol 2 Mouse<br>
iInterface 0<br> HID Device Descriptor:<br> bLength 9<br> bDescriptorType 33<br> bcdHID 1.11<br> bCountryCode 0 Not supported<br>
bNumDescriptors 1<br> bDescriptorType 34 Report<br> wDescriptorLength 52<br> Report Descriptors:<br> ** UNAVAILABLE **<br> Endpoint Descriptor:<br> bLength 7<br>
bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br>
wMaxPacketSize 0x0004 1x 4 bytes<br> bInterval 10<br>Device Status: 0x0000<br> (Bus Powered)<br><br>Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Device Descriptor:<br>
bLength 18<br> bDescriptorType 1<br> bcdUSB 1.10<br> bDeviceClass 9 Hub<br> bDeviceSubClass 0 Unused<br> bDeviceProtocol 0 Full speed (or root) hub<br>
bMaxPacketSize0 64<br> idVendor 0x1d6b Linux Foundation<br> idProduct 0x0001 1.1 root hub<br> bcdDevice 2.06<br> iManufacturer 3 Linux 2.6.28-16-generic uhci_hcd<br> iProduct 2 UHCI Host Controller<br>
iSerial 1 0000:00:1d.2<br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 25<br> bNumInterfaces 1<br>
bConfigurationValue 1<br> iConfiguration 0<br> bmAttributes 0xe0<br> Self Powered<br> Remote Wakeup<br> MaxPower 0mA<br> Interface Descriptor:<br> bLength 9<br>
bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 9 Hub<br> bInterfaceSubClass 0 Unused<br>
bInterfaceProtocol 0 Full speed (or root) hub<br> iInterface 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br>
bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0002 1x 2 bytes<br> bInterval 255<br>
Hub Descriptor:<br> bLength 9<br> bDescriptorType 41<br> nNbrPorts 2<br> wHubCharacteristic 0x000a<br> No power switching (usb 1.0)<br> Per-port overcurrent protection<br> bPwrOn2PwrGood 1 * 2 milli seconds<br>
bHubContrCurrent 0 milli Ampere<br> DeviceRemovable 0x00<br> PortPwrCtrlMask 0xff<br> Hub Port Status:<br> Port 1: 0000.0303 lowspeed power enable connect<br> Port 2: 0000.0303 lowspeed power enable connect<br>
Device Status: 0x0003<br> Self Powered<br> Remote Wakeup Enabled<br><br>Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br>
bcdUSB 1.10<br> bDeviceClass 9 Hub<br> bDeviceSubClass 0 Unused<br> bDeviceProtocol 0 Full speed (or root) hub<br> bMaxPacketSize0 64<br> idVendor 0x1d6b Linux Foundation<br>
idProduct 0x0001 1.1 root hub<br> bcdDevice 2.06<br> iManufacturer 3 Linux 2.6.28-16-generic uhci_hcd<br> iProduct 2 UHCI Host Controller<br> iSerial 1 0000:00:1d.1<br>
bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 25<br> bNumInterfaces 1<br> bConfigurationValue 1<br>
iConfiguration 0<br> bmAttributes 0xe0<br> Self Powered<br> Remote Wakeup<br> MaxPower 0mA<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br>
bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 9 Hub<br> bInterfaceSubClass 0 Unused<br> bInterfaceProtocol 0 Full speed (or root) hub<br>
iInterface 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 3<br>
Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0002 1x 2 bytes<br> bInterval 255<br>Hub Descriptor:<br>
bLength 9<br> bDescriptorType 41<br> nNbrPorts 2<br> wHubCharacteristic 0x000a<br> No power switching (usb 1.0)<br> Per-port overcurrent protection<br> bPwrOn2PwrGood 1 * 2 milli seconds<br>
bHubContrCurrent 0 milli Ampere<br> DeviceRemovable 0x00<br> PortPwrCtrlMask 0xff<br> Hub Port Status:<br> Port 1: 0000.0100 power<br> Port 2: 0000.0100 power<br>Device Status: 0x0003<br> Self Powered<br>
Remote Wakeup Enabled<br><br><br>it is ok under 2.6.27/2.6.28 linux by electronic pen to test,but i want it use in 2.6.24.2 linux .i have tested it in ubuntu8.04 2.6.24.2,it is wrong,can't know him.<br><br>and i have trace <a href="http://www.linux-usb.org/usb.ids,can't">http://www.linux-usb.org/usb.ids,can't</a> find "0ED1,7801",is it a issue? just<br>
<br>0ed1 WinMaxGroup<br> 6660 Flash Disk 64M-C<br> 6680 Flash Disk 64M-B<br> 7634 MP3 Player<br><br><br>how can i solve this problem quickly?<br><br><br>B.R<br><br>Tommy<br clear="all"><br>-- <br>Achievement provides the only real pleasure in life!<br>