Re: Thoughts on a new driver

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Jiri Kosina wrote:
> On Thu, 1 Feb 2007, Phil Dibowitz wrote:
> 
>> What's odd is when I plug it in, it declares itself a HID device:
>>       bInterfaceClass         3 Human Interface Devices
>>       bInterfaceSubClass      0 No Subclass
>>       bInterfaceProtocol      0 None
>> Feb  1 22:44:04 rider kernel: usb 3-1: new full speed USB device using
>> uhci_hcd and address 2
>> Feb  1 22:44:05 rider kernel: HID device not claimed by input or hiddev
>> Feb  1 22:44:05 rider kernel: usbcore: registered new driver usbhid
>> Feb  1 22:44:05 rider kernel: drivers/usb/input/hid-core.c: v2.6:USB HID
>> core driver
> 
> Hi Phil,
> 
> could you please recompile your kernel with defining DEBUG and DEBUG_DATA 
> in drivers/usb/input/hid-{core,input}.c and see what output do you get 
> when connecting the device?

http://www.phildev.net/linux/harmony/debug.hid
http://www.phildev.net/linux/harmony/dmesg.hid

This is with CONFIG_USB_DEBUG and the two defines you mentioned in the HID
driver. The former is what got sysloged under debug, which is mostly usb
core messages, and the dmesg one is a bunch more that was in dmesg but
didn't get logged.

-- 
Phil Dibowitz                             [email protected]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr'
 can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid
 using 'cat' whenever possible" -- Taylor's Laws of Programming

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFxpCsN5XoxaHnMrsRAhMHAJ96f01G/za0m/Tu/1ZWswKWXU0lGwCdEWkz
S9ZMol7tvZOIaWfSPfTkWsg=
=pSf/
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.