Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: nick65go 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
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:~$
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.
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:~$
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.
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.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:~$
-
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.
-
@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).
-
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.
-
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:tc@box:~$ ls -al /usr/local/lib/libinput*
ls: /usr/local/lib/libinput*: No such file or directory
tc@box:~$
-
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:
/usr/local/share/X11/xorg.conf.d/40-libinput.conf
/usr/local/share/X11/xorg.conf.d/70-synaptics.conf
to this:
/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:tc@box:~$ ls -al /usr/local/lib/libinput*
ls: /usr/local/lib/libinput*: No such file or directory
tc@box:~$
Try:
ls -al /usr/local/bin/libinput*
-
OK, I installed libinput tools:
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.
-
hm, no news, xorg is still stubborn:
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 ../
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:~$
[ 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.
-
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[ 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]
-
BTW, in TC wit minimal xorg-3d + firmware: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* 🙂
-
[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.
-
Some advances: It seams my problem is because the same PHYSICAL device (SYNA32E0:00 06CB:CE17) is seen as TWO devices (input7 and input8).
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.
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)
[ 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* ?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* ?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
-
in the mean time I must read the Xorg possible parameters [INPUTCLASS SECTION] from
https://man.archlinux.org/man/xorg.conf.5 (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
-
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.
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
[ 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"
[ 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"
-
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
-
@Juanito:Many thanks! I was just ready to abandon and assemble my "personal TinyCore-CachyOS" from pieces.
It is Sunday here and my wife asks for domestic things (walk in the park, etc).
I will try ASAP your new drivers. It will take some time, because TC starts virgin with Xfvdev, then I need to clean up my customization onboot etc. I will provide my feed back here.
I am also interested in testing wayland +libinput. But until now I did not know how to setup it (what to be in onboot.lst), because all TC apps were centered on Xfdev/Xorg+ fltk/flwm; so no compositors, login managers, desktop managers.
I will be happy to test what you propose, maybe someone could try to write a basic "tutorial" in TC wiki :P about this, to be wide available for all. Thanks.
-
I am also interested in testing wayland +libinput. But until now I did not know how to setup it.
Just read the info file for weston and follow the instructions.
To make things easier, you could make a one line script something like: cat weston.sh
#!/bin/sh
sudo -- seatd -g staff -n /run/seatd.sock & XDG_RUNTIME_DIR=/run/user/$(id -u) weston
Then, from a console prompt load weston and run the script. Weston includes a terminal applet similar to aterm and, as from CorePure64-16.x, the tinycore fltk applets will work without requiring xwayland.
I imagine you will need to create a weston.ini file to get the required functionality from your touchpad - there are plenty of example out there.
Note that with labwc, you can load labwc-config and it will setup a right-click menu with the various tinycore applets and any other extensions loaded.
-
OK, slowly, step by step. My first priority is a full functional touch-pad in Xorg.
Is annoying to use an external mouse + external USB-wifi rtl8xxxu (because rtw89_8852be internal Wifi random works depending when firmware loads),
No news for now; I just setup a virgin/pristine TC16_x64 grub menu, clean all my personal configuration (mydata.gz) and have a new minimum onboot.lst to have a REPRODUCIBLE and automated test environment.
NO tcz files were changed, no adds, no deletions, for now. All *.so have proper dependencies.tc@box:~$ cetc@box:/etc/sysconfig/tcedir$ cat onboot.lst
firmware-rtlwifi.tcz
firmware-wlan.tcz
firmware-i915.tcz
aterm.tcz
wbar.tcz
flwm.tcz
graphics-6.12.11-tinycore64.tcz
Xorg-7.7-3d.tcz
xf86-input-synaptics.tcz
xf86-input-evdev.tcz
tc@box:/etc/sysconfig/tcedir$
tc@box:~$ ls -al /usr/local/share/X11/xorg.conf.d/
total 0
drwxr-xr-x 2 root root 120 May 25 09:05 ./
drwxr-xr-x 6 root root 200 May 25 09:05 ../
lrwxrwxrwx 1 root root 74 May 25 15:51 10-evdev.conf -> /tmp/tcloop/xf86-input-evdev/usr/local/share/X11/xorg.conf.d/10-evdev.conf
lrwxrwxrwx 1 root root 70 May 25 15:51 10-quirks.conf -> /tmp/tcloop/xorg-server/usr/local/share/X11/xorg.conf.d/10-quirks.conf
lrwxrwxrwx 1 root root 80 May 25 15:51 40-libinput.conf -> /tmp/tcloop/xf86-input-libinput/usr/local/share/X11/xorg.conf.d/40-libinput.conf
lrwxrwxrwx 1 root root 82 May 25 15:51 70-synaptics.conf -> /tmp/tcloop/xf86-input-synaptics/usr/local/share/X11/xorg.conf.d/70-synaptics.conf
tc@box:~$
tc@box:~$ ls -al /usr/local/lib/xorg/modules/input/
total 0
drwxr-xr-x 2 root root 120 May 25 09:05 ./
drwxr-xr-x 5 root root 260 May 25 09:05 ../
lrwxrwxrwx 1 root root 74 May 25 15:51 evdev_drv.so -> /tmp/tcloop/xf86-input-evdev/usr/local/lib/xorg/modules/input/evdev_drv.so
lrwxrwxrwx 1 root root 73 May 25 15:51 inputtest_drv.so -> /tmp/tcloop/xorg-server/usr/local/lib/xorg/modules/input/inputtest_drv.so
lrwxrwxrwx 1 root root 80 May 25 15:51 libinput_drv.so -> /tmp/tcloop/xf86-input-libinput/usr/local/lib/xorg/modules/input/libinput_drv.so
lrwxrwxrwx 1 root root 82 May 25 15:51 synaptics_drv.so -> /tmp/tcloop/xf86-input-synaptics/usr/local/lib/xorg/modules/input/synaptics_drv.so
tc@box:~$
Of course libinput is useless, I will start removing libinput and change *.conf for edev + synaptics.
-
Attached is the full Xorg.0.log.gz (8 kB) to prove that I have the same protocol error, even using new recompiled synaptics.
[ 1544.538] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Mouse (/dev/input/event7)
[ 1544.538] (**) SYNA32E0:00 06CB:CE17 Mouse: Applying InputClass "HP17 pointer"
[ 1544.538] (**) SYNA32E0:00 06CB:CE17 Mouse: Applying InputClass "Default clickpad buttons"
[ 1544.538] (II) LoadModule: "synaptics"
[ 1544.538] (II) Loading /usr/local/lib/xorg/modules/input/synaptics_drv.so
[ 1544.545] (II) Module synaptics: vendor="X.Org Foundation"
[ 1544.545] compiled for 1.21.1.16, module version = 1.10.0
[ 1544.545] Module class: X.Org XInput Driver
[ 1544.545] ABI class: X.Org XInput driver, version 24.4
[ 1544.545] (II) Using input driver 'synaptics' for 'SYNA32E0:00 06CB:CE17 Mouse'
[ 1544.545] (**) SYNA32E0:00 06CB:CE17 Mouse: always reports core events
[ 1544.545] (**) Option "Device" "/dev/input/event7"
[ 1544.626] (EE) synaptics: SYNA32E0:00 06CB:CE17 Mouse: Synaptics driver unable to detect protocol
[ 1544.626] (EE) PreInit returned 11 for "SYNA32E0:00 06CB:CE17 Mouse"
[ 1544.626] (II) UnloadModule: "synaptics"
[ 1544.627] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Mouse (/dev/input/mouse1)
[ 1544.627] (II) No input driver specified, ignoring this device.
[ 1544.627] (II) This device may have been added with another device file.
[ 1544.627] (II) config/udev: Adding input device SYNA32E0:00 06CB:CE17 Touchpad (/dev/input/event8)
[ 1544.627] (**) SYNA32E0:00 06CB:CE17 Touchpad: Applying InputClass "HP17 touchscreen"
[ 1544.627] (**) SYNA32E0:00 06CB:CE17 Touchpad: Applying InputClass "Default clickpad buttons"
[ 1544.627] (II) Using input driver 'synaptics' for 'SYNA32E0:00 06CB:CE17 Touchpad'
[ 1544.627] (**) SYNA32E0:00 06CB:CE17 Touchpad: always reports core events
[ 1544.627] (**) Option "Device" "/dev/input/event8"
[ 1544.680] (EE) synaptics: SYNA32E0:00 06CB:CE17 Touchpad: Synaptics driver unable to detect protocol
[ 1544.680] (EE) PreInit returned 11 for "SYNA32E0:00 06CB:CE17 Touchpad"
[ 1544.680] (II) UnloadModule: "synaptics"
I did not have any libinput, and my changed 10-evdev,conf was:Section "InputClass"
Identifier "HP17 pointer"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "SYNA"
Driver "synaptics"
EndSection
Section "InputClass"
Identifier "HP17 touchpad"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "SYNA"
Driver "synaptics"
EndSection
Section "InputClass"
Identifier "HP17 touchscreen"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "SYNA"
Driver "synaptics"
EndSection
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
NoMatchProduct "SYNA"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
-
Did you manually edit the Xorg-7.7 dep file to remove xf86-input-libinput and add xf86-input-evdev?
-
Did you manually edit the Xorg-7.7 dep file to remove xf86-input-libinput and add xf86-input-evdev?
No *.dep file edited; just delete the simlinks from:
/usr/local/lib/xorg/modules/input/libinput_drv.so
/usr/local/share/X11/xorg.conf.d/40-libinput.conf
so xorg will not find them, and then add my modified /usr/local/share/X11/xorg.conf.d/10-evdev.conf listed in my previous post. I also listed my onboot.lst used,
I tried to keep all as virgin as possible.
-
I tried to unload all i2c* kernel drivers. when i2c_hid is removed the touch pad is dead.
after "sudo modprobe i2c_hid_acpi" it function again (as a pointer).
so i think my options are for xorg upgraded., or kernel drivers + parameters (if not them built inside), so I skim for parameters in /sys/modules (but blindly search for what?)it is crazy that my touchpad is seen by udev as touchscreen, so if firmware bug then I am toasted (but surviving).
Some old internet info, said something about kernel driver "psmouse":
tc@box:~$ sudo cat /sys/module/psmouse/parameters/synaptics_intertouch
-1
tc@box:~$
-
Wayland +labwc: from Xorg I exit in console, load labwc-config + labwc + wayland, start the script, :) All TC native apps are working. plus the xorg appls (ex: Xfe file manager).
I can NOT copy from terminal into firefox, so I run commands in terminal and save them in a text file to send here:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:15 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:15 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:15 id=8 [slave pointer (2)]
⎜ ↳ xwayland-touch:15 id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:15 id=9 [slave keyboard (3)]
Device 'Virtual core pointer':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device 'Virtual core keyboard':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device 'Virtual core XTEST pointer':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
XTEST Device (240): 1
Device 'xwayland-pointer:15':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (246): 0
Device Accel Constant Deceleration (247): 1.000000
Device Accel Adaptive Deceleration (248): 1.000000
Device Accel Velocity Scaling (249): 10.000000
Device 'xwayland-relative-pointer:15':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (246): 0
Device Accel Constant Deceleration (247): 1.000000
Device Accel Adaptive Deceleration (248): 1.000000
Device Accel Velocity Scaling (249): 10.000000
Device 'xwayland-pointer-gestures:15':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (246): 0
Device Accel Constant Deceleration (247): 1.000000
Device Accel Adaptive Deceleration (248): 1.000000
Device Accel Velocity Scaling (249): 10.000000
Device 'xwayland-keyboard:15':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device 'xwayland-touch:15':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (246): 0
Device Accel Constant Deceleration (247): 1.000000
Device Accel Adaptive Deceleration (248): 1.000000
Device Accel Velocity Scaling (249): 10.000000
firefox is misleading that is no acceleration (but is still fast)ompositing WebRender
Font Visibility Debug Info Linux Unknown - ID=tinyco
Asynchronous Pan/Zoom wheel input enabled; touch input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabledDescription Mesa Intel(R) Graphics (RPL-U)
Vendor ID 0x8086
Device ID 0xa7a1
Driver Vendor mesa/iris
Driver Version 24.1.7.0
Anyway, back to the main topic: no improvement for touchpad gestures.
-
BTW, the onboot.lst for wayland + labcw was without Xorg (no file /var/log/xorg* shows up)
firmware-rtlwifi.tcz
firmware-wlan.tcz
firmware-i915.tcz
aterm.tcz
wbar.tcz
flwm.tcz
labwc-menu-generator.tcz
labwc-config.tcz
wayland-utils.tcz
OMG: all in incredible faster in wayland+labcw versus Xorg or Xfbdev; plus I discovered the "warm water" (waybar, swaybg, wlr-randr), I would put swaybg & waybar in onboot.lst to be equivalent to out-the-box TC.
-
OMG: all in incredible faster in wayland+labcw versus Xorg or Xfbdev
That's my feeling using piCore - it definately seems faster to start - but it's not so obvious on pc hardware.
The downside, compared to Xvesa or Xfbdev is that many more extensions are required.
-
I solved it by installing a new OS in another partition;
❯ uname -a
Linux cachyos-HP17 6.14.8-2-cachyos #1 SMP PREEMPT_DYNAMIC Fri, 23 May 2025 09:41:30 +0000 x86_64 GNU/Linux
❯ xinput
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:10 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:10 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:10 id=8 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:10 id=9 [slave keyboard (3)]
Is not Xorg, but Wayland in KDE for now. And libinput works correctly by default (I just need to customize it).❯ sudo libinput list-devices
..
Device: SYNA32E0:00 06CB:CE17 Mouse
Kernel: /dev/input/event7
Id: i2c:06cb:ce17
Group: 6
Seat: seat0, default
Capabilities: pointer
Tap-to-click: n/a
Tap-and-drag: n/a
Tap button map: n/a
Tap drag lock: n/a
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: n/a
Calibration: n/a
Scroll methods: *button
Scroll button: BTN_RIGHT
Scroll button lock: disabled
Click methods: none
Clickfinger button map: n/a
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: flat *adaptive custom
Rotation: n/a
Area rectangle: n/a
Device: SYNA32E0:00 06CB:CE17 Touchpad
Kernel: /dev/input/event8
Id: i2c:06cb:ce17
Group: 6
Seat: seat0, default
Size: 111x69mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap button map: left/right/middle
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: *two-finger edge
Scroll button: n/a
Scroll button lock: n/a
Click methods: *button-areas clickfinger
Clickfinger button map: left/right/middle
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles: flat *adaptive custom
Rotation: n/a
Area rectangle: n/a
❯ sudo dmesg | grep -i input
[ 3.341028] input: SYNA32E0:00 06CB:CE17 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-12/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7
[ 3.341385] input: SYNA32E0:00 06CB:CE17 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-12/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8
[ 3.341618] hid-generic 0018:06CB:CE17.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA32E0:00 06CB:CE17] on i2c-SYNA32E0:00
So good news is that I do not have a firmware bug!
Maybe my hardware was in need for a better kernel (or modules not built-in) or updated mesa / Wayland etc. I realty do not know.
The "bad" news is that is nice but BLOATED. I do not complain too much -- I have RAM, SSD, APU resources. But I like simplicity and to understand how all assemble and work. With TC was much easy.I have a lot on my plate now, because: fish shell, KDE appl, etc. I had a long time without "integrate environment"... to much info for what I need (like LibreOffice / gnumeric, firefox, 7zip, mpv, wim, etc).
Anyway, I can provide (on demand) some output if you need it, just say what commands to issue for touch-pad bugs in current TC.
Or else, you can mark the topic as closed.
-
Hi nick65go
...
----- Snip -----
❯ sudo dmesg | grep -i input
[ 3.341028] input: SYNA32E0:00 06CB:CE17 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-12/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7
[ 3.341385] input: SYNA32E0:00 06CB:CE17 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-12/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8
[ 3.341618] hid-generic 0018:06CB:CE17.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA32E0:00 06CB:CE17] on i2c-SYNA32E0:00
...
That's the same thing TC detected according to your original post:
...
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:~$
-
Hi Rich, I agree with your observation. MY remarks are that:
1. It did not worked with Xorg + synaptics (protocol error 11)
2. It did not worked with Wayland + labwc (libinput & xinput not very useful).
3. with the new combination Kernel 6.14 + Wayland +KDE works.
I started to read about my APU (CPU+GPU): Core i5 1335U [Device ID (linux) = 0xA7A1]; it is a Raptor Lake [U= low power, 15w]. The processor is connected to PCHs (Platform Controller Hub) using an OPIO 2.0 x8 interface, the processor and PCH are packaged together on a multi-chip package.
1. So firmware is very important to setup PCH. PCH replaced south bridge, the north bridge was assimilated in CPU. Practically ALL is integrated on chip: sound, thundrebolt4, Wifi 6E, graphic acceleration, USB3, HDMI etc.
2. And kernel drivers: if they are build as modules, then they can accept parameters for initialization.
3. And server:Xorg or Wayland, needs proper input modules. Maybe Xorg synaptic is out of love with Xorg. I bet on mature Xorg, considering Wayland as forever in development. Maybe is time to change my mind.
Summary: As I said, I do not know what is the bug in the chain firmware -kernel_modules -Xorg-input_modules. But, it is a bug (for my hardware) as long as it works with other combinations.
Even if I will identify the bug component (eventually, because I did not give up on TC distro), then what? Will TC team upgrade the kernel, or the Xorg, or Mesa, or Wayland, or.. I do not think so, sorry. TC is aimed for compatibility with OLD hardware even for x64 arch. Is the break out similar with windows_NT kernel versus Win95 based on MSDOS.
-
Will TC team upgrade the kernel, or the Xorg, or Mesa, or Wayland, or.. I do not think so, sorry. TC is aimed for compatibility with OLD hardware even for x64 arch.
The many components of Xorg are barely maintained and the situation will get worse.
CorePure64 has a reasonably recent version of mesa, changes to the library structure have made me pause upgrades for the moment, but I don’t think it’s the cause of your problems.
Wayland is the latest version.
The tinycore kernel is updated every year.
You might want to check dmesg to see which versions of the relevant firmware your machine is searching for - an update to the firmware might help.
-
Hi nick65go
... 2. And kernel drivers: if they are build as modules, then they can accept parameters for initialization. ...
The kernel command line accepts module parameters regardless of whether
the module is built in or not:
vmlinuz quiet ... ModuleName.ParameterName=ParameterValue ...
Module parameters can be specified in two ways: via the kernel command line with a module name prefix, or via modprobe, e.g.:
(kernel command line) usbcore.blinkenlights=1
(modprobe command line) modprobe usbcore blinkenlights=1
Parameters for modules which are built into the kernel need to be specified on the kernel command line.
Found here:
https://github.com/torvalds/linux/blob/v6.12/Documentation/admin-guide/kernel-parameters.rst
-
@Rich: You are right, thanks for refreshing my memory. The main problem is that I do not know what to send to kernel and what module is not behaving properly ;)
@ Juanito: So I start with assumption that the TC kernel + its modules are OK, because input device (touchpad) was properly detected + its module loaded. Then I could try:
1. Teleport a new firmware from a working OS (CachyoS). If works then OK, if not continue to step2.
2. new Xorg + new synaptics, (or Xorg + new libinput) from a working OS (Archlinux, CachyoS). If works OK, if not continue to step3.
3. TC Wayland + TC libinput; because i tried only Wayland + labwc for now.
It takes time, because proper preparations before hand of tcz and dependencies, multiple re-boots, etc.
BTW; I hope is OK to love many things / persons simultaneous :) because I re-discovered a new love, is KDE (last time was in Slitaz, long time ago). It is so modern, more customizable than Gnome. And in CachyOS (no advertise is intended here) I have all I need out-of-the-box: microcode-CPU, compiled for x86-x64-v3, sound analog+HDMI, WiFI, blue-tooth, F1-F12 key working (brightness, mute) etc. The F1-F12 were not working in TC16-x64, but I did no reported because was a minor annoyance versus touchpad.
PS: I hope that the libc & co. will not kill my plans, because symbols not found in lib dependencies. Any plan is perfect until first contact with the enemy...
-
i tried only Wayland + labwc for now.
...
TC16-x64, but I did no reported because was a minor annoyance versus touchpad.
Hi nick65go. FWIW, I also run labwc on TCL16 x86_64 with my X230 Thinkpad. My touchpad is working fine (cursor movement, clicking, two-finger scrolling) both in wayland-native applications as well as in X applications running in xwayland. I don't remember doing anything special to configure the touchpad.
In case it helps, these are the loaded extensions that have "input" in their name:
$ tce-status -i | grep input
input-joystick-6.12.11-tinycore64
libinput
xf86-input-libinput
After running an xwayland application, this is what xinput shows:
$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:15 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:15 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:15 id=8 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:15 id=9 [slave keyboard (3)]
-
Hi GNUser, thanks for your feed-back about Wayland (and Xorg on/over Wayland base). So is not pure xorg-server. My test appl is xfe file manager. Today I am looking in:
https://mirrors.dotsrc.org/tinycorelinux/16.x/x86_64/tcz/libinput.tcz.list (https://mirrors.dotsrc.org/tinycorelinux/16.x/x86_64/tcz/libinput.tcz.list) I saw a lot [=48] of /usr/local/share/libinput/??-{vendor|system}-*.quirks ; and opening each of them I saw something interesting, like this:
from /usr/local/share/libinput/30-vendor-synaptics.quirks
# SYNA3602:00 0911:5288 touchpad, clickpad pretending it has a right button.
[Synaptics 0911:5288 Touchpad]
MatchUdevType=touchpad
MatchName=* 0911:5288 Touchpad
AttrEventCode=-BTN_RIGHT <- remove event?
from /usr/local/share/libinput/50-system-hp.quirks
# Claims to have double/tripletap but doesn't actually send it
[HP Compaq 6910p]
MatchName=*SynPS/2 Synaptics TouchPad
..
AttrEventCode=-BTN_TOOL_DOUBLETAP;-BTN_TOOL_TRIPLETAP; <- remove events?
===
# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
[HP Stream 11]
MatchName=SYN1EDE:00 06CB:7442*
MatchDMIModalias=dmi:*svnHewlett-Packard:pnHPStreamNotebookPC11*
AttrInputProp=+INPUT_PROP_BUTTONPAD <- add property!
and so on from others files:
# Logitech Marble Mouse claims to have a middle button
[Logitech Marble Mouse Trackball]
...
AttrEventCode=-BTN_MIDDLE <- remove event?
====
# Disable the event codes to avoid stuck buttons.
[Madcatz RAT3]
...
# EV_KEY 0x115, 0x116, 0x117
AttrEventCode=-EV_KEY:0x115;-EV_KEY:0x116;-EV_KEY:0x117
Summary: so (-) =delete wrong properties/events, (+) =add missing properties/events. I may need to learn syntax for [un]documented parameters of libinput.
it seams that I may need to Add (+) some events to be reconized by libinput (if they are not by default) for my device, in the form something like:[my HP syanptic]
MatchName=SYNA*
AttrEventCode=+BTN_TOOL_DOUBLETAP;+BTN_TOOL_TRIPLETAP; <- add event
AttrInputProp=+INPUT_PROP_BUTTONPAD <- add property
-
oh boy, I did not enrolled for this long search/research; anyway this post is for my future reference from another computer...
https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html (https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html)
-
1. Teleport a new firmware from a working OS (CachyoS). If works then OK, if not continue to step2.
What I suggested was to look at dmesg (using either x or wayland) and see what firmware your machine tries to load - it may be that there's a newer version of that firmware the kernel can use.
For example (from an RPi) dmesg | grep -i firmware
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.056054] raspberrypi-firmware soc@107c000000:firmware: Attached to firmware from 2025-05-08T14:13:17, variant start_cd
[ 0.060055] raspberrypi-firmware soc@107c000000:firmware: Firmware hash is 6947117700000000000000000000000000000000
[ 54.647856] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID 01-b677b91b
-
Sorry, I missed the fact that his machine requires firmware for the touchpad. That's a more complex situation than my old Thinkpad.
Trying the latest version of the firmware is a good idea.
-
OK, reset! I saw that I need firmware for graphic (i915), wifi (rtlw89) and maybe sound-surround ((intel/sof). I do not think sound or WiFi will influence my input touchpad. So when I will have access to my PC I will try new git firmware which I saw in "other working linux" dmsg. About latest firmware
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915 (https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915)
2023-07-26 i915: Update ADLP DMC to v2.20: => /i915/adlp_dmc.bin
2025-04-10 i915: Update GUC to v70.44.1 for i915 platforms: => i915/adlp_guc_70.bin
2022-09-16 i915: Add versionless HuC (no version >7.9.3) files for current platforms: => /i915/tgl_huc.bin
TC firmware-i915.tcz ;
2023/02/04 updated has deletions
2024/03/12 updated remove install script - 0 deletions
Current: 2024/09/23 corrected info file only
from https://wiki.gentoo.org/wiki/Intel/en (https://wiki.gentoo.org/wiki/Intel/en)
GuC/HuC firmware: Graphics µController firmware offloads functions from the host driver. HEVC/H.265 µController firmware improves hardware acceleration of media decoding. HuC firmware (and GuC as a dependent) is needed for AVC/HEVC/VP9 low power encoding bitrate control, including CBR, VBR, etc.
GuC firmware for Gen 12+ now only uses major version numbers e.g. tgl_guc_70.bin and HuC firmware does not have a version number e.g. tgl_huc.bin
-
TL:DR Executive Summary: I will give up. The subject was about Xorg Synaptic driver, and it does not work for my device. Also libinput /xinput did not helped me.I assumed that an up to date firmware will help me, but it did not.
My only gain from this adventure was that I tried, for the first time, the wayland, weston, labwc; they are fast/ promising but for now they are too primitive for me. Anyway, soon (in 7 months) will be a new TC (new kernel, new Xorg, new mesa) to try again ;) No rush for me, take your time.
history for posterity:
Booting OEM (just Xfbdev), TC did not see the touchpad.
tc@box:~$ dmesg | grep firmware
tc@box:~$ dmesg | grep SYN
tc@box:~$
As soon as I load the i2c bus, the touchpad is activated.
tc@box:~$ tce-load -i i2c-6.12.11-tinycore64.tcz
i2c-6.12.11-tinycore64.tcz: OK
It needs just the modules i2c_hid_acpi to activate, even without a firmware:
tc@box:~$ lsmod | grep i2c
tc@box:~$ sudo modprobe i2c_designware_platform
tc@box:~$ lsmod | grep i2c
i2c_hid_acpi 12288 0
i2c_hid 24576 1 i2c_hid_acpi
drm 348160 1 i2c_hid
i2c_designware_platform 12288 0
i2c_designware_core 20480 1 i2c_designware_platform
tc@box:~$ dmesg | grep SYN
input: SYNA32E0:00 06CB:CE17 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input7
input: SYNA32E0:00 06CB:CE17 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA32E0:00/0018:06CB:CE17.0002/input/input8
hid-generic 0018:06CB:CE17.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA32E0:00 06CB:CE17] on i2c-SYNA32E0:00
Loading the firmware change nothing, regarding the touchpad:
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/HP17-OEM.tcz
HP17-OEM is already installed!
tc@box:~$ ls -1R /tmp/tcloop/HP17-OEM/usr/local/lib/firmware/
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/:
i915/
intel/
intel-ucode/
rtl_bt/
rtlwifi/
rtw89/
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/i915:
adlp_dmc.bin
adlp_guc_70.bin
tgl_huc.bin
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel:
sof/
sof-tplg/
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel/sof:
intel-signed/
sof-rpl.ri
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel/sof/intel-signed:
sof-adl.ri
sof-rpl.ri
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel/sof-tplg:
sof-hda-generic-2ch.tplg
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/intel-ucode:
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/rtl_bt:
rtl8852bu_config.bin
rtl8852bu_fw.bin
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/rtlwifi:
rtl8192eu_nic.bin
/tmp/tcloop/HP17-OEM/usr/local/lib/firmware/rtw89:
rtw8852b_fw-1.bin
tc@box:~$
Firmware only activated the graphic acceleration:
tc@box:~$ dmesg | grep firmware
i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc.bin failed with error -2
i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.44.1
i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
tc@box:~$ sudo modprobe -r i2c_designware_platform
tc@box:~$ sudo modprobe i2c_designware_platform
tc@box:~$
tc@box:~$ dmesg | grep -i not
Secure boot could not be determined
system 00:03: [mem 0xfed20000-0xfed7ffff] could not be reserved
system 00:03: [mem 0xfed45000-0xfed8ffff] could not be reserved
softdog: soft_reboot_cmd=<not set> soft_active_on_boot=0
ccp_crypto: Cannot load: there are no available CCPs
xe 0000:00:02.0: Your graphics device a7a1 is not officially supported
tc@box:~$ dmesg | grep -i taint
tc@box:~$ dmesg | grep -i error
hp_wmi: query 0x4c returned error 0x6 <= F1-F12 not working?
i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc.bin failed with error -2 <= before firmware loaded
tc@box:~$
Original TC xorg-server + libinput was not working.
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/Xorg-7.7.tcz
..
xorg-server.tcz: OK <= OK
xf86-video-fbdev.tcz: OK
...
libinput.tcz: OK <= OK
xf86-input-libinput.tcz: OK <= OK
...
Xorg-7.7.tcz: OK <= OK
tc@box:~$
tc@box:~$ ls /var/log/
autologin wtmp
tc@box:~$
exit in console + back in Xorg instead of Xfbdev.
tc@box:~$ ls -l /var/log/
total 60
-rw-r--r-- 1 root staff 49474 May 28 18:12 Xorg.0.log
-rw-r--r-- 1 root root 0 May 28 17:15 autologin
-rw-rw-r-- 1 root staff 4992 May 28 18:12 wtmp
tc@box:~$
===new, I tried Wayland +weston.
tc@box:~$ ls /mnt/nvme0n1p4/tce/optional/wayland*.tcz
/mnt/nvme0n1p4/tce/optional/wayland-protocols.tcz
/mnt/nvme0n1p4/tce/optional/wayland-utils.tcz
/mnt/nvme0n1p4/tce/optional/wayland.tcz
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/wayland-protocols.tcz
wayland-protocols is already installed!
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/wayland-utils.tcz
wayland-utils is already installed!
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/wayland.tcz
wayland is already installed!
tc@box:~$
tc@box:~$ ls /mnt/nvme0n1p4/tce/optional/west*.tcz
/mnt/nvme0n1p4/tce/optional/weston.ini.tcz
/mnt/nvme0n1p4/tce/optional/weston.tcz
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/weston.ini.tcz
weston.ini is already installed!
tc@box:~$ tce-load -i /mnt/nvme0n1p4/tce/optional/weston.tcz
weston is already installed!
tc@box:~$
exit in console and run the script:
tc@box:~$ cat /mnt/nvme0n1p4/tce/weston.sh
#!/bin/sh
sudo -- seatd -g staff -n /run/seatd.sock & XDG_RUNTIME_DIR=/run/user/$(id -u) weston
tc@box:~$
tc@box:~$ xinput list-props 10
Unable to connect to X server
tc@box:~$ sudo libinput debug-events
-event2 DEVICE_ADDED Power Button seat0 default group1 cap:k
-event9 DEVICE_ADDED Video Bus seat0 default group2 cap:k
-event1 DEVICE_ADDED Power Button seat0 default group3 cap:k
-event5 DEVICE_ADDED Microsoft Microsoft Basic Optical Mouse v2.0 seat0 default group4 cap:p left scroll-nat scroll-button
-event7 DEVICE_ADDED SYNA32E0:00 06CB:CE17 Mouse seat0 default group5 cap:p left scroll-nat scroll-button
-event8 DEVICE_ADDED SYNA32E0:00 06CB:CE17 Touchpad seat0 default group5 cap:t size 111x69mm ntouches 1 calib
-event3 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group6 cap:k
-event6 DEVICE_ADDED HP WMI hotkeys seat0 default group7 cap:k
-event3 KEYBOARD_KEY +4294967.295s *** (-1) pressed
event3 KEYBOARD_KEY +0.284s *** (-1) pressed
^C
tc@box:~$ editor
back in Xorg here, to report my fail: in weston, with TC editor I made the windows small to allow me to see and try vertical/horizontal scrolls. Not working.
-
Hi nick65go
There was a lot in you last post and I got lost trying to
follow it all.
So I'll just mention that firmware needs to be loaded
before modules.
Also, I have an HP G62 and I have hp_wmi blacklisted,
though I don't recall why.
-
Hi Rich :) the post shows /follows my sequential TODAY work.I did indeed boot into just OEM (Xfbdev). and with lsmod I saw that no drivers (i2c) was loaded, and so dmesg | input proved. Then I loaded the firmware. And only after firmware I loaded i2c modules. Same as you suggested. Of course I could repeat this order one more time, but I am pretty sure this was the order to load. Maybe I explained wrong in my history, sorry for confusion.
If if worked my intention was to then include firmware in init-ram core.gz...Hm, I may do it anyway, why not :)
I could try also to blacklist hp_wmi modules or Xe module *because I will have already i915, etc.
The TC is functional even without an external mouse, but I just expected to make all my devices work at full capacities.
-
OK, my "facts":1. shell history commands:
182 tce-load -i HP17-OEM 183 lsmod 184 lsmod | grep input
185 date
186 lsmod | grep input
187 tce-load -i /mnt/nvme0n1p4/tce/optional/graphics-6.12.11-tinycore64.tcz
188 startx
189 lsmod
190 history
tc@box:~$
2. control panel, button "System status", tab filesystem: Xfbvdev, HP17-OEM, graphic-*, wifi, firefox.
/dev/loop45 356.0K 356.0K 0 100% /tmp/tcloop/Xfbdev
/dev/loop46 1.4M 1.4M 0 100% /tmp/tcloop/HP17-OEM
/dev/loop47 184.0K 184.0K 0 100% /tmp/tcloop/i2c-6.12.11-tinycore64
/dev/loop48 6.7M 6.7M 0 100% /tmp/tcloop/graphics-6.12.11-tinycore64
/dev/loop49 128.0K 128.0K 0 100% /tmp/tcloop/libiw
/dev/loop50 5.8M 5.8M 0 100% /tmp/tcloop/wireless-6.12.11-tinycore64
/dev/loop51 128.0K 128.0K 0 100% /tmp/tcloop/wireless_tools
dev/loop63 356.0K 356.0K 0 100% /tmp/tcloop/libnl
/dev/loop64 1.2M 1.2M 0 100% /tmp/tcloop/wpa_supplicant-dbus
/dev/loop65 8.0K 8.0K 0 100% /tmp/tcloop/wifi
dev/loop90 3.8M 3.8M 0 100% /tmp/tcloop/gtk3
/dev/loop91 121.6M 121.6M 0 100% /tmp/tcloop/firefox