Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 10:58:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225338] psm: Elantech touchpad in Gigabyte Aero 15X is recognized but doesn't work
Message-ID:  <bug-225338-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225338

            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@FreeBSD.org
          Reporter: dumbbell@FreeBSD.org

The Elantech touchpad in a Gigabyte Aero 15X laptop is recognized properly
after setting `hw.psm.elantech_support=3D1` 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 !=3D 0004) 1 cmds since last error.
    kernel: psmintr: discard a byte (1)
    kernel: psmintr: out of sync (0000 !=3D 0004) 0 cmds since last error.
    kernel: psmintr: discard a byte (2)
    kernel: psmintr: out of sync (0000 !=3D 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225338-8>