On Fri, 31 May 2002 04:53, [EMAIL PROTECTED] wrote:
> Quoting Brad Hards <[EMAIL PROTECTED]>:
> > Nope - hiddev
> > See http://www.frogmouth.net/hid-doco/linux-hid.html for incomplete
> > description. I'll update it over the weekend to the version I have here,
>
> Thanks, I can talk to the device and issue ioctls now, and I'm figuring out
> how to send and receive reports. The sample code in that document worked
> flawlessly.
>
> This device gets grabbed by the HID module unless CONFIG_USB_HIDINPUT is
> not set.
Actually, it more accurately gets claimed by the HID module in any case. If 
CONFIG_USB_HIDINPUT is set, it gets diverted to the input layer instead of 
the /dev/usb/hiddev node. 

> I'm confused.
Sorry. I thought I had explained this behaviour in the linux-hid doco. I'll 
try again to make this clearer.

> Questions:
>
> Does leaving CONFIG_USB_HIDINPUT unset break support for USB keboards and
> mice, or is there alternate support through the hiddev interface?
It breaks support for keyboards and mice. The whole point is that the input 
layer takes care of all the ugliness in hid.

> Does CONFIG_USB_HIDINPUT seed to be set for your average user?
Assume that all distros will set both HIDINPUT and HIDDEV.

> If so, do I need to blacklist my device in the hid driver to prevent it
> from being grabbed?
If it is your device (ie you can change the firmware), then just change the 
Application. BTW: What Application does the device use now?
Otherwise, consider adding another quirk to the blacklist table (eg 
HID_QUIRK_NOTINPUT) and using that quirk in conjunction with the Application 
test. If you send me the details of the device (vendor id, product id, and a 
descriptive name), I'll do up a patch. I am thinking of doing a similar patch 
(but in the opposite sense) for some HP "multimedia" keyboards that aren't 
being claimed correctly.

Brad 
-- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to