[haiku-bugs] [Haiku] #8616: Synaptics not found (fix included)

#8616: Synaptics not found (fix included)
-------------------------------+------------------------------
 Reporter:  dukzcry            |        Owner:  siarzhuk
     Type:  bug                |       Status:  new
 Priority:  normal             |    Milestone:  R1
Component:  Drivers/Mouse/PS2  |      Version:  R1/Development
 Keywords:                     |   Blocked By:
 Blocking:                     |  Has a Patch:  0
 Platform:  All                |
-------------------------------+------------------------------
 While using an old laptop with Synaptics touchpad of 5.9 version, i found,
 that the device is not get detected by Haiku. After digging in, i found
 few independent problems:

 [1] probe_trackpoint() (IBM Trackpoint detection) messes synaptics probing
 (i.e. after messup, you're getting all 0x90 for all of minver, devid and
 majver, while it's a value for minver only. Right data gets later and
 catches by ps2_dev intr handler (gets dropped of course)). So,
 ps2_reset_mouse() after trackpoint probing fixes the problem. I suppose
 that any other device probing before synaptics detection will be painful.

 [2] With my synaptics device, a small delay (after any of
 ps2_reset_mouse()) required, before touchpad can return correct data back
 to you.
 [[BR]]
 [[BR]]
 [[BR]]
 [1] https://raw.github.com/druga/haiku-
 stuff/c83ca2843173b2b03ce19daa5184d3c4743cb378/ps2_synaptics/patch-
 ps2_dev.cpp

 [2] https://raw.github.com/druga/haiku-
 stuff/c83ca2843173b2b03ce19daa5184d3c4743cb378/ps2_synaptics/patch-
 ps2_synaptics.cpp

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8616>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: