|
From: <li...@ba...> - 2007-02-19 04:01:45
|
Hi! Brice DUBOST "br...@br..." wrote: [...] > I had a look on the patch by Bernhard Frauendienst. > As there is very few changes to make to dvico driver to get this remote > working, I made a new patch. > > It's smaller, and, I hope, can be easely integrated in lirc source tree. Please provide a patch for setup.data and configure.in that adds the driver to the list in setup.sh. The hw_hiddev.c should contain a new struct hardware hw_asus_p5w entry. Also you should not read 8 events in hiddev_rec, but read 1 event at a time and ignore all events not containing useful data by just returning NULL. Your current code reads 8 events although you only reserve space for 4 causing a stack overflow. Christoph |