XFree86 and touchscreen


Forum: DSL-N
Topic: XFree86 and touchscreen
started by: Divago

Posted by Divago on Sep. 13 2007,15:22
Hi
another boring question on this dsl-n :D

keeping it short:
i tried a dsl on a pc with touchscreen; it all worked fine using XFree86 (well, i had to do some tricks but it worked fine)

then i had to change into dsl-n 'cause i need gtk2 and curl and some other things (plus: i got more space :D )
and i found no XFree86 for dsl-n

i tried to load XFree86.dsl from dsl (just downloaded) but nothing happens... simply myDSL extension browser seems to freeze in time...

Posted by Juanito on Sep. 13 2007,15:39
The xfree86 and xorg72 extensions work fine for me in dsl-n
Posted by Divago on Sep. 13 2007,16:51
Quote (Juanito @ Sep. 13 2007,11:39)

Quote
The xfree86 and xorg72 extensions work fine for me in dsl-n
U mean the XFree86.dsl?
why i can't install it using mydsl extension browser?

it worked for me once
then i rebooted machine (after adding
usr/X11R6/bin/XFree86
etc/X11/XF86Config-4
into my .filetool.lst)

then when machine rebooted it prompted me "unable to load required base modules, Exiting"

i had to change configuration into .xserverrc
start again with xvesa
and try to manually reload XFree86.dsl extension using GUI

BUT
it does not load. it open window, i select the .dsl file, and it freeze...

i need to redownload XFree86.dsl?
i need to download XFree 86 debian package and install it using dpkg?
i need to install xorg? how? (there is a .dsl xorg package? or using .deb package?)

Posted by Juanito on Sep. 13 2007,18:58
Yes, I was speaking of the XFree86.dsl extension - the only files you have to add to .filetool.lst are /etc/X11/XF86Config-4 and /home/dsl/.xserverrc (which is normally backed-up anyway) after editing it for XFree86.

If you add XFree86.dsl to /mydsl it will be loaded automatically at boot - anyway, it has to be loaded each time you boot dsl.

Posted by Divago on Sep. 14 2007,07:27
Quote (Juanito @ Sep. 13 2007,14:58)
Yes, I was speaking of the XFree86.dsl extension - the only files you have to add to .filetool.lst are /etc/X11/XF86Config-4 and /home/dsl/.xserverrc (which is normally backed-up anyway) after editing it for XFree86.

If you add XFree86.dsl to /mydsl it will be loaded automatically at boot - anyway, it has to be loaded each time you boot dsl.

Quote
Yes, I was speaking of the XFree86.dsl extension - the only files you have to add to .filetool.lst are /etc/X11/XF86Config-4 and /home/dsl/.xserverrc (which is normally backed-up anyway) after editing it for XFree86.
Oh ok cool
thanks
Quote
If you add XFree86.dsl to /mydsl it will be loaded automatically at boot - anyway, it has to be loaded each time you boot dsl.
anyway, 1) i created /mydsl folder BUT it seems i cannot copy mydsl here; 2) even forcing it to load manually, i got some problem: it does not load (the gui freeze, and the system still work but ps fax show process still running... after 8-9 hours is still running -.-) and, important, 3) now if i tell to start xfree86 system crash completely: no xwindow, no shell session (ctrl+alt+f1) nothing. only think i can do is entering throug ssh, but killing xfree does not work and i need to reboot machine...
:(

Posted by Divago on Sep. 14 2007,10:01
Quote (Juanito @ Sep. 13 2007,11:39)

Quote
The xfree86 and xorg72 extensions work fine for me in dsl-n
I just installed xorg72 extension (do you who is the author?? :D )
now it seems working.
i mean: x starting, machine does not freeze, etc
i think also maybe i can configure sisusb and other "devices"
plus, i feel more confortable with xorg :D

only problem, where can i download touchscreen drivers? into /opt/xorg72/lib/xorg/modules/drivers, i suppose, right? :D

but i cannot write into /opt directory :\

so maybe i need to use persistent /opt too?

btw thx for help AND good work with xorg72.dsl :D

Posted by Juanito on Sep. 14 2007,11:07
I think maybe the touchscreen drivers go in /opt/xorg72/lib/xorg/modules/input/ - maybe some of the drivers already there might work?

You might also be able to get a touchscreen working with XFree86 - note that the tsdev module might need to be loaded for this?

You can get a writeable /opt/xorg72 - at the cost of a lot of RAM - by copying /opt/xorg72 to /tmp/xorg72, unmounting /opt/xorg72 and then moving /tmp/xorg72 back to /opt/xorg72. Once everything works, you can then make your own personalised xorg72.uci...

Posted by Divago on Sep. 14 2007,12:52
[quote=Juanito,Sep. 14 2007,07:07][/quote]
Quote
I think maybe the touchscreen drivers go in /opt/xorg72/lib/xorg/modules/input/ - maybe some of the drivers already there might work?
Mmmh
touchscreen does not work
actually, xfree86 freeze while i start x

i installed xorg and it works correctly :D
i mean: it start x but does not work touchscreen

log says
Code Sample
(II) LoadModule: "evtouch"
(WW) Warning, couldn't open module evtouch
(II) UnloadModule: "evtouch"
(EE) Failed to load module "evtouch" (module does not exist, 0)
(EE) No Input driver matching `evtouch'
so i think is clearly a driver problem

i think copying evtouch_drv.so into module/input folder i'll resolve it, right?
Quote
You can get a writeable /opt/xorg72 - at the cost of a lot of RAM - by copying /opt/xorg72 to /tmp/xorg72, unmounting /opt/xorg72 and then moving /tmp/xorg72 back to /opt/xorg72. Once everything works, you can then make your own personalised xorg72.uci...

it says me
Code Sample

root@0[tmp]# umount /opt/xorg72
umount: /opt/xorg72: device is busy
umount: /opt/xorg72: device is busy
:(

Edit
Then, this is what i tried, step by step
1) what u said me; but i cannot umount /opt/xorg72
2) mount persistent opt on hda2. i do
#mount /dev/hda2 /mnt/hda2
#mkdir /mnt/hda2/opt
#cd /mnt/hda2/opt
#cp -arv /ramdisk/opt/* .
#cp whereisthedriver/evtouch_drv.so /mnt/hda2/opt/xorg72/lib/xorg/modules/input/

then add opt=hda2 in boot option (i did both editing menu.lst and adding them at boot prompt)
3) persistent opt, reboot, then
#cp -arv /opt/xorg72 /mnt/xorg72
#cp whereisthedriver/evtouch_drv.so /tmp/xorg72
#umount /opt/xorg72
#cp -arv /tmp/xorg72 /opt/xorg72

when i reboot, does not load module. i go check and there is no module O.O

Posted by Juanito on Sep. 14 2007,15:12
I believe you will have to exit x (right-click - window manager - exit) before you can unmount the uci.
Posted by Divago on Sep. 14 2007,17:13
Quote (Juanito @ Sep. 14 2007,11:12)

Quote
I believe you will have to exit x (right-click - window manager - exit) before you can unmount the uci.
Ops
i forgot to say i was working on shell (ctrl+alt+backspace) so no X running :)

btw, i found a way to make'em load the module: changed the modulepath from xorg.conf into /home/dsl/xorgmodules so i could add all modules i need (there are other modules i'll need to load in the near future...)

i started x and...

(II) Loading /home/dsl/xorgmodules/input//evtouch_drv.so dlopen: /lib/libc.so.6: version `GLIBC_2.4' not found (required by /home/dsl/xorgmodules/input//evtouch_drv.so)
(EE) Failed to load /home/dsl/xorgmodules/input//evtouch_drv.so

and i have glibc installed and working (other apps i run into dsl use glibc) but maybe 2.3.something
i downloaded newest evtouch_drv.so; i need to try using older version of evtouch

ty for help, i'll keep you informed :D

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.