[Bug 205690] [psm] [patch]: Add support for Elantech trackpads

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 1 15:19:13 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205690

--- Comment #74 from Jakob Alvermark <jakob at alvermark.net> ---
(In reply to Vladimir Kondratyev from comment #73)

I'm 100% sure, but I think it is synaptics.

/boot/loader.conf has:
hw.psm.synaptics_support=1
hw.psm.trackpoint_support=1

Boot dmesg (withdebug.psm.loglevel=5) :
psm0: current command byte:0047
psm: ENABLE_DEV return code:00fa
psm: DISABLE_DEV return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 00 02 64
psm: SEND_DEV_ID return code:00fa
psm: device ID: 0000
psm: SET_RESOLUTION (0) 00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 00 00 64
psm: SET_RESOLUTION (3) 00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 00 03 64
psm: SET_RESOLUTION (3) 00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 00 03 64
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SEND_AUX_DEV_DATA return code:00fa
psm: data 08 00 00
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_SAMPLING_RATE (80) 00fa
psm: SEND_DEV_ID return code:00fa
psm: device ID: 0000
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (80) 00fa
psm: SEND_DEV_ID return code:00fa
psm: device ID: 0000
psm: SET_SAMPLING_RATE (200) 00fa
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_SAMPLING_RATE (80) 00fa
psm: SET_SAMPLING_RATE (60) 00fa
psm: SET_SAMPLING_RATE (40) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SEND_DEV_ID return code:00fa
psm: device ID: 0000
psm: SEND_DEV_ID return code:00fa
psm: device ID: 0000
synaptics: BEGIN init
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 01 47 18
Synaptics Touchpad v8.1
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 01 e2 b1
  Model information:
   infoRot180: 0
   infoPortrait: 0
   infoSensor: 1
   infoHardware: 113
   infoNewAbs: 1
   capPen: 0
   infoSimplC: 1
   infoGeometry: 1
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status f0 02 a3
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 35 80 49
  Extended capabilities:
   capExtended: 1
   capMiddle: 0
   nExtendedQueries: 7
   capPassthrough: 1
   capLowPower: 0
   capMultiFingerReport: 1
   capSleep: 0
   capFourButtons: 0
   capBallistics: 0
   capMultiFinger: 1
   capPalmDetect: 1
   infoXupmm: 53
   infoYupmm: 73
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 94 33 00
  Extended model ID:
   verticalScroll: 0
   horizontalScroll: 0
   verticalWheel: 0
   nExtendedButtons: 3
   capEWmode: 1
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 12 e8 00
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status b2 68 95
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 26 98 21
  Continued capabilities:
   capClickPad: 1
   capDeluxeLEDs: 0
   noAbsoluteFilter: 0
   capReportsV: 1
   capUniformClickPad: 0
   capReportsMin: 1
   capInterTouch: 1
   capReportsMax: 1
   capClearPad: 0
   capAdvancedGestures: 0
   capCoveredPad: 0
   maximumXCoord: 5712
   maximumYCoord: 4780
   minimumXCoord: 1232
   minimumYCoord: 1074
  Additional Buttons: 4
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 33 03 40
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
psm: setting pass-through mode.
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: turning pass-through mode off.
psm: SET_SCALING21 return code:00fa
psm: SET_SCALING11 return code:00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_RESOLUTION (1) 00fa
psm: SET_SAMPLING_RATE (20) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (0) 00fa
psm: SET_RESOLUTION (3) 00fa
psm: SET_SAMPLING_RATE (200) 00fa
synaptics: END init (7 buttons)
psm0: found Synaptics Touchpad
psm: SET_RESOLUTION (2) 00fa
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0-00, 7 buttons
psm0: config:00004000, flags:00000008, packet size:6
psm0: syncmask:c0, syncbits:00

------

Clicking the three hardware buttons (one by one, in order) produces this:
psm0: lost interrupt?
psmintr: 80 00 00 c2 01 00
psmintr: 80 00 00 c0 00 00
last message repeated 12 times
psmintr: 80 00 00 c2 00 00
psmintr: 80 00 00 c0 00 00
last message repeated 79 times
psmintr: 80 00 00 c2 02 00
psmintr: 80 00 00 c0 00 00
last message repeated 15 times
psmintr: 80 00 00 c2 00 00
psmintr: 80 00 00 c0 00 00
last message repeated 79 times
psmintr: 80 00 00 c2 00 01
psmintr: 80 00 00 c0 00 00
last message repeated 8 times
psmintr: 80 00 00 c2 00 00
psmintr: 80 00 00 c0 00 00

----

Even not touching the touchpad, button or trackpoint produces a lot of psm0:
lost interrupt?

Even the keyboard starts acting funny, and eventually the trackpoint/touchpad
stops functioning altogether, with the following messages:
psmintr: out of sync (0000 != 0080) 845 cmds since last error.
psmintr: discard a byte (1)
psmintr: b4 80 00 00 c0 00
psmintr: 00 84 18 00 c4 fe
psmintr: out of sync (0000 != 0080) 0 cmds since last error.
psmintr: reset the mouse.
psm0: current command byte: 0047 (reinitialize).
psm: DISABLE_DEV return code:00fa
psm0: failed to reset the aux device.
psm0: the aux device has gone! (reinitialize).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-mobile mailing list