On Sun, 21 Apr 2002 21:12, Hans E. Kristiansen wrote:
<snip>

> I need to modify lirc to get the input from this particular remote control,
> reading from a specific /dev/usb/xyz entry. In addition, I will need to
> prevent the kernel from processing the controller as a keyboard, but rather
> leave it up to lirc to process the incoming entries. creating a patch for
> lirc is within my capabilities ( yeah, right ), but I am not to confident
> on the driver / kernel modifications.
>
> Your comments will be greatly appreciated, I'm sure :)
Drop the HIDBP mode. 

You don't need to modify the kernel. You can do this entirely in userspace.

The HID module talks to the Input subsystem. The input subsystem outputs to a 
range of output device. You need the event interface (/dev/input/eventX, 
where X is 0..31). You can just read events out using a standard read() call. 

I have a tutorial that is close enough to done to help you with this, though 
by no means complete. I'll try to get it up on a suitable web site soon, and 
post a link.

Brad

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

Reply via email to