Touch Screen Calibration

:pushpin:Question Description

Have you searched the community for related issues?

  • No similar issues found.

Please describe the problem you’ve encountered in detail:

  • Description:
    Unable to calibrate touchscreen, i tried changing files in /etc/gtestures in all kinds of way but no luck

i know the silead_ts device is event16 and in i2c

and in chrome os settings under display i do not see “Touch Screen”

:computer:System & Device Information

  • Hardware & System Configuration: Chuwi SurBook Mini

    • Processor: Celeron N4500
    • Graphics Card(Please specify if there’s a discrete graphics card): integrated
    • RAM: 4GB DDR3
    • FydeOS Version: v20
  • Relevant System Logs:

    • Open the Chromium browser and enter /var/log/messages to retrieve logs.
    • Log Details:

chrome_dev.conf:

--disable-arc-opt-in-verification
--enable-hardware-overlays=single-fullscreen
--touch-devices=16
--enable-touchscreen-calibration
--enable-pinch

/etc/gesture/60-user-defined-devices.conf

Section "InputClass"
    Identifier      "Silead Touchscreen Calibration"
    MatchProduct    "silead_ts"
    MatchDevicePath "/dev/input/event*"
    Driver          "evdev"
    Option          "Calibration" "2349 68067 256 66405"
    Option          "SwapAxes" "0"
    Option          "InvertX" "0"
    Option          "InvertY" "0"
EndSection

used xinput calibrator

cat /var/log/messages | grep silead

2025-05-16T16:51:54.079364Z WARNING kernel: [   19.270932] silead_ts i2c-MSSL1680:00: supply vddio not found, using dummy regulator
2025-05-16T16:51:54.079365Z WARNING kernel: [   19.271136] silead_ts i2c-MSSL1680:00: supply avdd not found, using dummy regulator
2025-05-16T16:51:54.080800Z DEBUG kernel: [   19.271418] silead_ts i2c-MSSL1680:00: GPIO lookup for consumer power
2025-05-16T16:51:54.080820Z DEBUG kernel: [   19.271427] silead_ts i2c-MSSL1680:00: using ACPI for GPIO lookup
2025-05-16T16:51:54.080825Z DEBUG kernel: [   19.271436] silead_ts i2c-MSSL1680:00: using lookup tables for GPIO lookup
2025-05-16T16:51:54.080826Z DEBUG kernel: [   19.271440] silead_ts i2c-MSSL1680:00: No GPIO consumer power found
2025-05-16T16:51:54.080827Z INFO kernel: [   19.271664] silead_ts i2c-MSSL1680:00: Silead chip ID: 0x80360000
2025-05-16T16:51:55.348464Z INFO kernel: [   20.539925] input: silead_ts as /devices/pci0000:00/0000:00:16.3/i2c_designware.3/i2c-8/i2c-MSSL1680:00/input/input16

evtest:

amd64-fydeos_slim ~ # evtest 
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:      Lid Switch
/dev/input/event1:      Power Button
/dev/input/event10:     HDA Intel PCH Headphone
/dev/input/event11:     HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event12:     HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event13:     HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event14:     HDA Intel PCH HDMI/DP,pcm=9
/dev/input/event15:     HDA Intel PCH HDMI/DP,pcm=10
/dev/input/event16:     silead_ts
/dev/input/event2:      AT Translated Set 2 keyboard
/dev/input/event3:      Microsoft Comfort Curve Keyboard 3000
/dev/input/event4:      Microsoft Comfort Curve Keyboard 3000
/dev/input/event5:      Video Bus
/dev/input/event6:      Primax HUAWEI Mouse WYN 
/dev/input/event7:      Intel HID events
/dev/input/event8:      Intel HID 5 button array
/dev/input/event9:      HDA Intel PCH Mic
Select the device event number [0-16]: 16
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "silead_ts"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value    871
      Min       88
      Max     2039
    Event code 1 (ABS_Y)
      Value   1501
      Min        0
      Max     1510
    Event code 47 (ABS_MT_SLOT)
      Value      0
      Min        0
      Max        9
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min       88
      Max     2039
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max     1510
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max    65535
Properties:
  Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
Event: time 1747415039.173993, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 2
Event: time 1747415039.173993, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1053
Event: time 1747415039.173993, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 913
Event: time 1747415039.173993, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1747415039.173993, type 3 (EV_ABS), code 0 (ABS_X), value 1053
Event: time 1747415039.173993, type 3 (EV_ABS), code 1 (ABS_Y), value 913
Event: time 1747415039.173993, -------------- SYN_REPORT ------------
Event: time 1747415039.192342, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1060
Event: time 1747415039.192342, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 847
Event: time 1747415039.192342, type 3 (EV_ABS), code 0 (ABS_X), value 1060
Event: time 1747415039.192342, type 3 (EV_ABS), code 1 (ABS_Y), value 847
Event: time 1747415039.192342, -------------- SYN_REPORT ------------
Event: time 1747415039.215193, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1061
Event: time 1747415039.215193, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 788
Event: time 1747415039.215193, type 3 (EV_ABS), code 0 (ABS_X), value 1061
Event: time 1747415039.215193, type 3 (EV_ABS), code 1 (ABS_Y), value 788
Event: time 1747415039.215193, -------------- SYN_REPORT ------------
Event: time 1747415039.238083, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1063
Event: time 1747415039.238083, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 727
Event: time 1747415039.238083, type 3 (EV_ABS), code 0 (ABS_X), value 1063
Event: time 1747415039.238083, type 3 (EV_ABS), code 1 (ABS_Y), value 727
Event: time 1747415039.238083, -------------- SYN_REPORT ------------
Event: time 1747415039.260793, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1747415039.260793, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1747415039.260793, -------------- SYN_REPORT ------------
^C
amd64-fydeos_slim ~ # 

Note: If you’ve lost your FydeOS subscription, please refer to this FAQ for assistance.


i have been banging my head i tried usign xinput calibrator in the linux vm and then copying it to /etc/gesture/99-touchscreen.conf as follows but nothing

/etc/gesture/99-touchscreen.conf :
Section "InputClass"
        Identifier      "Silead TS calibration"
        MatchDevicePath "/dev/input/event*"
        MatchProduct "silead_ts"
        Option  "MinX"  "2349"
        Option  "MaxX"  "68886"
        Option  "MinY"  "282"
        Option  "MaxY"  "65407"
        Option  "SwapXY"        "0" # unless it was already set to 1
        Option  "InvertX"       "0"  # unless it was already set
        Option  "InvertY"       "0"  # unless it was already set
EndSection

also tried in the kernel with no result

input-core.custom=1 input-core.invert_x=1
of_touchscreen.custom=1 of_touchscreen.min_x=1

also dmesg:

 dmesg | grep Kernel
[    0.060541] Kernel command line: BOOT_IMAGE=/syslinux/vmlinuz.A init=/sbin/init rootwait ro noresume loglevel=7 noinitrd audit=0 console= i915.modeset=1 cros_efi cros_debug of_touchscreen.custom=1 of_touchscreen.min_x=1 root=PARTUUID=1044CB14-84A4-524A-99A9-4B2ADA991A84

dmesg.txt

messages.txt