I have been in touch with Dmitry Torokhov who maintains the Input layer for Linux. He suggested a few changes, and I wrote a new version of the patch based on his suggestions. It also has a variant of Dave's 'button router'. This is now on the linux-input mailing list, and I hope for inclusion in Linux.
Nevertheless, I'd appreciate it if you guys gave the new version a spin and verify that all your favorite bugs are gone. Maybe someone could compile a readymade .ko for everyone to test with the stock ubuntu kernel?
Thank you guys for helping me on this!
A few minor details:
* The weirderbit is used as a button bit in some models.
* Waiting for a seventh byte after six have been received is not an option. The PS/2 driver will force desync in this case. I.e. detecting the packet lengh will need a redesign at a deeper layer. Nevertheless, if you don't press all three buttons, the driver should work :-)
* Dave says that the seventh byte is not even necessarily helpful.
Sorry, I haven't been very responsive this week.
I have been in touch with Dmitry Torokhov who maintains the Input layer for Linux. He suggested a few changes, and I wrote a new version of the patch based on his suggestions. It also has a variant of Dave's 'button router'. This is now on the linux-input mailing list, and I hope for inclusion in Linux.
Nevertheless, I'd appreciate it if you guys gave the new version a spin and verify that all your favorite bugs are gone. Maybe someone could compile a readymade .ko for everyone to test with the stock ubuntu kernel?
Thank you guys for helping me on this!
A few minor details:
* The weirderbit is used as a button bit in some models.
* Waiting for a seventh byte after six have been received is not an option. The PS/2 driver will force desync in this case. I.e. detecting the packet lengh will need a redesign at a deeper layer. Nevertheless, if you don't press all three buttons, the driver should work :-)
* Dave says that the seventh byte is not even necessarily helpful.