|
From: Soeren S. <mac...@nn...> - 2007-06-29 11:07:27
|
On Sun, 2007-06-24 at 11:04 +0200, Nicolas Boichat wrote: > Soeren Sonnenburg wrote: > > The attached patch tries to resolve the 'appletouch runs amok' problem, > > which accured *for me* after using the mbp for a couple of hours/days > > with the power-saving [PATCH] Make appletouch shut up when it has > > nothing to say from Matthew Garrett. > > > > I am using it for 3 days now without ever running in trouble. So I think > > it is ready for wider testing. > > In SVN now, so it will get wider testing .-) I've had the same problem to re-appear like a week ago. Since then I have been investigating this issue further and am attaching a new patch which survived for the last 5 days. First of all the left mouse button is just bit one in the status byte (the last byte in the package) as was discovered by sven anders. Second, when appletouch after 10 idle packages does a mode reset, the data should marked invalid (then on the next touch the driver re-gets data once without moving mouse etc). This is important if the touchpad conditions change (e.g. long time no touch + bigger temperature change). However sven figured out that bit 3 of the status bit should actually be used to re-get touchpad data. So if you want a working minimally intrusive patch use this one. I will in future only contribute to svens much more mature work. Soeren |