The touchpad only works when waking from sleep mode.

As the post title says, for the touchpad to work when logging in, I have to press Ctrl+Alt+T to open a terminal and use `sudo zzz` to enter sleep mode, wait a few seconds and press Enter to wake from sleep – only then does the touchpad start to move/work.

The device is I2C/SMBus. → Ryzen 5 3500U

Code:
$ uname -aU
FreeBSD freebsd 15.1-RELEASE-p2 FreeBSD 15.1-RELEASE-p2 releng/15.1-n283596-aadd58dddcbc GENERIC amd64 1501000

Code:
$ cat /usr/local/etc/X11/xorg.conf.d/touchpad.conf
Section "InputDevice"
 Identifier "Touchpad"
 Driver "libinput"
 Option "Device" "/dev/input/event*"
 Option "AutoServerLayout" "true"
 Option "Tapping" "on"
EndSection

Code:
$ cat /usr/local/etc/X11/xorg.conf.d/90-touchpad.conf
Section "InputClass"
        Identifier "touchpad"
        MatchIsTouchpad "on"
        Driver "libinput"
        Option "Tapping" "on"
EndSection

Code:
$ cat /boot/loader.conf
amdtemp_load="YES"

iicbus_load="YES"
iic_load="YES"
smbus_load="YES"
iichid_load="YES"
ietp_load="YES"
hw.usb.usbhid.enable="1"
alpm_load="YES"
ums_load="YES"
hms_load="YES"
ig4iic_load="YES"
snd_hda_load="YES"
hw.psm.elantech_support="1"
hw.psm.synaptics_support="0"


Code:
$ xinput
⎡ Virtual core pointer                                                      id=2     [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                                     id=4     [slave  pointer  (2)]
⎜   ↳ System mouse                                                       id=7     [slave  pointer  (2)]
⎜   ↳ PNP0C50:01 347D:C007 TouchPad                        id=12    [slave  pointer  (2)]
⎣ Virtual core keyboard                                                  id=3     [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                                  id=5     [slave  keyboard (3)]
    ↳ System keyboard multiplexer                                id=6      [slave  keyboard (3)]
    ↳ Power Button                                                         id=8      [slave  keyboard (3)]
    ↳ PNP0C50:01 347D:C007 Keyboard                        id=10    [slave  keyboard (3)]
    ↳ AT keyboard                                                          id=11    [slave  keyboard (3)]
    ↳ PNP0C50:01 347D:C007 Consumer Control          id=13    [slave  keyboard (3)]
∼ PNP0C50:01 347D:C007 Mouse                                id=9      [floating slave]


Code:
$ cat /etc/sysctl.conf

hw.psm.tap_timeout=0
kern.evdev.rcpt_mask=12

hw.snd.default_unit=1

Code:
$ dmesg
hmt0: <PNP0C50:01 347D:C007 TouchPad> on hidbus0
hconf0: <PNP0C50:01 347D:C007 Configuration> on hidbus0
hmt0: Multitouch touchpad with 2 external buttons, click-pad
hmt0: 5 contacts with [C] properties. Report range [0:0] - [1749:1038]
hcons0: <PNP0C50:01 347D:C007 Consumer Control> on hidbus0


Many thanks in advance!
 
Back
Top