Comment 89 for bug 296610

Revision history for this message
Dave (foceni) wrote :

> @Dave: Input layer is not guilty here. A release event for the dev2 is
> not being sent, so the buttons sticks. This is a bug in the Alps driver.

Exactly, that's how I meant it. The driver doesn't translate all packets into the input layer. Only 3 event are generated for those 4 packets.

BTW, my Stick also has THREE buttons. That's definitely the reason you have no issues and we do. Something's different in the packet. Let's concentrate on this issue and keep this thread as clean and ON TOPIC as possible. It's getting huge. :)

I could write hex+bin packet dumping code for alps.c and report the results here. I think that's the only way you'll be able to find out anything. Without the HW, you're kinda screwed. I code in C for living and have kernel dev. experience - no problem there. The driver is pretty simple too. Would you like to see dumped anything particular?

I might find time to hack on it myself, I'd just have to look on the packet structure "documented" in comments to get into the picture. Would you like to cooperate? My mail is >dave at awk dot cz<.