J'ai installé arch à partir du live de calimero (CTKArch 0.7) sur un vieux Lifebook B2175 qui dispose d'un écran tactile.
Celui ci est bien reconnu et fonctionne "presque" correctement, si ce n'est la calibration ( le curseur n'ai pas sous le stylet, sauf vers le centre de l'écran).
J'ai utilisé l'utilitaire "calibrator" (je ne sais plus très bien ou je l'ai trouvé) qui me permet de calibrer l'écran
il me fournit des offset a donné à evtouch
exemple
Code : Tout sélectionner
Option "MinX" "85"
Option "MinY" "980"
Option "MaxX" "970"
Option "MinX" "94"
/etc/X11/xorg.conf.d/10-evdev.conf
tels que
Code : Tout sélectionner
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "MinX" "85"
Option "MinY" "980"
Option "MaxX" "970"
Option "MinX" "94"
EndSection
En farfouillant sur le grand net, il semblerait qu'il faille installer
xf86-input-evtouch 0.8.8-7
un ptit coup de yaourt, mais la j'ai l'erreur de compilation suivante, un tour sur aur semble indiquer que ce pkg n'est pas maintenu.(fonctionnerait avec xorg 1.9.0)
Quelqu'un à une idée, sachant que j'avais réussi a calibrer (a peut près) cette écran sur une debian lenny (mais ce n'était pas la même version d'xorg, il me semble)
merci de m'avoir lu
Code : Tout sélectionner
make[1]: entrant dans le répertoire « /tmp/yaourt-tmp-root/aur-xf86-input-evtouch/src/xf86-input-evtouch-0.8.8 »
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DXINPUT -march=i686 -mtune=generic -O2 -pipe -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -march=i686 -mtune=generic -O2 -pipe -MT evtouch_drv_la-evtouch.lo -MD -MP -MF .deps/evtouch_drv_la-evtouch.Tpo -c -o evtouch_drv_la-evtouch.lo `test -f 'evtouch.c' || echo './'`evtouch.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DXINPUT -march=i686 -mtune=generic -O2 -pipe -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -march=i686 -mtune=generic -O2 -pipe -MT evtouch_drv_la-evtouch.lo -MD -MP -MF .deps/evtouch_drv_la-evtouch.Tpo -c evtouch.c -fPIC -DPIC -o .libs/evtouch_drv_la-evtouch.o
In file included from evtouch.c:93:0:
libtouch.h:51:9: erreur: unknown type name ‘LocalDevicePtr’
libtouch.h:61:44: erreur: unknown type name ‘LocalDevicePtr’
In file included from evtouch.c:94:0:
evtouch.h:143:9: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:106:36: erreur: unknown type name ‘IDevPtr’
evtouch.c:110:15: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:128:9: erreur: ‘EVTouchPreInit’ undeclared here (not in a function)
evtouch.c:186:13: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c: In function ‘emulate3Timer’:
evtouch.c:200:9: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:200:33: erreur: ‘LocalDevicePtr’ undeclared (first use in this function)
evtouch.c:200:33: note: each undeclared identifier is reported only once for each function it appears in
evtouch.c:200:48: erreur: expected ‘,’ or ‘;’ before ‘_local’
evtouch.c:201:59: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:205:34: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:215:43: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:224:43: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:236:43: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c: In function ‘DoBtnAction’:
evtouch.c:251:9: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:269:51: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c: In function ‘EVTouchProcessAbs’:
evtouch.c:320:3: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:324:31: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:328:31: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:335:31: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:339:31: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c: In function ‘EVTouchLBRBEvent’:
evtouch.c:388:9: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:399:57: attention : passing argument 5 of ‘TimerSet’ makes pointer from integer without a cast [enabled by default]
/usr/include/xorg/os.h:189:29: note: expected ‘pointer’ but argument is of type ‘int’
evtouch.c: Hors de toute fonction :
evtouch.c:494:16: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c: In function ‘DeviceOn’:
evtouch.c:507:9: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:507:33: erreur: ‘LocalDevicePtr’ undeclared (first use in this function)
evtouch.c:507:49: erreur: expected ‘,’ or ‘;’ before ‘dev’
evtouch.c:508:60: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:510:14: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:510:41: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:514:18: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:516:75: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:520:37: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:527:38: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:528:22: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:538:29: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:540:24: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:541:76: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:545:9: attention : passing argument 1 of ‘xf86AddEnabledDevice’ makes pointer from integer without a cast [enabled by default]
/usr/include/xorg/xf86Xinput.h:152:23: note: expected ‘InputInfoPtr’ but argument is of type ‘int’
evtouch.c: In function ‘DeviceOff’:
evtouch.c:561:9: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:561:33: erreur: ‘LocalDevicePtr’ undeclared (first use in this function)
evtouch.c:561:49: erreur: expected ‘,’ or ‘;’ before ‘dev’
evtouch.c:562:60: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:566:18: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:568:28: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:569:17: attention : passing argument 1 of ‘xf86RemoveEnabledDevice’ makes pointer from integer without a cast [enabled by default]
/usr/include/xorg/xf86Xinput.h:153:23: note: expected ‘InputInfoPtr’ but argument is of type ‘int’
evtouch.c:575:38: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:576:22: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c: In function ‘DeviceInit’:
evtouch.c:595:9: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:595:33: erreur: ‘LocalDevicePtr’ undeclared (first use in this function)
evtouch.c:595:49: erreur: expected ‘,’ or ‘;’ before ‘dev’
evtouch.c:596:60: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:653:9: attention : ‘Xcalloc’ is deprecated (declared at /usr/include/xorg/os.h:226) [-Wdeprecated-declarations]
evtouch.c:673:36: erreur: invalid type argument of ‘->’ (have ‘int’)
evtouch.c:686:36: erreur: too few arguments to function ‘xf86InitValuatorAxisStruct’
/usr/include/xorg/xf86Xinput.h:148:23: note: declared here
evtouch.c:695:36: erreur: too few arguments to function ‘xf86InitValuatorAxisStruct’
/usr/include/xorg/xf86Xinput.h:148:23: note: declared here
evtouch.c:721:9: attention : passing argument 1 of ‘xf86MotionHistoryAllocate’ makes pointer from integer without a cast [enabled by default]
/usr/include/xorg/xf86Xinput.h:166:23: note: expected ‘InputInfoPtr’ but argument is of type ‘int’
evtouch.c: Hors de toute fonction :
evtouch.c:809:24: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:885:13: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:903:12: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:923:15: erreur: unknown type name ‘LocalDevicePtr’
evtouch.c:1147:36: erreur: unknown type name ‘IDevPtr’
make[1]: *** [evtouch_drv_la-evtouch.lo] Erreur 1
make[1]: quittant le répertoire « /tmp/yaourt-tmp-root/aur-xf86-input-evtouch/src/xf86-input-evtouch-0.8.8 »
make: *** [all] Erreur 2
==> ERREUR: Une erreur s'est produite dans build().
Abandon...
==> ERREUR: Makepkg n'a pas pu construire xf86-input-evtouch.
==> Relancer la compilation de xf86-input-evtouch ? [o/N]
==> -----------------------------------------------------