Elantech touchpad v.4. is detected but not responsive by Freebsd 14.2 stable nor by Xorg

Hi I recently accuired a 4 years old Fujitsu Celsius H7510 with Nvidia Quadro T1000 and an Elantech touchpad.
the Machine has i7-10850H CometLake CPU. I did BuildWorld and BuildKernel with March=Skylake
on a fresh set of stable/14 sources last week, so laptop has no issues with FreeBSD.

freeBSD h7510 14.2-STABLE FreeBSD 14.2-STABLE stable/14-n270226-6a0afbcbf6a0 H7510 amd64


I spent a few evenings googling up what could be the cause for the Elantech touchpad not reacting to input.
A standard Mouse works. removing the Mouse and rebooting doesnt make the touchpad work.
Below are the relevant configuratins and logfiles


A a few dozens of lines like these ends up in DMESG BOOT_VERBOSE output each time the Touchpad is touched.
so its not dead , it is is not initialized properly maybe ....
Xorg finds the unit , but cursor doesn't move on the screen ....

Grateful for any pointers .

//Lars

Code:
psmintr: 80 3a e5 31 b3 9f
elantech: packet rejected
psmintr: 70 3a ea 31 83 a0
elantech: packet rejected
psmintr: 70 3a f0 31 43 a0
elantech: packet rejected
psmintr: 70 3a f6 31 03 9f
elantech: packet rejected
psmintr: 60 2a fb 31 c3 9e
elantech: packet rejected
psmintr: 10 2a fb 31 c3 9e
elantech: packet rejected
psmintr: 00 00 00 10 00 00
elantech: packet rejected

/boot/loader.conf
Code:
aesni_load="YES"
geom_eli_load="YES"
security.bsd.allow_destructive_dtrace=0
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
boot_verbose="YES"
kern.msgbufsize=1146880
debug.psm.loglevel=5
ietp_load="YES"
ig4_load="YES"
iicbus_load="YES"
iichid_load="YES"
hw.psm.synaptics_support="0"
hw.psm.elantech_support="1"

DMESG loglevel 5 trace

Code:
psm0: unable to allocate IRQ
psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
psm0: current command byte:0067
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
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 3c 03 00
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 3c 03 00
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 3c 03 00
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 6b 7f d3
elantech: BEGIN init
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 3c 03 00
psm: SET_SCALING11 return code:00fa
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 5d 0f 02
Elantech touchpad hardware v.4 firmware v.0x5d0f02
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 41 16 0d
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 02 11 04
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 6b 7f d3
  Model information:
   MaxX:       2943
   MaxY:       1747
   DpmmX:      31
   DpmmY:      31
   TracesX:    22
   TracesY:    13
   DptraceX:   140
   DptraceY:   145
   SemiMT:     0
   Clickpad:   0
   Trackpoint: 0
   CRC:        0
   Pressure:   1
elantech: END init
psm0: found Elantech 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
---------------------------------------------
/etc/sysctl.conf
Code:
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
security.bsd.see_jail_proc=0
security.bsd.unprivileged_read_msgbuf=0
security.bsd.unprivileged_proc_debug=0
kern.randompid=1
vfs.zfs.min_auto_ashift=12
kern.evdev.rcpt_mask=12

SYSCTL dump of hw.psm.elantech: default values not initialized by me.
Code:
hw.psm.elantech.natural_scroll: 0
hw.psm.elantech.three_finger_drag: 0
hw.psm.elantech.touchpad_off: 0
hw.psm.elantech.vscroll_div_max: 50
hw.psm.elantech.vscroll_div_min: 30
hw.psm.elantech.vscroll_min_delta: 15
hw.psm.elantech.vscroll_ver_area: 0
hw.psm.elantech.vscroll_hor_area: 0
hw.psm.elantech.taphold_timeout: 125000
hw.psm.elantech.tap_min_queue: 1
hw.psm.elantech.tap_max_delta: 25
hw.psm.elantech.div_len: 30
hw.psm.elantech.div_max_na: 10
hw.psm.elantech.div_max: 6
hw.psm.elantech.div_min: 3
hw.psm.elantech.weight_len_squared: 200
hw.psm.elantech.weight_previous_na: 20
hw.psm.elantech.weight_previous: 6
hw.psm.elantech.weight_current: 3
hw.psm.elantech.multiplicator: 10000
hw.psm.elantech.window_max: 10
hw.psm.elantech.window_min: 4
hw.psm.elantech.na_left: 0
hw.psm.elantech.na_bottom: 0
hw.psm.elantech.na_right: 0
hw.psm.elantech.na_top: 0
hw.psm.elantech.margin_left: 0
hw.psm.elantech.margin_bottom: 0
hw.psm.elantech.margin_right: 0
hw.psm.elantech.margin_top: 0
hw.psm.elantech.max_width: 7
hw.psm.elantech.max_pressure: 220
hw.psm.elantech.min_pressure: 1
hw.psm.elantech.two_finger_scroll: 1
hw.psm.elantech.max_y: 1747
hw.psm.elantech.max_x: 2943
hw.psm.elantech.directional_scrolls: 0

/usr/local/etc/X11/xorg.conf.d/40-libinput.conf
Code:
Section "InputClass"
        Identifier "ETPS/2 Elantech Touchpad"
        Driver "libinput"
        Option "Device" "/dev/input/event5"
        Option "AutoServerLayout" "true"
        MatchIsTouchpad "on"
EndSection

XWINDOWS xorg.0.log
Code:
   36.451] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event5)
[    36.451] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev pointer catchall"
[    36.451] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[    36.451] (**) ETPS/2 Elantech Touchpad: Applying InputClass "libinput pointer catchall"
[    36.451] (**) ETPS/2 Elantech Touchpad: Applying InputClass "libinput touchpad catchall"
[    36.451] (**) ETPS/2 Elantech Touchpad: Applying InputClass "ETPS/2 Elantech Touchpad"
[    36.451] (II) Using input driver 'libinput' for 'ETPS/2 Elantech Touchpad'
[    36.451] (**) ETPS/2 Elantech Touchpad: always reports core events
[    36.451] (**) Option "Device" "/dev/input/event5"
[    36.467] (II) event5  - ETPS/2 Elantech Touchpad: is tagged by udev as: Mouse Touchpad
[    36.475] (II) event5  - ETPS/2 Elantech Touchpad: device is a touchpad
[    36.475] (II) event5  - ETPS/2 Elantech Touchpad: device removed
[    36.510] (II) libinput: ETPS/2 Elantech Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    36.510] (II) libinput: ETPS/2 Elantech Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    36.510] (II) libinput: ETPS/2 Elantech Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    36.512] (**) Option "config_info" "udev:/dev/input/event5"
[    36.512] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 10)
[    36.515] (**) Option "AccelerationScheme" "none"
[    36.515] (**) ETPS/2 Elantech Touchpad: (accel) selected scheme none/0
[    36.515] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[    36.515] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[    36.531] (II) event5  - ETPS/2 Elantech Touchpad: is tagged by udev as: Mouse Touchpad
[    36.538] (II) event5  - ETPS/2 Elantech Touchpad: device is a touchpad
[    45.542] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    45.542] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    45.542] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[    45.542] (--) NVIDIA(GPU-0):  
[    45.542] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    45.542] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[    45.542] (--) NVIDIA(GPU-0): DFP-1: 2660.0 MHz maximum pixel clock
[    45.542] (--) NVIDIA(GPU-0):  
[    45.542] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    45.542] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    45.542] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[    45.542] (--) NVIDIA(GPU-0):  
[    45.635] (--) NVIDIA(GPU-0): LG Electronics LG HDR WQHD+ (DFP-3): connected
[    45.635] (--) NVIDIA(GPU-0): LG Electronics LG HDR WQHD+ (DFP-3): Internal TMDS
[    45.635] (--) NVIDIA(GPU-0): LG Electronics LG HDR WQHD+ (DFP-3): 600.0 MHz maximum pixel clock
[    45.635] (--) NVIDIA(GPU-0):  
[    45.635] (--) NVIDIA(GPU-0): LG Display (DFP-4): connected
[    45.635] (--) NVIDIA(GPU-0): LG Display (DFP-4): Internal DisplayPort
[    45.635] (--) NVIDIA(GPU-0): LG Display (DFP-4): 2660.0 MHz maximum pixel clock
[    45.635] (--) NVIDIA(GPU-0):  
[    45.635] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    45.635] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    45.635] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[    45.635] (--) NVIDIA(GPU-0):  
[    45.775] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    45.775] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    45.775] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[    45.775] (--) NVIDIA(GPU-0):  
[    45.775] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    45.775] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[    45.775] (--) NVIDIA(GPU-0): DFP-1: 2660.0 MHz maximum pixel clock
[    45.775] (--) NVIDIA(GPU-0):  
[    45.775] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    45.775] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    45.775] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[    45.775] (--) NVIDIA(GPU-0):  
[    45.867] (--) NVIDIA(GPU-0): LG Electronics LG HDR WQHD+ (DFP-3): connected
[    45.867] (--) NVIDIA(GPU-0): LG Electronics LG HDR WQHD+ (DFP-3): Internal TMDS
[    45.867] (--) NVIDIA(GPU-0): LG Electronics LG HDR WQHD+ (DFP-3): 600.0 MHz maximum pixel clock
[    45.867] (--) NVIDIA(GPU-0):  
[    45.867] (--) NVIDIA(GPU-0): LG Display (DFP-4): connected
[    45.867] (--) NVIDIA(GPU-0): LG Display (DFP-4): Internal DisplayPort
[    45.867] (--) NVIDIA(GPU-0): LG Display (DFP-4): 2660.0 MHz maximum pixel clock
[    45.867] (--) NVIDIA(GPU-0):  
[    45.867] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    45.867] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    45.867] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[    45.867] (--) NVIDIA(GPU-0):  
[    45.976] (II) NVIDIA(0): Setting mode "DP-4: nvidia-auto-select @1920x1080 +0+520 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-3: nvidia-auto-select @3840x1
600 +1920+0 {ViewPortIn=3840x1600, ViewPortOut=3840x1600+0+0}"
[    66.656] (II) config/udev: Adding input device vendor 0x0430 Sun USB Keyboard (/dev/input/event6)
[    66.656] (**) vendor 0x0430 Sun USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    66.656] (**) vendor 0x0430 Sun USB Keyboard: Applying InputClass "Evdev keyboard"
[    66.656] (**) vendor 0x0430 Sun USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    66.656] (II) Using input driver 'libinput' for 'vendor 0x0430 Sun USB Keyboard'
[    66.656] (**) vendor 0x0430 Sun USB Keyboard: always reports core events
[    66.656] (**) Option "Device" "/dev/input/event6"
[    66.662] (II) event6  - vendor 0x0430 Sun USB Keyboard, class 0/0, rev 2.00/1.04, addr 8: is tagged by udev as: Keyboard
[    66.662] (II) event6  - vendor 0x0430 Sun USB Keyboard, class 0/0, rev 2.00/1.04, addr 8: device is a keyboard
[    66.663] (II) event6  - vendor 0x0430 Sun USB Keyboard, class 0/0, rev 2.00/1.04, addr 8: device removed
[    66.663] (**) Option "config_info" "udev:/dev/input/event6"
[    66.663] (II) XINPUT: Adding extended input device "vendor 0x0430 Sun USB Keyboard" (type: KEYBOARD, id 11)
[    66.663] (**) Option "xkb_rules" "evdev"
[    66.665] (II) event6  - vendor 0x0430 Sun USB Keyboard, class 0/0, rev 2.00/1.04, addr 8: is tagged by udev as: Keyboard
[    66.665] (II) event6  - vendor 0x0430 Sun USB Keyboard, class 0/0, rev 2.00/1.04, addr 8: device is a keyboard
[    66.707] (II) config/udev: Adding input device vendor 0x1267 PS/2+USB Mouse (/dev/input/event7)
[    66.707] (**) vendor 0x1267 PS/2+USB Mouse: Applying InputClass "evdev pointer catchall"
[    66.707] (**) vendor 0x1267 PS/2+USB Mouse: Applying InputClass "libinput pointer catchall"
[    66.707] (II) Using input driver 'libinput' for 'vendor 0x1267 PS/2+USB Mouse'
[    66.707] (**) vendor 0x1267 PS/2+USB Mouse: always reports core events
[    66.707] (**) Option "Device" "/dev/input/event7"
[    66.713] (II) event7  - vendor 0x1267 PS/2+USB Mouse, class 0/0, rev 1.10/51.15, addr 7: is tagged by udev as: Mouse
[    66.714] (II) event7  - vendor 0x1267 PS/2+USB Mouse, class 0/0, rev 1.10/51.15, addr 7: device is a pointer
[    66.715] (II) event7  - vendor 0x1267 PS/2+USB Mouse, class 0/0, rev 1.10/51.15, addr 7: device removed
[    66.715] (II) libinput: vendor 0x1267 PS/2+USB Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    66.715] (II) libinput: vendor 0x1267 PS/2+USB Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    66.715] (II) libinput: vendor 0x1267 PS/2+USB Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    66.715] (**) Option "config_info" "udev:/dev/input/event7"
[    66.715] (II) XINPUT: Adding extended input device "vendor 0x1267 PS/2+USB Mouse" (type: MOUSE, id 12)
[    66.715] (**) Option "AccelerationScheme" "none"
[    66.716] (**) vendor 0x1267 PS/2+USB Mouse: (accel) selected scheme none/0
[    66.716] (**) vendor 0x1267 PS/2+USB Mouse: (accel) acceleration factor: 2.000
[    66.716] (**) vendor 0x1267 PS/2+USB Mouse: (accel) acceleration threshold: 4
[    66.717] (II) event7  - vendor 0x1267 PS/2+USB Mouse, class 0/0, rev 1.10/51.15, addr 7: is tagged by udev as: Mouse
[    66.717] (II) event7  - vendor 0x1267 PS/2+USB Mouse, class 0/0, rev 1.10/51.15, addr 7: device is a pointer
[   399.505] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   399.505] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   399.505] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   399.505] (--) NVIDIA(GPU-0):  
[   400.275] (II) NVIDIA(0): Setting mode "DP-4: nvidia-auto-select @1920x1080 +0+520 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
[   401.247] (II) NVIDIA(0): Setting mode "DP-4: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
 
Back
Top