How to configure the touchscreen of my laptop

For issues with MX that has been modified from the initial install. Example: adding packages that then cause issues.
Message
Author
Stefmx
Posts: 27
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#31 Post by Stefmx »

Here are sections with wacom:

Code: Select all

P: /devices/pnp0/00:06
M: 00:06
R: 06
U: pnp
V: serial
E: DEVPATH=/devices/pnp0/00:06
E: SUBSYSTEM=pnp
E: DRIVER=serial
E: USEC_INITIALIZED=9791499
E: ID_MODEL=Serial Wacom Tablet FUJ02e7
E: ID_INPUT=1
E: ID_INPUT_TABLET=1
E: NAME=Serial Wacom Tablet FUJ02e7

P: /devices/pnp0/00:06/tty/ttyS0
M: ttyS0
R: 0
U: tty
D: c 4:64
N: ttyS0
L: 0
E: DEVPATH=/devices/pnp0/00:06/tty/ttyS0
E: SUBSYSTEM=tty
E: DEVNAME=/dev/ttyS0
E: MAJOR=4
E: MINOR=64
E: USEC_INITIALIZED=9814440
E: ID_MODEL=Serial Wacom Tablet FUJ02e7
E: ID_INPUT=1
E: ID_INPUT_TABLET=1
E: NAME=Serial Wacom Tablet FUJ02e7
E: ID_MM_CANDIDATE=1
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:


the search for touch only find section with touchpad:

Code: Select all

P: /devices/platform/i8042/serio4/input/input12
M: input12
R: 12
U: input
E: DEVPATH=/devices/platform/i8042/serio4/input/input12
E: SUBSYSTEM=input
E: PRODUCT=11/2/8/400
E: NAME="AlpsPS/2 ALPS GlidePoint"
E: PHYS="isa0060/serio4/input0"
E: PROP=9
E: EV=b
E: KEY=e420 70000 0 0 0 0
E: ABS=260800001000003
E: MODALIAS=input:b0011v0002p0008e0400-e0,1,3,k110,111,112,145,14A,14D,14E,14F,ra0,1,18,2F,35,36,39,mlsfw
E: USEC_INITIALIZED=9808559
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_BUS=i8042
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-4
E: ID_PATH_TAG=platform-i8042-serio-4
E: ID_FOR_SEAT=input-platform-i8042-serio-4
E: TAGS=:seat:
E: CURRENT_TAGS=:seat:

P: /devices/platform/i8042/serio4/input/input12/event5
M: event5
R: 5
U: input
D: c 13:69
N: input/event5
L: 0
S: input/by-path/platform-i8042-serio-4-event-mouse
E: DEVPATH=/devices/platform/i8042/serio4/input/input12/event5
E: SUBSYSTEM=input
E: DEVNAME=/dev/input/event5
E: MAJOR=13
E: MINOR=69
E: USEC_INITIALIZED=9756825
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_BUS=i8042
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-4
E: ID_PATH_TAG=platform-i8042-serio-4
E: ID_INPUT_TOUCHPAD_INTEGRATION=internal
E: LIBINPUT_DEVICE_GROUP=11/2/8:isa0060/serio4
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-4-event-mouse

P: /devices/platform/i8042/serio4/input/input12/mouse0
M: mouse0
R: 0
U: input
D: c 13:32
N: input/mouse0
L: 0
S: input/by-path/platform-i8042-serio-4-mouse
E: DEVPATH=/devices/platform/i8042/serio4/input/input12/mouse0
E: SUBSYSTEM=input
E: DEVNAME=/dev/input/mouse0
E: MAJOR=13
E: MINOR=32
E: USEC_INITIALIZED=9827340
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_BUS=i8042
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-4
E: ID_PATH_TAG=platform-i8042-serio-4
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-4-mouse

and nothing with multitouch, touchscreen or hid.

How can I change the kernel in mx linux?

User avatar
CharlesV
Global Moderator
Posts: 7530
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#32 Post by CharlesV »

MX Package Installer and then search for liquorix. You should see all of them available. Install, reboot and then check your QSI to verify it is running.

xinput after that and hopefully the 6.5 of 6.9 liquorix kernel will know all about it!
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Stefmx
Posts: 27
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#33 Post by Stefmx »

there are a linux-headers-6.9.12-2-liquorix-amd64 package
and a linux-image-6.9.12-2-liquorix-amd64 package.
The same for 6.5. Which one should I take?

User avatar
CharlesV
Global Moderator
Posts: 7530
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#34 Post by CharlesV »

If your on the Popular packages, just choose the Liquorix 6.9.12-2 64bit and it will install.

If your in the Enabled repos tab, then choose both the
linux-headers-6.9.12-2-liquorix-amd64 package
linux-image-6.9.12-2-liquorix-amd64 package.

Personally, I think the 6.9 would work better.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Stefmx
Posts: 27
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#35 Post by Stefmx »

I install the liquorix 6.9.12-2 kernel and reboot the system :

Code: Select all

Snapshot created on: 20250704_2122
System:
  Kernel: 6.9.12-2-liquorix-amd64 [6.9-12~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.9.12-2-liquorix-amd64 root=UUID=<filter> ro
    quiet splash
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.6.1_KDE_x64 Libretto
    May 18 2025 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Laptop System: FUJITSU SIEMENS product: LifeBook T4310 v: 10601155984
    serial: <superuser required> Chassis: type: 10 v: LifeBook T4310 serial: <superuser required>
  Mobo: FUJITSU model: FJNB206 v: K5 serial: <superuser required> BIOS: FUJITSU // Phoenix
    v: Version 1.05 date: 09/30/2009
Battery:
  ID-1: CMB2 charge: 39.4 Wh (96.1%) condition: 41.0/41.0 Wh (100.0%) volts: 12.3 min: 10.8
    model: Fujitsu CP384590-01 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Core2 Duo T6570 bits: 64 type: MCP arch: Penryn level: v1 built: 2008
    process: Intel 45nm family: 6 model-id: 0x17 (23) stepping: 0xA (10) microcode: 0xA0B
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB
    L2: 2 MiB desc: 1x2 MiB
  Speed (MHz): avg: 2095 min/max: 1200/2101 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 2095 2: 2095 bogomips: 8378
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling; PBRSB-eIBRS: Not
    affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Fujitsu driver: i915 v: kernel
    arch: Gen-5 process: Intel 45nm built: 2008 ports: active: LVDS-1 empty: DP-1, DP-2, HDMI-A-1,
    VGA-1 bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300
  Device-2: Chicony FJ Camera type: USB driver: uvcvideo bus-ID: 8-4:4 chip-ID: 04f2:b186
    class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: intel dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 338x211mm (13.31x8.31") s-diag: 398mm (15.69")
  Monitor-1: LVDS-1 mapped: LVDS1 res: 1280x800 hz: 60 size: N/A modes: 1280x800
  API: OpenGL v: 2.1 Mesa 24.2.8-1mx23ahs renderer: Mesa Mobile Intel GM45 Express (CTG)
    direct-render: Yes
Audio:
  Device-1: Intel 82801I HD Audio vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:293e class-ID: 0403
  API: ALSA v: k6.9.12-2-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.4.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Broadcom NetLink BCM57780 Gigabit Ethernet PCIe vendor: Fujitsu driver: tg3 v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 08:00.0 chip-ID: 14e4:1692 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Qualcomm Atheros AR928X Wireless Network Adapter vendor: Fujitsu driver: ath9k
    v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 18:00.0 chip-ID: 168c:002a
    class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Askey [hex] type: USB driver: btusb v: 0.8 bus-ID: 4-2:3 chip-ID: 1690:0741
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: hardware: no
    software: yes address: <filter>
  Info: acl-mtu: 310:10 sco-mtu: 64:8 link-policy: rswitch hold sniff park
    link-mode: peripheral accept
Drives:
  Local Storage: total: 232.89 GiB used: 6.87 GiB (3.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT250BX100SSD1 size: 232.89 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: MU01 scheme: MBR
Partition:
  ID-1: / raw-size: 39.06 GiB size: 39.06 GiB (100.00%) used: 6.3 GiB (16.1%) fs: btrfs
    dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 29.3 GiB size: 29.3 GiB (100.00%) used: 588.5 MiB (2.0%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 4.88 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
    maj-min: 8:3
Sensors:
  System Temperatures: cpu: 59.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2579 libs: 1392 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://mirror.plusserver.com/debian/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://mirror.plusserver.com/debian/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://linux.rub.de/mxlinux/packages/mx/repo/ bookworm main non-free
    2: deb https://linux.rub.de/mxlinux/packages/mx/repo/ bookworm ahs
Info:
  Processes: 288 Uptime: 5m wakeups: 3 Memory: 3.76 GiB used: 1.39 GiB (37.0%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

And after that run xinput :

Code: Select all

$ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS GlidePoint                  id=13   [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)]
    ↳ Fujitsu FUJ02E3                           id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Fujitsu FUJ02BF                           id=9    [slave  keyboard (3)]
    ↳ Power Button                              id=10   [slave  keyboard (3)]
    ↳ Sleep Button                              id=11   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    ↳ ACPI Virtual Keyboard Device              id=14   [slave  keyboard (3)]
Unfortunately nothings changed.
Should I also try it with the liquorix 6.5 kernel?

But I have to go work now and would try it in the evening than.

User avatar
CharlesV
Global Moderator
Posts: 7530
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#36 Post by CharlesV »

I dont believe 6.5 will be better than 6.9, I will do more research on that computer today. Not sure why it isnt seeing it.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Global Moderator
Posts: 7530
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#37 Post by CharlesV »

So I found the following, buried deep in an older forum, but it shows the type of driver and that it is serial.
A Wacom multitouch panel is embedded in the HP tm2, HID protocol. Another is the Fujitsu LifeBook T4410 and T4310, with a serial interface.

The 'wacom' kernel driver handles these and should be compliant with the kernel multitouch protocol.

Then, from 2023 ... It looks like debian 12 broke something with the Wacome Serial drivers.

if you check in /var/log/Xorg.0.log you should find it attempting to load the wacom driver and then failing.

It looks like there are three steps that are needed to resolve that.

1) find the serial port (might show in that Xorg log! ) use the following to try to find it.

Code: Select all

screen /dev/ttyS0 

Then touch the screen and see if anything happens. If you dont see anything happen, change the ttyS0 to ttyS1 and test again. Continue this until you see visible proof on screen that it saw the touch. And that is the serial port we need. ( if you get up to ttyS9 and still nothing then stop.)

Once you have the port identified (or .. even if you dont).

2) Install inputattach ( MX Package Installer | Enabled tab )

3) Then, using the serial port that worked in step 1, try
this : (note replace 0 with the port that worked - If none, then start at 0 and work up again )

Code: Select all

sudo inputattach --w8001 /dev/ttyS0

Once you have the correct port and inputattach is working, then we have to setup the service for that. (or script it so that it starts every time you login.

Notes taken from here
https://www.linuxquestions.org/question ... ?p=6572213

and here
https://wiki.ubuntu.com/Touchscreen
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Stefmx
Posts: 27
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#38 Post by Stefmx »

Great CharlesV that`s it.

As I mentioned in post #19, I knew that my notebook wacom controler is serially connected to ttyS0.
If I do search for the device in terminal, the system can´t find it. I install libwacom and run: libwacom-list-local-wacom and didn´t find a device. But I know the touchscreen has a serial connection and if I try in terminal: screen /dev/ttyS0 I get a response with my fingers on the screen and with the pen near the screen.
So I try your suggestion right now with ttyS0 and it work. I can mark text after I did the inputattach command with my finger on the screen and also with the digitizer pen.
If you can help me with the script for a permanent function after a restart it would be perfect for me.

User avatar
CharlesV
Global Moderator
Posts: 7530
Joined: Sun Jul 07, 2019 5:11 pm

Re: How to configure the touchscreen of my laptop

#39 Post by CharlesV »

Sorry, I missed your post about knowing the serial port.

So, there should be a udev rule picking up the wacom on a serial port already, but that rule is obviously broken.
( /etc/udev/rules.d/69-wacom.rules )

You could possibly uncomment the line that says:

Code: Select all

#SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="wacom-inputattach@%k.service"

Just remove the # save the file and then reboot.
(I have not done much with udev, so not sure if that will get it done or not - but that is where it is supposed to happen.)

If that doesnt work, or you wont want to try it out... then just create a script like this and make sure is it set to run at login.

Using Featherpad, create a script in your user home named
startwacom.sh which contains this

Code: Select all

#!/bin/sh

sudo inputattach --w8001 /dev/ttyS0

then make that script executable with

Code: Select all

chmod +x /home/your_user_name/startwacom.sh

Now you should have the ability to manually run that script and get the touchscreen working.

From there its automating the start up of inputattach and because it is sudo driven, the only method I have found is kind complicated. (And i am sure is Not what security peeps would like ;-) ) ..

The other method that works for me, but I cannot test it with this command, is to edit
/etc/rc.local and right before the exit 0

add the following line

Code: Select all

inputattach --w8001 /dev/ttyS0 &

Save the file and reboot and you should have touchscreen.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Stefmx
Posts: 27
Joined: Mon Jun 02, 2025 2:03 am

Re: How to configure the touchscreen of my laptop

#40 Post by Stefmx »

CharlesV wrote: Tue Jul 08, 2025 8:39 pm Sorry, I missed your post about knowing the serial port.
Oh nothing you have to say sorry. I have to say sorry for the lot of work you make for me.

I do uncommand the line in 69-wacom.rules and restart the computer. That doesn`t work and uncommand the to lines about it also for the next restart without success.
ACTION!="add|change", GOTO="wacom_end"

# Match all serial wacom tablets with a serial ID starting with WACf
# Notes: We assign NAME though we shouldn't, but currently the server requires it
# We assign the lot to subsystem pnp too because server reads NAME from
# the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
# will do and the ENV{NAME} can be removed.
SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"

# comment out the next line if your distribution does not provide systemd
# If a /dev/ttySx device with the WACf name is detected, start the
# wacom-inputattach service with the kernel name as parameter
SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="wacom-inputattach@%k.service"

LABEL="wacom_end"
maybe I still have to enter the serial ID somewhere. I don`t know.

I will try your suggestion for the rc.local file next and give then a feedback again. But it will be wait till tonight when I back from work.

Post Reply

Return to “MX Modified”