Re: USB trackpad: dim and wakeup
Brought to you by:
matthiasgrimm
From: Kristian B. <kb...@op...> - 2006-05-04 07:11:51
|
The problem is with the event layer in the kernel. The synaptics driver must grab the event device to make sure the events does not propagate into /dev/input/mice. If it does not grab the event device, when X is reading /dev/input/mice and you scroll using the synaptics driver, it get the scrolling right, but it also get the mouse move. So the solution is to patch the synaptic driver in such a way that is does not grab the device. Configure your X to use /dev/input/eventX instead of /dev/input/mice. The only problem left, is plugging a USB mouse while X is running. I'm planning on modifying the kernel event layer to have an event aggregate like mice but configurable so you can tell it which event must be aggregated together. The problem is to find the time to make it, but it should'nt be to hard. For the patch, see the from march 2006 named "pbbuttonsd not loading every dev event". Kristian On Wed, 2006-05-03 at 21:18 +0200, Magnus Rosenbaum wrote: > Hello again, > > while Johannes Berg hopefully tries to add the notap feature to the > appletouch driver, I send you 2 further problems with the USB trackpad, > which maybe could be solved by pbbuttons: > > The trackpad does not reset the dim timer. So sometimes I have to press a > key to make the screen go bright again. This happens only when used with > the synaptics driver in X11. Without the synaptics driver the dim timer > works alright. > > Just the other way round: Touching the trackpad or pressing the trackpad > button wakes the iBook from sleep. So if I grab the sleeping iBook with > closed lid right above the trackpad, the trackpad button is pressed by the > bending display and the iBook wakes up. I compared this with my G3 iBook > and there touching the trackpad does not cause it to wake up. > > cu, Magnum > |