Darren Kenny wrote: > It was my understanding - but could be mistaken - that the touchpad could work > in two modes PS/2 and USB - and in PS/2 mode it would generate right-click and > scroll events based off multi-touch actions. Maybe this is what the NetBSD > version is doing? This is meant to be to specifically support BootCamp and > Windows without the need for a special driver. > > On OpenSolaris we don't seem to see any PS/2 mouse, so it doesn't seem to be > possible to attempt this. > > Darren. > The touchpad seems to have two modes: USB and "raw". In USB mode, it does what every USB mouse does, and USB mouse drivers (like the NetBSD one) work without modification. Then there's "raw" mode, which the Linux 'appletouch' driver uses, and that has the full information on multiple fingers on the trackpad, etc.
Unfortunately, the latter mode is undocumented as far as I know, and the Linux driver is probably based on reverse engineering. We implement plain USB mouse mode. Which works, but telling the controller to go into report mode and then back into boot mode apparently causes it to send bad data. I haven't seen any PS/2 compatible modes. I think Windows with Bootcamp just works using the plain USB mouse driver that Windows has, and for full trackpad options you can install the Apple driver for Windows. - Frank