Re: pbbuttonsd, synaptics and sleep on lid close
On Sat, Aug 13, 2005 at 10:25 PM, Matthias Grimm wrote:
> "mouse" (according the pdf document you posted to the list). To
> differentiate the apple and the synaptics trackpad the first four bytes
> would be sufficient. Why do you check for the device class too?
Because it's different for trackpads in relative (0x03) or absolute
> This could only mean you have a standard Apple ABD trackpad and use a
> different kernel driver for it which emulates a synaptic trackpad. How
> close got I with this?
It's right, but it's not an emulation: trackpads on adb bus of every
quite recent ibook/pbook are from Synaptics. The adbhid driver uses
tpad in relative mode, this kernel patch simply initialize and
manage tpad in absolute mode. In this way you can use synaptics_drv in
Beware of programmers who carry screwdrivers.
-- Leonard Brandwein
http://shammash.homelinux.org/ - http://www.artha.org/shammash/