<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello all,</DIV>
<DIV> </DIV>
<DIV> I developed a hid device. It was tested on Windows and worked fine. <BR>But on ubuntu 9.04 the libhid test got a very large descriptor bytes. <BR>Can anyone help me? I appreciate the help.</DIV>
<DIV>lsusb and hid test information as following:</DIV>
<DIV>lsusb ****************************************</DIV>
<DIV>Bus 008 Device 003: ID 09d9:64df KRF Tech, Ltd <BR>Device Descriptor:<BR> bLength 18<BR> bDescriptorType 1<BR> bcdUSB 2.00<BR> bDeviceClass 0 (Defined at Interface level)<BR> bDeviceSubClass 0 <BR> bDeviceProtocol 0 <BR> bMaxPacketSize0 64<BR> idVendor 0x09d9 KRF Tech, Ltd<BR> idProduct 0x64df <BR>
bcdDevice 0.01<BR> iManufacturer 3 <BR> iProduct 2 <BR> iSerial 4 <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 0xc0<BR> Self Powered<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 0 No Subclass<BR> bInterfaceProtocol 0 None<BR> iInterface 1 <BR> HID Device Descriptor:<BR> bLength 9<BR> bDescriptorType 33<BR> bcdHID 1.10<BR>
bCountryCode 0 Not supported<BR> bNumDescriptors 1<BR> bDescriptorType 34 Report<BR> wDescriptorLength 28<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 0x0018 1x 24 bytes<BR> bInterval 2<BR>can't get
device qualifier: Operation not permitted<BR>can't get debug descriptor: Operation not permitted<BR>cannot read device status, Operation not permitted (1)</DIV>
<DIV><BR>run test********************************************************</DIV>
<DIV> NOTICE: hid_init(): libhid 0.2.15+20060325.0.0 is being initialized.<BR> TRACE: hid_init(): initialising USB subsystem...<BR> TRACE: hid_init(): scanning for USB busses...<BR> TRACE: hid_init(): scanning for USB devices...<BR> NOTICE: hid_init(): successfully initialised HID library.<BR> TRACE: hid_new_HIDInterface(): creating a new HIDInterface instance...<BR> TRACE: hid_force_open(): forcefully opening a device interface according to matching criteria...<BR> TRACE: hid_get_usb_handle(): acquiring handle for a USB device...<BR> TRACE: hid_find_usb_device(): enumerating USB busses...<BR> TRACE: hid_find_usb_device(): enumerating USB devices on bus 002...<BR> TRACE: hid_find_usb_device(): inspecting USB device 002/001[0]...<BR> TRACE: hid_compare_usb_device(): comparing match specifications to USB device...<BR> TRACE: hid_compare_usb_device(): inspecting vendor
ID...<BR> TRACE: hid_compare_usb_device(): no match on vendor ID.<BR> TRACE: hid_compare_usb_device(): inspecting product ID...<BR> TRACE: hid_compare_usb_device(): no match on product ID.<BR> TRACE: hid_compare_usb_device(): no custom matching function supplied.<BR> NOTICE: hid_find_usb_device(): vendor 0x1d6b of USB device 002/001[0] does not match 0x09d9.<BR> TRACE: hid_find_usb_device(): enumerating USB devices on bus 008...<BR> TRACE: hid_find_usb_device(): inspecting USB device 008/003[0]...<BR> TRACE: hid_compare_usb_device(): comparing match specifications to USB device...<BR> TRACE: hid_compare_usb_device(): inspecting vendor ID...<BR> TRACE: hid_compare_usb_device(): match on vendor ID: 0x09d9.<BR> TRACE: hid_compare_usb_device(): inspecting product ID...<BR> TRACE: hid_compare_usb_device(): match on product ID: 0x64df.<BR> TRACE: hid_compare_usb_device(): no custom
matching function supplied.<BR> NOTICE: hid_find_usb_device(): found a matching USB device 008/003[0].<BR> TRACE: hid_force_open(): claiming USB device 008/003[0].<BR> TRACE: hid_os_force_claim(): failed to claim USB device 008/003[0], trying 2 more time(s)...<BR> TRACE: hid_os_force_claim(): detaching kernel driver from USB device 008/003[0]...<BR> TRACE: hid_os_force_claim(): trying again to claim USB device 008/003[0]...<BR> NOTICE: hid_force_open(): successfully claimed USB device 008/003[0].<BR> TRACE: hid_init_parser(): initialising the HID parser for USB Device 008/003[0]...<BR> TRACE: hid_init_parser(): allocating space for HIDData structure...<BR> TRACE: hid_init_parser(): successfully allocated memory for HIDData strcture.<BR> TRACE: hid_init_parser(): allocating space for HIDParser structure...<BR> TRACE: hid_init_parser(): successfully allocated memory for HIDParser
strcture.<BR> NOTICE: hid_init_parser(): successfully initialised the HID parser for USB Device 008/003[0].<BR> TRACE: hid_prepare_hid_descriptor(): initialising the HID descriptor for USB device 008/003[0]...<BR> TRACE: hid_prepare_hid_descriptor(): retrieving HID descriptor for USB device 008/003[0]...<BR> NOTICE: hid_prepare_hid_descriptor(): successfully initialised HID descriptor for USB device 008/003[0] (41984 bytes).<BR> TRACE: hid_prepare_report_descriptor(): initialising the report descriptor for USB device 008/003[0]...<BR> ERROR: hid_prepare_report_descriptor(): report descriptor size for USB device 008/003[0] exceeds maximum size: 41984 > 6144.</DIV>
<DIV> TRACE: hid_close(): closing USB device 008/003[0]...<BR> TRACE: hid_close(): closing handle of USB device 008/003[0]...<BR> NOTICE: hid_close(): successfully closed USB device 008/003[0].<BR> TRACE: hid_reset_parser(): resetting the HID parser for USB device 008/003[0]...<BR> TRACE: hid_close(): freeing memory allocated for HID parser...<BR> TRACE: hid_close(): resetting HIDInterface...<BR>hid_force_open failed with return code 16</DIV>
<DIV> </DIV></td></tr></table><br>