On Sat, 2 Feb 2008, Michael Buesch wrote:

> I am implementing a driver for Razer USB mice. These mice are standard 
> HID input devices with additional features accessible through USB 
> control commands.

Hi Michael,

what do the control commands look like? (or is there the source code of 
your driver available to see what exactly is needed?).

> So I was going to implement a small optional kernel HAL module for this, 
> which exports the device features through sysfs. 

I have had a plan (*) for quite a long time to make the HID code 
pluggable, so that it could be possible to write drivers for "slightly 
non-standard" HID devices easily -- i.e. the specialized driver will have 
the possibility to hook HID events that he is interested in, and all other 
events will be handled by the common HID code ... would that by any chance 
solve your issue?

(*) for long time ago already, but there has always been something more 
important, unfortunately :(

> This module will be an optional extension to the usbmouse HID module. 

BTW are you sure about the 'usbmouse' module here? This module uses the 
HID boot protocol, and really shouldn't be used in common situations. 
hid/usbhid modules are the ones.

Thanks,

-- 
Jiri Kosina
SUSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to