 
|
 |
|
VIP Member |
 |
| Posts
:
3 |
| Level
:
|
| Tech Points
:
1 |
| From:
France |
|
Posted:12/14/2009 6:29:00 PM |
|
The evtouch driver (On ubuntu 9.10) does not work on the T91 MT because
the touch screen device is a ASUS model (Bus 004 Device 002: ID
0486:0185 ASUS Computers, Inc.)
It registers as a usb
touchscreen at boot, dmesg tells me this but I can only control at this
moment through /dev/usb/hiddev0, as such it isn't a working touchscreen. I can see by doing # cat /dev/usb/hiddev0 and touching the screen that informations are comming but for the moment no xorg driver to handle this.
So for me we had to wait the driver/informations
from Asus to be able to use the touch-screen on the T91MT under linux ...
That's not cool ;-(
If somebody have a the solution, it will be very appreciate !
|
|
|
|
Member |
 |
| Posts
:
1 |
| Level
:
|
| Tech Points
:
1 |
| From:
United States |
|
Posted:12/18/2009 11:13:00 PM |
|
| Hey, I'm just posting to say that I'm also in need of the driver. I've looked around and can only find installation methods for the t91 (single touch) but nothing for the t91mt which seems to have a brand new screen. Any help would be appreciated.
|
|
|
|
VIP Member |
 |
| Posts
:
3 |
| Level
:
|
| Tech Points
:
1 |
| From:
France |
|
Posted:12/19/2009 2:32:00 AM |
|
Hello,
I'have modified the driver evtouch to make it work on the T91MT, It's not a multitouch driver and for the moment the long click to activate the right click does not work, but it's cool to do some web surf with the touchscreen!
I'have put the driver modified under rapidshare
http://rapidshare.com/files/322564853/xf86-input-evtouch-0.8.8.orig.eeeT91MT.tar.gz.html
Pre-requisite : You need to have the Poulsbo driver installed : https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo#karmic
And the curent ubuntu evtouch driver alos installed : xf86-input-evtouch
Then :
tar -xvzf xf86-input-evtouch-0.8.8.orig.eeeT91MT.tar.gz
cd xf86-input-evtouch-0.8.8.orig.eeeT91MT
Backup :
sudo cp /usr/lib/xorg/modules/input/evtouch_drv.so /usr/lib/xorg/modules/input/evtouch_drv.so.save
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.save
sudo cp ./.libs/evtouch_drv.so /usr/lib/xorg/modules/input/evtouch_drv.so
sudo cp ./xorg.conf /etc/X11/
sudo reboot
That's all,
Here, you can find in French, the way i have process :
Après avoir cherché (pendant quelques heures) et posté quelques messages sur les forum, je me suis résolu à checher par moi même une solution à ce problème J'ai utilisé les commandes lshal et lsusb et j'ai pu voir que 1) le touchscreen est vu comme un HID, ce qui est une bonne nouvelle 2) il s'interface sur /dev/input/event5, on peut voir rapidement que le touchscreen fonctionne en tapant la commande suivante dans un terminal : sudo cat /dev/input/event5 et ensuite en touchant l'écran, on voit des "choses" sortir...
En utilisant le petit programme ev.c suivant : #include <sys/types.h> #include <fcntl.h> #include <linux/input.h> #include <stdio.h> #include <errno.h>
main(int argc, char **argv) { struct input_event ev; int fd=open(argv[1],O_RDONLY); for (;;) { int r=read(fd,&ev,sizeof(struct input_event)); if (r==-1 && errno==EINTR) continue; if (r==-1) break; printf("Event: time %ld.%06ld, type %d, code %d, value %d\n", ev.time.tv_sec, ev.time.tv_usec, ev.type, ev.code, ev.value); } perror("read"); close(fd); }
que l'on compile via gcc ev.c -o ev et que l'on lance : sudo ./ev /dev/input/event5 On voit que les "choses qui sortent" sont des inputs que l'on retrouve en lissant le fichier usr/include/linux/input.h
Ensuite, j'ai pu voir que le driver de l'écran tactile du T91 (non MT) est le "evtouch", mais que une fois installé sur mon T91MT, il ne fonctionne pas, même en forçant sa description dans le /etc/X11/xorg.conf
Je suis donc allé à la recherche des sources de ce driver, et merci à Linux, cela est facile : http://packages.ubuntu.com/fr/source/karmic-updates/xf86-input-evtouch
Une fois l'archive récupérée, un ./configure donne les packages manquants pour pouvoir compiler (il faut installer les packages xserver-xorg-dev et gcc). La première recompilation me donne rien, des problèmes d'inculde, il semble que la version ne soit pas à jour... une nouvelle recherche à partir des erreur me permet de trouver le patch qui manque.
Une fois la compilation OK, je modifie le evtouch.h afin d'activer les traces par un #define EVDBG Je recopie le driver recompilé sous /usr/lib/xorg/modules/input/ sudo cp ./.libs/evtouch_drv.so /usr/lib/xorg/modules/input/evtouch_drv.so et modifier le xorg.conf que voici
Section "InputDevice" Identifier "touchscreen" Driver "evtouch" Option "Device" "/dev/input/event5" Option "DeviceName" "touchscreen" #Option "MinX" "98" #Option "MinY" "43" Option "MaxX" "3475" Option "MaxY" "3475" Option "ReportingMode" "Raw" #Option "Emulate3Buttons" #Option "Emulate3Timeout" "50" Option "SendCoreEvents" "On" Option "Calibrate" "0" EndSection Section "InputDevice" Identifier "dummy" Driver "void" Option "Device" "/dev/input/mice" EndSection
Section "Screen" Identifier "Ecran" Device "Carte" Monitor "Moniteur" DefaultDepth 24 SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection
Section "ServerLayout" Identifier "Default Layout" Screen "Ecran" #InputDevice "touchscreen" "CorePointer" InputDevice "touchscreen" "SendCoreEvents" InputDevice "dummy" EndSection
Section "Device" Identifier "GMA500" Option "AccelMethod" "EXA" Option "MigrationHeuristic" "greedy" Option "IgnoreACPI" "yes" Driver "psb" EndSection
Section "DRI" Mode 0666 EndSection
Dans les traces du serveur X sous /var/log/Xorg.0.log et après lecture du code du driver, que les j'ai pu voir que les EV_ABS remonté par la dalle du T91 sont pas traité par "evtouch" il s'agit de ABS_RY et ABS_RZ, une fois ces nouveaux EV ajouté dans le code du driver et la réactivation de la conversion (appel à la fonction ConvertProc), la dalle tactile fonctionne !
Par contre les points suivants ne sont pas réglés : 1) la calibration ne fonctionne pas, mais à priori les options suivantes du driver dans le xorg.conf Option "MaxX" "3475" Option "MaxY" "3475" le 3475 vient des essais avec le programme ev.c qui m'ont permi de voir en cliquant dans les coins, la valeur max remontée par la dalle tactile.
2) Le click long pour activer le clic droit ne fonctionne pas. peut-être un problème de config ? à creuser...
3) La stabilité globale ubuntu 9.10 + poulsbo + dalle tactile n'est pas parfaite, des "freezes" arrivent de temps à autre ...
4) ce n'est pas du multi touch ...
|
|
|
|
VIP Member |
 |
| Posts
:
8 |
| Level
:
|
| Tech Points
:
2 |
| From:
Romania |
|
Posted:12/23/2009 8:34:00 PM |
|
Hi,
I did try your solution and it is working fine. Did you saw this: http://www.lii-enac.fr/en/projects/shareit/linux.html ?
|
|
|
|
VIP Member |
 |
| Posts
:
5 |
| Level
:
|
| Tech Points
:
1 |
| From:
Canada |
|
Posted:12/26/2009 2:59:00 AM |
|
Thanks SamT91MT.
Your driver link is no longer available - could you give us source code or reactivate the driver link?
|
|
|
|
VIP Member |
 |
| Posts
:
8 |
| Level
:
|
| Tech Points
:
2 |
| From:
Romania |
|
Posted:12/26/2009 6:36:00 PM |
|
Quote:
Author: Posted: 12/26/2009 2:59:00 AM
Thanks SamT91MT.
Your driver link is no longer available - could you give us source code or reactivate the driver link?
|
I did upload again; I hope to not offend SamT91MT, because his the one who the best Christmas gift :) http://rapidshare.com/files/326065116/xf86-input-evtouch-0.8.8.orig.eeeT91MT.tar.gz
|
|
|
|
Member |
 |
| Posts
:
1 |
| Level
:
|
| Tech Points
:
1 |
| From:
Cambodia |
|
Posted:12/27/2009 12:29:00 AM |
|
Could somebody please repost this to some SENSIBLE location? This uselessshare crud does NOT WORK.
Try something intelligent, like USENET.
|
|
|
|
VIP Member |
 |
| Posts
:
5 |
| Level
:
|
| Tech Points
:
1 |
| From:
Canada |
|
Posted:12/27/2009 2:31:00 PM |
|
EDIT (12/27 3pm EST): Ok you can also
find these steps in the Ubuntu forum ALONG with the source/bin archive
so no more RapidShare nonsense :) If you aren't a member, why not
become one ;v) It's a wonderful community that seems to take it easy
on 'newbs' and very willing to answer the same question twice.
Here's the link - or copy paste
http://ubuntuforums.org/showpost.php?p=8566880&postcount=155
into your browser. Thanks Gabi!
That now compiles and works. However I still had to piece together the steps. Ok, I'm running Karmic 2.6.31-17, but I'll see if I can outline my steps here (NOTE! I'm running Karmic 2.6.31-17, so your "mileage" [results] may vary ;v):
- Install the video psb drivers via instructions here - although I had better luck with this blog post
- do "sudo apt-get install xserver-xorg-input-evtouch" (it's not xf86-input-evtouch
- you may need kernel source? Not sure about this - I did install it via Synaptics Package Manager so I could do a "make clean; make"
- download the source/binaries from Gabi's link (I'll see about putting it somewhere else - check back soon)
- do "tar -xvzf xf86-input-evtouch-0.8.8.orig.eeeT91MT.tar.gz"
- do "cd xf86-input-evtouch-0.8.8.orig.eeeT91MT"
- NOTE: at this point you could do a "make clean; make" to rebuild binaries - I believe
- do "sudo cp /usr/lib/xorg/modules/input/evtouch_drv.so /usr/lib/xorg/modules/input/evtouch_drv.so.save"
- do "sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.save"
- do "sudo cp ./.libs/evtouch_drv.so /usr/lib/xorg/modules/input/evtouch_drv.so" - NOTE: the .libs directory is hidden from an "ls" cmd - use "ls -a" to see it, or just "cd .libs" to look around.
- do "sudo cp ./xorg.conf /etc/X11/"
Shutdown and restart and you should have good screen resolution and some touch activity
EDIT/UPDATE: Calibration may not work BUT I found that if I used the following xorg.conf values I don't need it: Option "MinX" "0" Option "MinY" "0" Option "MaxX" "3475" Option "MaxY" "3475"
|
|
|
|
VIP Member |
 |
| Posts
:
3 |
| Level
:
|
| Tech Points
:
1 |
| From:
France |
|
Posted:12/30/2009 9:23:00 PM |
|
Hello everybody, it'was my first use of rapidshare and the last for me also , I'm agree that it's not a good thing. Thanks to to make my "findings" easy to share and use. As Gaby already said, I also want to say that somebody is working to do a multi-touch driver in france : see the following ubuntu forum : http://forum.ubuntu-fr.org/viewtopic.php?id=359307&p=2 He need some help for getting some logs from the HID driver, and I'will not be able to help him for the moment, if somebody have some time and a little experience in Linux, he could help. http://lii-enac.fr/en/projects/shareit/linux.html
|
|
|
|
Member |
 |
| Posts
:
1 |
| Level
:
|
| Tech Points
:
1 |
| From:
France |
|
Posted:1/6/2010 8:23:00 PM |
|
| Hi everybody, and happy new year!
I am the French person who is working on a multitouch driver for the T91MT. I already have contributed working Linux drivers for N-Trig, 3M and Stantum multitouch panels. You can see the result at http://www.youtube.com/watch?v=gj590HkBwYg.
Unfortunately, I don't own a T91MT so I need to rely on others to install my driver and send me the output of the 'evtest' utility. I need this because different devices give different semantics to the standard multitouch HID fields.
If some of you (or even Asus people) is willing to help, the driver is at http://lii-enac.fr/en/projects/shareit/hid-asus.c and there is a howto at http://lii-enac.fr/en/projects/shareit/linux-howto.html
|
|
|
|
|
|
|
|
|