WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: synaptics driver for Xorg not working in TC16 x64  (Read 1249 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
synaptics driver for Xorg not working in TC16 x64
« on: May 24, 2025, 05:05:11 AM »
Hi, a little help please, to make my touch-pad to work with two fingers for scroll vertical + horizontal, double click/tap etc.
My touch-pad is flat (aka click-pad, no buttons) and works perfectly in windows11.
In Tinycore16_x64 with Xorg-7.7-3D, it works primitively, I can just select + navigate, but no many gestures (edge V+H navigation, etc).

I checked its properties seen by libinput, using xinput, but there are no useful options.Using Xinput is near useless, because there are NONE of options for tap, double click etc for ID=10 or ID=11
Code: [Select]
tc@box:~$ xinput
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   â†³ Virtual core XTEST pointer                    id=4    [slave  pointer  (2)]
⎜   â†³ Microsoft  Microsoft Basic Optical Mouse v2.0         id=9    [slave  pointer  (2)]
⎜   â†³ SYNA32E0:00 06CB:CE17 Mouse                   id=10   [slave  pointer  (2)]
⎜   â†³ SYNA32E0:00 06CB:CE17 Touchpad                id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                     id=5    [slave  keyboard (3)]
    ↳ Power Button                                    id=6    [slave  keyboard (3)]
    ↳ Power Button                                    id=8    [slave  keyboard (3)]
    ↳ Video Bus                                       id=7    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                    id=12   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                                  id=13   [slave  keyboard (3)]
tc@box:~$
Code: [Select]
tc@box:~$ xinput list-props 10
Device 'SYNA32E0:00 06CB:CE17 Mouse':
        Device Enabled (177):   1
        Coordinate Transformation Matrix (179): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (315):       0
        libinput Natural Scrolling Enabled Default (316):       0
        libinput Scroll Methods Available (317):        0, 0, 1
        libinput Scroll Method Enabled (318):   0, 0, 0
        libinput Scroll Method Enabled Default (319):   0, 0, 0
        libinput Button Scrolling Button (320): 3
        libinput Button Scrolling Button Default (321): 3
        libinput Button Scrolling Button Lock Enabled (322):    0
        libinput Button Scrolling Button Lock Enabled Default (323):    0
        libinput Rotation Angle (298):  0.000000
        libinput Rotation Angle Default (299):  0.000000
        libinput Accel Speed (326):     0.000000
        libinput Accel Speed Default (327):     0.000000
        libinput Accel Profiles Available (328):        1, 1
        libinput Accel Profile Enabled (329):   1, 0
        libinput Accel Profile Enabled Default (330):   1, 0
        libinput Left Handed Enabled (331):     0
        libinput Left Handed Enabled Default (332):     0
        libinput Send Events Modes Available (300):     1, 0
        libinput Send Events Mode Enabled (301):        0, 0
        libinput Send Events Mode Enabled Default (302):        0, 0
        Device Node (303):      "/dev/input/event7"
        Device Product ID (304):        1739, 52759
        libinput Drag Lock Buttons (333):       <no items>
        libinput Horizontal Scroll Enabled (334):       1
        libinput Scrolling Pixel Distance (335):        15
        libinput Scrolling Pixel Distance Default (336):        15
tc@box:~$ xinput list-props 11
Device 'SYNA32E0:00 06CB:CE17 Touchpad':
        Device Enabled (177):   1
        Coordinate Transformation Matrix (179): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Rotation Angle (298):  0.000000
        libinput Rotation Angle Default (299):  0.000000
        libinput Calibration Matrix (339):      1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Calibration Matrix Default (340):      1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (300):     1, 0
        libinput Send Events Mode Enabled (301):        0, 0
        libinput Send Events Mode Enabled Default (302):        0, 0
        Device Node (303):      "/dev/input/event8"
        Device Product ID (304):        1739, 52759
tc@box:~$

Then I try manually install synaptic driver, from Archlinux. I check it to be in proper folder, proper configuration, proper dependencies.

Code: [Select]
tc@box:~$ ls -l /usr/local/lib/xorg/modules/input/
total 80
lrwxrwxrwx    1 root     root            73 May 24 10:03 inputtest_drv.so -> /tmp/tcloop/xorg-server/usr/local/lib/xorg/modules/input/inputtest_drv.so
lrwxrwxrwx    1 root     root            80 May 24 10:03 libinput_drv.so -> /tmp/tcloop/xf86-input-libinput/usr/local/lib/xorg/modules/input/libinput_drv.so
-rwxr-xr-x    1 root     root         80320 May 24 10:07 synaptics_drv.so
tc@box:~$
tc@box:~$ ldd /usr/local/lib/xorg/modules/input/synaptics_drv.so
        linux-vdso.so.1 (0x00007fdfdc9b9000)
        libevdev.so.2 => /usr/local/lib/libevdev.so.2 (0x00007fdfdc979000)
        libm.so.6 => /lib/libm.so.6 (0x00007fdfdc8b5000)
        libc.so.6 => /lib/libc.so.6 (0x00007fdfdc720000)
        /lib/ld-linux-x86-64.so.2 (0x00007fdfdc9bb000)
tc@box:~$
Code: [Select]
tc@box:~$ cat /etc/X11/xorg.conf.d/70-synaptics.conf
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
    Identifier "MySynaptics"
    Driver "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option  "VertScrollDelta"  "-111"
        Option  "HorizScrollDelta" "-111"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "30"
        Option "FingerHigh" "50"
        Option "MaxTapTime" "125"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

But Xorg does NOT see/use it. libinput take precedence all the time.
Code: [Select]
tc@box:~$ cat /var/log/Xorg.0.log | grep -i synap
tc@box:~$ cat /var/log/Xorg.0.log | grep -i MyS
tc@box:~$

tc@box:~$ cat /var/log/Xorg.0.log | grep SYNA3
[   786.910] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Mouse (/dev/input/event7)
[   786.910] (**) SYNA32E0:00 06CB:CE17 Mouse: Applying InputClass "libinput pointer catchall"
[   786.910] (**) SYNA32E0:00 06CB:CE17 Mouse: Applying InputClass "MyMouse"
[   786.910] (II) Using input driver 'libinput' for 'SYNA32E0:00 06CB:CE17 Mouse'
[   786.910] (**) SYNA32E0:00 06CB:CE17 Mouse: always reports core events
[   786.911] (II) event7  - SYNA32E0:00 06CB:CE17 Mouse: is tagged by udev as: Mouse
[   786.911] (II) event7  - SYNA32E0:00 06CB:CE17 Mouse: device is a pointer
[   786.911] (II) event7  - SYNA32E0:00 06CB:CE17 Mouse: device removed
[   786.973] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7/event7"
[   786.973] (II) XINPUT: Adding extended input device "SYNA32E0:00 06CB:CE17 Mouse" (type: MOUSE, id 10)
[   786.973] (**) SYNA32E0:00 06CB:CE17 Mouse: (accel) selected scheme none/0
[   786.974] (**) SYNA32E0:00 06CB:CE17 Mouse: (accel) acceleration factor: 2.000
[   786.974] (**) SYNA32E0:00 06CB:CE17 Mouse: (accel) acceleration threshold: 4
[   786.975] (II) event7  - SYNA32E0:00 06CB:CE17 Mouse: is tagged by udev as: Mouse
[   786.975] (II) event7  - SYNA32E0:00 06CB:CE17 Mouse: device is a pointer
[   786.976] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Mouse (/dev/input/mouse1)
[   786.976] (**) SYNA32E0:00 06CB:CE17 Mouse: Applying InputClass "MyMouse"
[   786.976] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Touchpad (/dev/input/event8)
[   786.976] (**) SYNA32E0:00 06CB:CE17 Touchpad: Applying InputClass "libinput touchscreen catchall"
[   786.976] (II) Using input driver 'libinput' for 'SYNA32E0:00 06CB:CE17 Touchpad'
[   786.976] (**) SYNA32E0:00 06CB:CE17 Touchpad: always reports core events
[   786.977] (II) event8  - SYNA32E0:00 06CB:CE17 Touchpad: is tagged by udev as: Touchscreen
[   786.977] (II) event8  - SYNA32E0:00 06CB:CE17 Touchpad: device is a touch device
[   786.977] (II) event8  - SYNA32E0:00 06CB:CE17 Touchpad: device removed
[   787.046] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8/event8"
[   787.046] (II) XINPUT: Adding extended input device "SYNA32E0:00 06CB:CE17 Touchpad" (type: TOUCHSCREEN, id 11)
[   787.047] (**) SYNA32E0:00 06CB:CE17 Touchpad: (accel) selected scheme none/0
[   787.047] (**) SYNA32E0:00 06CB:CE17 Touchpad: (accel) acceleration factor: 2.000
[   787.047] (**) SYNA32E0:00 06CB:CE17 Touchpad: (accel) acceleration threshold: 4
[   787.048] (II) event8  - SYNA32E0:00 06CB:CE17 Touchpad: is tagged by udev as: Touchscreen
[   787.048] (II) event8  - SYNA32E0:00 06CB:CE17 Touchpad: device is a touch device
[   787.049] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Touchpad (/dev/input/mouse2)
[   787.490] (II) event7  - SYNA32E0:00 06CB:CE17 Mouse: device removed
[   787.523] (II) event8  - SYNA32E0:00 06CB:CE17 Touchpad: device removed
tc@box:~$

Maybe Xorg was not compiled for this driver, or I have a bug in firmware, because Synaptic is seen both as mouse and as a touch-pad.
I do not know how to tame udev & xorg to see it only as a touch-pad.
Code: [Select]
tc@box:~$ dmesg | grep -i syn
[    1.199343] usbcore: registered new interface driver synaptics_usb
[  166.264675] input: SYNA32E0:00 06CB:CE17 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7
[  166.265428] input: SYNA32E0:00 06CB:CE17 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8
[  166.266197] hid-generic 0018:06CB:CE17.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA32E0:00 06CB:CE17] on i2c-SYNA32E0:00
tc@box:~$



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15174
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #1 on: May 24, 2025, 05:41:02 AM »
I'm surprised that there's not a way to better configure your touchpad with libinput.

Are any of /usr/local/lib/libinput/libinput-* useful in analysing what's available to adjust with libinput.

I'm not sure if the synaptics driver will work with libinput - you could try building xf86-input-evdev and using the synaptics driver with that instead of using xf86-input-libinput.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #2 on: May 24, 2025, 11:07:35 AM »
@Juanito: Thanks, I will try to grab also the xf86-input-evdev from Archlinux, So I will delete xf86-input-libinput and use only the combination of xf86-input-evdev (for mouse) and synaptic (for touch-pad). As a last resort I will try replacing the Xorg-3D with one from Arch-Linux (or CachyOS) as they have ALL xf86-input* drivers. If I have any progress (useful for TC users)) I will let you know to mark this subject as closed.

It will be welcome if Tinycore team will allow the users the option the have those two input drivers for Xorg in the tcz list in the future (as it was in the past versions, until TC14).
« Last Edit: May 24, 2025, 11:10:19 AM by nick65go »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15174
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #3 on: May 24, 2025, 11:16:43 AM »
It’s xorg-server that uses xf86-input* and xf86-video* so using xf86-input-evdev from another distro will only work if they have the same major version of xorg-server as tinycore.

xf86-input-evdev is easy to compile on tinycore.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #4 on: May 24, 2025, 11:24:06 AM »
Thanks, I never compiled something in/on Tinycore until now; I am not in this business to compile as a user  :( ; Sorry for me in year 2025 is split: work or abandon the distro if too much not customizable / functional without compile.

BTW, in TC wit minimal xorg-3d + firmware:
Code: [Select]
tc@box:~$ ls -al /usr/local/lib/libinput*
ls: /usr/local/lib/libinput*: No such file or directory
tc@box:~$

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12126
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #5 on: May 24, 2025, 11:39:03 AM »
Hi nick65go
... But Xorg does NOT see/use it. libinput take precedence all the time. ...
I read that someone got it to work by changing this:
Code: [Select]
/usr/local/share/X11/xorg.conf.d/40-libinput.conf
/usr/local/share/X11/xorg.conf.d/70-synaptics.conf

to this:
Code: [Select]
/usr/local/share/X11/xorg.conf.d/30-synaptics.conf
/usr/local/share/X11/xorg.conf.d/70-libinput.conf

... BTW, in TC wit minimal xorg-3d + firmware:
Code: [Select]
tc@box:~$ ls -al /usr/local/lib/libinput*
ls: /usr/local/lib/libinput*: No such file or directory
tc@box:~$
Try:
Code: [Select]
ls -al /usr/local/bin/libinput*

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #6 on: May 24, 2025, 11:51:54 AM »
OK, I installed libinput tools:
Code: [Select]
tc@box:~$ tce-load -i libinput
libinput is already installed!
tc@box:~$ sudo /usr/local/lib/libinput/libinput-list-devices
..
Device:           SYNA32E0:00 06CB:CE17 Mouse
Kernel:           /dev/input/event7
Group:            5
Seat:             seat0, default
Capabilities:     pointer
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           SYNA32E0:00 06CB:CE17 Touchpad
Kernel:           /dev/input/event8
Group:            5
Seat:             seat0, default
Size:             111x69mm
Capabilities:     touch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0
...
tc@box:~$
no news about synaptic capabilities to enable.
I will try re-number *conf (as Rich suggested) and move all in the same folder (not /etc/X11/xorg.conf.d); out of Xorg, logout tc user; and come back here.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #7 on: May 24, 2025, 12:10:49 PM »
hm, no news, xorg is still stubborn:
Code: [Select]
tc@box:~$ ls -al /etc/X11/xorg.conf.d/
total 0
drwxr-xr-x    2 tc       staff           40 May 24 18:02 ./
drwxr-xr-x    3 root     root            60 May 24 15:24 ../
Code: [Select]
tc@box:~$ ls -al /usr/local/share/X11/xorg.conf.d/
total 4
drwxr-xr-x    2 root     root           100 May 24 18:03 ./
drwxr-xr-x    6 root     root           200 Jan 27  2022 ../
lrwxrwxrwx    1 root     root            70 May 24 18:00 10-quirks.conf -> /tmp/tcloop/xorg-server/usr/local/share/X11/xorg.conf.d/10-quirks.conf
-rw-r--r--    1 tc       staff         3109 May 24 10:09 30-synaptics.conf
lrwxrwxrwx    1 root     root            80 May 24 18:02 70-libinput.conf -> /tmp/tcloop/xf86-input-libinput/usr/local/share/X11/xorg.conf.d/40-libinput.conf
tc@box:~$
Code: [Select]
[  9749.364] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May 24 18:07:14 2025
[  9749.364] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[  9749.364] (==) No Layout section.  Using the first Screen section.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #8 on: May 24, 2025, 12:21:56 PM »
it seams that I may be lucky with Achlinux:
https://archlinux.org/packages/extra/x86_64/xorg-server/ has "xorg-server 21.1.16-1" and TC16 has
Code: [Select]
[  9749.364]
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
[  9749.364] Current Operating System: Linux box 6.12.11-tinycore64 #1 SMP Sun Jan 26 16:50:13 UTC 2025 x86_64
[  9749.364] Kernel command line: BOOT_IMAGE=(hd0,3)/boot/vmlinuz64 tce=nvme0n1p4/tce
[  9749.364] 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15174
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #9 on: May 24, 2025, 12:22:57 PM »
BTW, in TC wit minimal xorg-3d + firmware:
Code: [Select]
tc@box:~$ ls -al /usr/local/lib/libinput*
ls: /usr/local/lib/libinput*: No such file or directory
tc@box:~$

I said /usr/local/lib/libinput/libinput* 🙂

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #10 on: May 24, 2025, 12:32:30 PM »
[I said /usr/local/lib/libinput/libinput* 🙂
Right, unfortunately libinput.tcz was not loaded at that moment, so no folder was available to see from Xfe file-manager. I loaded later then, and I posted the results. Not much to play with.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #11 on: May 24, 2025, 02:33:45 PM »
Some advances: It seams my problem is because the same PHYSICAL device (SYNA32E0:00 06CB:CE17)  is seen as TWO devices (input7 and input8).
Code: [Select]
tc@box:~$ dmesg | grep input
[    0.620881] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    0.620907] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[    0.620932] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    1.196134] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    1.381481] input: PC Speaker as /devices/platform/pcspkr/input/input4
[    2.132629] input: HP WMI hotkeys as /devices/virtual/input/input5
[    7.464439] input: Microsoft  Microsoft Basic Optical Mouse v2.0  as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:045E:00CB.0001/input/input6
[    7.464664] hid-generic 0003:045E:00CB.0001: input,hidraw0: USB HID v1.11 Mouse [Microsoft  Microsoft Basic Optical Mouse v2.0 ] on usb-0000:00:14.0-4/input0
[ 1185.738065] input: SYNA32E0:00 06CB:CE17 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7
[ 1185.739084] input: SYNA32E0:00 06CB:CE17 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8
[ 1185.740026] hid-generic 0018:06CB:CE17.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA32E0:00 06CB:CE17] on i2c-SYNA32E0:00
[ 1186.965940] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input10
tc@box:~$

And each is a different CLASS (one is mouse, other is touch-pad).
I successfully added the xf86-input drivers "edev" and "synaptics" from ArchLinux. All dependencies are satisfied.
Now is just a problem of wrong configuration *.conf, because Xorg server see evdev only, no synaptics anywhere loaded.
Code: [Select]
  3086.457] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Mouse (/dev/input/event7)
[  3086.457] (**) SYNA32E0:00 06CB:CE17 Mouse: Applying InputClass "MyMouse"
[  3086.457] (II) Using input driver 'evdev' for 'SYNA32E0:00 06CB:CE17 Mouse'
[  3086.457] (**) SYNA32E0:00 06CB:CE17 Mouse: always reports core events
[  3086.457] (**) evdev: SYNA32E0:00 06CB:CE17 Mouse: Device: "/dev/input/event7"
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Mouse: Vendor 0x6cb Product 0xce17
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Mouse: Found 3 mouse buttons
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Mouse: Found relative axes
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Mouse: Found x and y relative axes
[  3086.457] (II) evdev: SYNA32E0:00 06CB:CE17 Mouse: Configuring as mouse
[  3086.457] (**) evdev: SYNA32E0:00 06CB:CE17 Mouse: YAxisMapping: buttons 4 and 5
[  3086.457] (**) evdev: SYNA32E0:00 06CB:CE17 Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3086.457] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7/event7"
[  3086.457] (II) XINPUT: Adding extended input device "SYNA32E0:00 06CB:CE17 Mouse" (type: MOUSE, id 10)
Code: [Select]
[  3086.457] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Touchpad (/dev/input/event8)
[  3086.457] (**) SYNA32E0:00 06CB:CE17 Touchpad: Applying InputClass "touchscreen catchall"
[  3086.457] (II) Using input driver 'evdev' for 'SYNA32E0:00 06CB:CE17 Touchpad'
[  3086.457] (**) SYNA32E0:00 06CB:CE17 Touchpad: always reports core events
[  3086.457] (**) evdev: SYNA32E0:00 06CB:CE17 Touchpad: Device: "/dev/input/event8"
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Touchpad: Vendor 0x6cb Product 0xce17
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Touchpad: Found 1 mouse buttons
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Touchpad: Found absolute axes
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Touchpad: Found x and y absolute axes
[  3086.457] (--) evdev: SYNA32E0:00 06CB:CE17 Touchpad: Found absolute touchscreen
[  3086.457] (II) evdev: SYNA32E0:00 06CB:CE17 Touchpad: Configuring as touchscreen
[  3086.457] (**) evdev: SYNA32E0:00 06CB:CE17 Touchpad: YAxisMapping: buttons 4 and 5
[  3086.457] (**) evdev: SYNA32E0:00 06CB:CE17 Touchpad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3086.457] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8/event8"
[  3086.457] (II) XINPUT: Adding extended input device "SYNA32E0:00 06CB:CE17 Touchpad" (type: TOUCHSCREEN, id 11)
So, id=10 aka event7 aka class=Mouse aka type: MOUSE, should be take over by Synaptics ?
or id=11 aka event8 aka class=Touchpad aka type TOUCHSCREEN ??

I think I need to change for 30-synaptics.conf;  the MatchIs*, or mabe to say event7 or add MatchDevice something SYNA* ?
Code: [Select]
Section "InputClass"
    Identifier "MySynaptics"
    Driver "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "30"
        Option "FingerHigh" "50"
        Option "MaxTapTime" "125"
EndSection

And maybe to forbid also in 20-edev.conf this device SYNA* ?
Code: [Select]
Section "InputClass"
        Identifier "MyMouse"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "MyKeyboard"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "MyIgnore"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
    Option "ignore" "on"
EndSection

Section "InputClass"
        Identifier "touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #12 on: May 24, 2025, 05:45:59 PM »
in the mean time I must read the Xorg possible parameters [INPUTCLASS SECTION] from
https://man.archlinux.org/man/xorg.conf.5

FYI: and other (maybe obsolete) things like:
i8042.nomux=1 in kernel parameters ?
or unload i2c-hid module ?

BTW: I do not have a touch screen, as udev/evdev wrongly classified my touchpad.
hm, so much trouble for a MATURE driver (synaptics) that worked (and should work) out of the box. if libinput not tried to reinvent the wheel -- because pushing for wayland instead of xorg server
« Last Edit: May 24, 2025, 05:47:58 PM by nick65go »

Offline nick65go

  • Hero Member
  • *****
  • Posts: 890
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #13 on: May 24, 2025, 09:42:04 PM »
I think I can not solve it with the actual Xorg. Because after few changes for 20-evdev.conf (add MatchProduct "SYNA") I can see synaptics loaded but with a protocol error and Xorg frozen.
I barely get in tty1 (with Crtl+Alt+F1) to just save the log. Trying to kill xorg and its lock, but later the console also frozen.
Code: [Select]
Section "InputClass"
        Identifier "MyMouse"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
    MatchProduct "SYNA"
    Driver "synaptics"
EndSection

Section "InputClass"
        Identifier "touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
    MatchProduct "SYNA"
    Driver "synaptics"
EndSection
Code: [Select]
[  1807.719] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Mouse (/dev/input/event7)
[  1807.719] (**) SYNA32E0:00 06CB:CE17 Mouse: Applying InputClass "MyMouse"
[  1807.719] (II) LoadModule: "synaptics"
[  1807.719] (II) Loading /usr/local/lib/xorg/modules/input/synaptics_drv.so
[  1807.719] (II) Module synaptics: vendor="X.Org Foundation"
[  1807.719]     compiled for 1.21.1.15, module version = 1.10.0
[  1807.719]     Module class: X.Org XInput Driver
[  1807.719]     ABI class: X.Org XInput driver, version 24.4
[  1807.719] (II) Using input driver 'synaptics' for 'SYNA32E0:00 06CB:CE17 Mouse'
[  1807.719] (**) SYNA32E0:00 06CB:CE17 Mouse: always reports core events
[  1807.719] (**) Option "Device" "/dev/input/event7"
[  1807.793] (EE) synaptics: SYNA32E0:00 06CB:CE17 Mouse: Synaptics driver unable to detect protocol
[  1807.793] (EE) PreInit returned 11 for "SYNA32E0:00 06CB:CE17 Mouse"
[  1807.793] (II) UnloadModule: "synaptics"
Code: [Select]
[  1807.794] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Touchpad (/dev/input/event8)
[  1807.794] (**) SYNA32E0:00 06CB:CE17 Touchpad: Applying InputClass "touchscreen catchall"
[  1807.794] (II) Using input driver 'synaptics' for 'SYNA32E0:00 06CB:CE17 Touchpad'
[  1807.794] (**) SYNA32E0:00 06CB:CE17 Touchpad: always reports core events
[  1807.794] (**) Option "Device" "/dev/input/event8"
[  1807.846] (EE) synaptics: SYNA32E0:00 06CB:CE17 Touchpad: Synaptics driver unable to detect protocol
[  1807.846] (EE) PreInit returned 11 for "SYNA32E0:00 06CB:CE17 Touchpad"
[  1807.846] (II) UnloadModule: "synaptics"


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15174
Re: synaptics driver for Xorg not working in TC16 x64
« Reply #14 on: May 25, 2025, 04:24:36 AM »
libevdev updated, xf86-input-evdev and xf86-input-synaptics added to x86_64 16.x repo - perhaps you could test.

I still think there must be a way to use libinput/xf86-input-libinput, it would be interesting to see how your hardware works and what libinput reports with a wayland compositor like weston or labwc