Vojtech Pavlik wrote:
> The patch is now added to the input CVS. I've done a deeper cut when
> integrating it - I've split the original hid into the hid core and
> hid-input bindings. Check the cvs (linuxconsole.sourceforge.net) for any
> mistakes I did in the integration. It'll need some more work anyways.
Sorry it took so long to get to test this, but I eventually got there.
I'm using the code from ruby, and I tried to extract out just the input and
hid code, and put the hid stuff into the usb directory, and moved some other
files around. It compiles OK, and I like the general approach, but the code is
broken.
Most of my simple tests work, but one always oopses:
ioctl(fd, HIDIOCINITREPORT, 0);
It looks like the hid_read_all_reports() routine got dropped. Also, some
initialisation code from hid_init_hiddev() got dropped. This means that in the
hiddev ioctl() code for the HIDIOCINITREPORT case,
(*hid->hiddev.read_all_reports)(hid);
ends up referencing a null pointer.
I am have some of the problem solved, but no all of it. If you've got any
changes, please let me know. Happy to test with my UPS.
Brad
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel