|
From: Soeren S. <mac...@nn...> - 2007-06-20 06:51:02
|
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.
@Matthew, this patch differs only in also reporting the key/input_sync
when the idlecount is reached:
if (dev->idlecount == 10) {
+ if (dev->data[dev->datalen-1] != 20)
+ input_report_key(dev->input, BTN_LEFT,
+ !!dev->data[dev->datalen - 1]);
+
+ input_sync(dev->input);
schedule_work (&dev->work);
goto exit;
Soeren.
|