URL: https://linuxfr.org/forums/linux-gui/posts/touchscreen-et-xorg Title: Touchscreen et Xorg Authors: Doude Date: 2008年04月30日T18:02:14+02:00 Tags: debian Score: 0 Bonjour, Je viens de récupérer un Panasonic CF-30 Toughbook qui est équipé d'un écran tactile. Après quelques recherche sur le net, j'ai trouvé ce site : [http://www.conan.de/touchscreen/evtouch.html](http://www.conan.de/touchscreen/evtouch.html) . J'ai suivi les instructions de ce site pour l'installation du driver evtouch. X se lance bien et l'écran réagit bien quand on le touche mais le curseur de la souris n'est pas bien calibré. J'ai donc cherché à calibrer tout ça. Dans le package evtouch, il y a un script qui permet de faire e calibrage, le problème c'est n'arrive pas lancer X et donc pas moyen de faire le calibrage. Voila ce que me renvois X lorsque le script essaye de le lancer : (**) Option "Device" "/dev/input/event0" (II) intel(0): [drm] removed 1 reserved context for kernel (II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xf8acb000 at 0xb7b0c000 (EE) intel(0): I830 Vblank Pipe Setup Failed 0 (EE) intel(0): I830 Vblank Pipe Setup Failed 0 (EE) intel(0): I830 Vblank Pipe Setup Failed 0 (II) intel(0): xf86UnbindGARTMemory: unbind key 0 (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing. Je crois que ce script ne lance pas X avec une syntaxe correcte. De plus, quand je liste les devices du dossier /dev/input, j'obtient : drwxr-xr-x 2 root root 80 avr 30 09:25 by-id drwxr-xr-x 2 root root 140 avr 30 09:25 by-path crw-rw---- 1 root root 13, 64 avr 30 11:25 event0 crw-rw---- 1 root root 13, 65 avr 30 11:25 event1 crw-rw---- 1 root root 13, 66 avr 30 11:25 event2 crw-rw---- 1 root root 13, 67 avr 30 11:25 event3 crw-rw---- 1 root root 13, 68 avr 30 11:25 event4 crw-rw---- 1 root root 13, 69 avr 30 09:25 event5 crw-rw-r-- 1 root root 13, 0 avr 30 09:25 js0 crw-rw---- 1 root root 13, 63 avr 30 11:25 mice crw-rw---- 1 root root 13, 32 avr 30 11:25 mouse0 crw-rw---- 1 root root 13, 33 avr 30 09:25 mouse1 Je ne sais pas lequel utiliser, j'ai donc essayé tout les event mais leur réactions sont identiques sauf pour le event5 qui lui place le curseur en bas à droite lorsque l'on touche l'écran n'importe où. Voila mon xorg.conf : Section "Files" EndSection Section "Module" £spaces£ £/spaces£#load "GLcore" £spaces£ £/spaces£Load "bitmap" £spaces£ £/spaces£Load "dbe" £spaces£ £/spaces£Load "ddc" £spaces£ £/spaces£Load "dri" £spaces£ £/spaces£Load "extmod" £spaces£ £/spaces£Load "freetype" £spaces£ £/spaces£Load "glx" £spaces£ £/spaces£Load "int10" £spaces£ £/spaces£Load "record" # Load "type1" £spaces£ £/spaces£Load "vbe" EndSection Section "InputDevice" £spaces£ £/spaces£Identifier "Generic Keyboard" £spaces£ £/spaces£Driver "kbd" £spaces£ £/spaces£Option "CoreKeyboard" £spaces£ £/spaces£Option "XkbRules" "xorg" £spaces£ £/spaces£Option "XkbModel" "pc105" £spaces£ £/spaces£Option "XkbLayout" "fr" £spaces£ £/spaces£Option "XkbVariant" "latin9" EndSection Section "InputDevice" £spaces£ £/spaces£Identifier "Configured Mouse" £spaces£ £/spaces£Driver "mouse" £spaces£ £/spaces£Option "CorePointer" # Option "Device" "/dev/input/mouse0" £spaces£ £/spaces£Option "Device" "/dev/input/mice" £spaces£ £/spaces£Option "Protocol" "ImPS/2" £spaces£ £/spaces£Option "Emulate3Buttons" "true" EndSection Section "InputDevice" £spaces£ £/spaces£Identifier "Synaptics Touchpad" £spaces£ £/spaces£Driver "synaptics" £spaces£ £/spaces£Option "SendCoreEvents" "true" £spaces£ £/spaces£Option "Device" "/dev/psaux" £spaces£ £/spaces£Option "Protocol" "auto-dev" £spaces£ £/spaces£Option "HorizScrollDelta" "0" EndSection Section "Device" £spaces£ £/spaces£Identifier "Intel Mobile 945GM/GMS, 943/940GML Express" # Driver "vesa" £spaces£ £/spaces£Driver "intel" £spaces£ £/spaces£BusID "PCI:0:2:0" # Option "AllowGLXWithComposite" "true" EndSection Section "Monitor" £spaces£ £/spaces£Identifier "Écran générique" £spaces£ £/spaces£Option "DPMS" EndSection Section "Screen" £spaces£ £/spaces£Identifier "Default Screen" £spaces£ £/spaces£Device "Intel Mobile 945GM/GMS, 943/940GML Express" £spaces£ £/spaces£Monitor "Écran générique" £spaces£ £/spaces£DefaultDepth 24 # Option "AddARGBGLXVisuals" "True" £spaces£ £/spaces£SubSection "Display" £spaces£ £/spaces£Modes "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" £spaces£ £/spaces£EndSubSection EndSection Section "InputDevice" £spaces£ £/spaces£Identifier "touchscreen" £spaces£ £/spaces£Driver "evtouch" £spaces£ £/spaces£Option "Device" "/dev/input/event0" £spaces£ £/spaces£Option "DeviceName" "touchscreen" £spaces£ £/spaces£Option "MinX" "98" £spaces£ £/spaces£Option "MinY" "43" £spaces£ £/spaces£Option "MaxX" "940" £spaces£ £/spaces£Option "MaxY" "925" £spaces£ £/spaces£Option "ReportingMode" "Raw" £spaces£ £/spaces£Option "Emulate3Buttons" £spaces£ £/spaces£Option "Emulate3Timeout" "50" £spaces£ £/spaces£Option "SendCoreEvents" "On" EndSection Section "InputDevice" £spaces£ £/spaces£Identifier "dummy" £spaces£ £/spaces£Driver "void" £spaces£ £/spaces£Option "Device" "/dev/input/mice" EndSection Section "DRI" £spaces£ £/spaces£Mode 0666 EndSection Section "Extensions" £spaces£ £/spaces£Option "Composite" "Enable" EndSection Section "ServerLayout" £spaces£ £/spaces£Identifier "Default Layout" £spaces£ £/spaces£Screen "Default Screen" £spaces£ £/spaces£InputDevice "Generic Keyboard" £spaces£ £/spaces£InputDevice "Configured Mouse" £spaces£ £/spaces£InputDevice "Synaptics Touchpad" £spaces£ £/spaces£InputDevice "touchscreen" "CorePointer" £spaces£ £/spaces£InputDevice "dummy" EndSection Je ne vois pas très bien quel est le problème. Je crois qu'il a aussi un soucis avec le touchpad (pourtant il semble bien fonctionner) car dans le log de X, je retrouve cette erreur : (EE) Synaptics Touchpad no synaptics touchpad detected and no repeater device (EE) Synaptics Touchpad Unable to query/initialize Synaptics hardware. (EE) PreInit failed for input device "Synaptics Touchpad" Voila un ptit lspci : 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 0c:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 13) 0d:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b1) 0d:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 06) 0d:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 15) Merci de votre aide. PS: j'utilise une debian en testing avec un noyau 2.6.25