tech:notes_ecran_tactile_touch_screen
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tech:notes_ecran_tactile_touch_screen [2025/11/11 20:55] – Jean-Baptiste | tech:notes_ecran_tactile_touch_screen [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes écran tactile touch screen | ||
| + | |||
| + | Voir : | ||
| + | * [[Notes Systemd udev]] | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | Pb écran tactile | ||
| + | |||
| + | ~~~bash | ||
| + | apt-get install xinput-calibrator xinput | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | export DISPLAY=:0 | ||
| + | |||
| + | ID=$(xinput list --id-only " | ||
| + | |||
| + | SCREEN=$(xrandr 2>&1 | grep -e ' connected primary' | ||
| + | |||
| + | #xinput --map-to-output 11 DVI-D-0 | ||
| + | xinput --map-to-output $ID $SCREEN | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | xinput list-props " | ||
| + | ~~~ | ||
| + | ~~~ | ||
| + | Coordinate Transformation Matrix (155): 0.000000, 0.375000, 0.000000, -1.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000 | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | xinput_calibrator -v --device " | ||
| + | ~~~ | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | ## Persistance | ||
| + | |||
| + | `/ | ||
| + | ~~~bash | ||
| + | #! /bin/bash | ||
| + | |||
| + | export DISPLAY=:0 | ||
| + | |||
| + | NAME=$(xinput list --name-only | grep -i -e touch | grep -iv -e ' pen') | ||
| + | ID=$(xinput list --id-only " | ||
| + | SCREEN=$(xrandr 2>&1 | grep -e ' connected primary' | ||
| + | / | ||
| + | ( sleep 5 ; / | ||
| + | |||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | chmod +x / | ||
| + | ~~~ | ||
| + | |||
| + | `~/ | ||
| + | ~~~bash | ||
| + | / | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Pb | ||
| + | |||
| + | ### Pb persistance sur débranchement ou extinction de l' | ||
| + | |||
| + | Voir [[Notes Systemd udev]] | ||
| + | |||
| + | -------------------------------- | ||
| + | |||
| + | ## Notes en vrac - pb débranchement retranchement extinction écran - perte orientation touchscreen | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | ~~~ | ||
| + | 68.624] (II) NVIDIA(0): Setting mode " | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | modprobe evdev | ||
| + | modprobe usbtouchscreen usbhid | ||
| + | |||
| + | cat / | ||
| + | |||
| + | echo Y > / | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | Enable the Touchscreen in Lightdm (the login screen) | ||
| + | copy ~/ | ||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | xinput_calibrator --device "Elo Touch Solutions Elo Touch Solutions Pcap USB Interface" | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | Calibrating EVDEV driver for "Elo Touch Solutions Elo Touch Solutions Pcap USB Interface" | ||
| + | current calibration values (from XInput): min_x=0, max_x=4095 and min_y=0, max_y=4095 | ||
| + | |||
| + | Doing dynamic recalibration: | ||
| + | Setting calibration data: 1, 4064, -19, 4082 | ||
| + | --> Making the calibration permanent <-- | ||
| + | copy the snippet below into '/ | ||
| + | Section " | ||
| + | Identifier | ||
| + | MatchProduct | ||
| + | Option | ||
| + | Option | ||
| + | EndSection | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | `/ | ||
| + | ~~~ | ||
| + | Section " | ||
| + | Identifier | ||
| + | MatchProduct | ||
| + | Option | ||
| + | Option | ||
| + | Option " | ||
| + | Option " | ||
| + | EndSection | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ### Matrix | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | ~~~ | ||
| + | xinput list-props "Elo Touch Solutions Elo Touch Solutions Pcap USB Interface" | ||
| + | Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | Option " | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### Troubleshooting | ||
| + | |||
| + | ~~~bash | ||
| + | sudo apt-get install -y evtest | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Notes | ||
| + | |||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | Do it automatically via a udev rule | ||
| + | |||
| + | Create a file something like `/ | ||
| + | |||
| + | ~~~ | ||
| + | ENV{ID_VENDOR_ID}==" | ||
| + | ~~~ | ||
| + | |||
| + | LXQt | ||
| + | |||
| + | `~/ | ||
| + | ~~~ini | ||
| + | [Desktop Entry] | ||
| + | Comment=Autostart touchpad settings for lxqt-config-input | ||
| + | Exec=lxqt-config-input --load-touchpad | ||
| + | Name=lxqt-config-touchpad-autostart | ||
| + | OnlyShowIn=LXQt | ||
| + | Type=Application | ||
| + | Version=1.0 | ||
| + | ~~~ | ||
| + | |||
