[Bug 225338] psm: Elantech touchpad in Gigabyte Aero 15X is recognized but doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 20 10:58:11 UTC 2018


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

            Bug ID: 225338
           Summary: psm: Elantech touchpad in Gigabyte Aero 15X is
                    recognized but doesn't work
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dumbbell at FreeBSD.org

The Elantech touchpad in a Gigabyte Aero 15X laptop is recognized properly
after setting `hw.psm.elantech_support=1` in /boot/loader.conf:

    kernel: Elantech touchpad hardware v.4 firmware v.0x595f00
    kernel:   Model information:
    kernel:    MaxX:       3188
    kernel:    MaxY:       2085
    kernel:    DpmmX:      31
    kernel:    DpmmY:      31
    kernel:    TracesX:    21
    kernel:    TracesY:    14
    kernel:    DptraceX:   159
    kernel:    DptraceY:   160
    kernel:    SemiMT:     0
    kernel:    Clickpad:   1
    kernel:    Trackpoint: 0
    kernel:    CRC:        1
    kernel:    Pressure:   1
    kernel: psm0: found Elantech Touchpad
    kernel: psm0: model Elantech Touchpad, device ID 0-00, 3 buttons
    kernel: psm0: config:00004100, flags:00000008, packet size:6
    kernel: psm0: syncmask:04, syncbits:00

However, when I try to use it, the cursor doesn't move and clicks are not
reported. The touchpad is reinitialized after each move/touch event because
packets are apparently out-of-sync:

    kernel: psmintr: out of sync (0000 != 0004) 1 cmds since last error.
    kernel: psmintr: discard a byte (1)
    kernel: psmintr: out of sync (0000 != 0004) 0 cmds since last error.
    kernel: psmintr: discard a byte (2)
    kernel: psmintr: out of sync (0000 != 0004) 0 cmds since last error.
    kernel: psmintr: reset the mouse.

According to the psm(4) source code, the problem is that we check sync even
though we should skip it when CRC is supported.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list