View previous topic :: View next topic |
Author |
Message |
jspeybro Tux's lil' helper
Joined: 06 Apr 2004 Posts: 121 Location: Brussels
|
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Thu May 01, 2008 5:49 pm Post subject: |
|
|
Hi,
You don't tell the type of connection (serial, usb).
But for the kernel you have the driver in the
Device Drivers --->Input device support --->[*] Touchscreens ---><M> USB Touchscreen Driver (for usb)
or <M> MicroTouch serial touchscreens (for serial)
Yes it is for 3M. At least the usb driver. And when it was serial it was named MicroTouch.
This driver (when loaded) create a evdevice that is used by xf86-input-evtouch.
So
Code: | emerge x11-drivers/xf86-input-evtouch |
And you need something like this in the xorg.conf
Code: |
Section "InputDevice"
Identifier "touchscreen0"
Driver "evtouch"
Option "Device" "/dev/input/event3"
Option "DeviceName" "touchscreen"
Option "MinX" "62"
Option "MinY" "1910"
Option "MaxX" "1966"
Option "MaxY" "45"
Option "ReportingMode" "Raw"
Option "SendCoreEvents"
EndSection
|
Depending on screen.
Ref:http://linux.chapter7.ch/touchkit/mini-howto.txt
P.S. I don't have any touchscreen. |
|
Back to top |
|
|
jspeybro Tux's lil' helper
Joined: 06 Apr 2004 Posts: 121 Location: Brussels
|
Posted: Fri May 02, 2008 12:12 pm Post subject: |
|
|
sorry, I forgot to mention the connection.
it's a serial connection. I'm currently using the sabayon kernel. from what I can see in the config, I think the touchcreen is supported and mircotouch is enabled.
I'll install the tool and see if I can get it to work in the weekend.
thanks already for pointing out this application.
Johan _________________ http://counter.li.org - Registered Linux user #295636 |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Fri May 02, 2008 1:17 pm Post subject: |
|
|
OK, 3M Microtouch touchscreen serial.
Then you only have to
Code: | emerge xf86-input-microtouch |
And calibrating tool
Code: | emerge x11-misc/touchcal |
And insert something like this into the xorg.conf (if you connect it to ttyS1)
Code: |
Section "InputDevice"
Identifier "TouchScreen"
Driver "microtouch"
Option "Type" "finger"
Option "Device" "/dev/ttyS1"
Option "ScreenNo" "0"
#subtracting shifts cursor right
#adding shifts cursor left
Option "MinX" "150" #left
Option "MaxX" "16233" #right
#subtracting shifts cursor up
#adding shifts cursor down
Option "MaxY" "200" #Bottom
Option "MinY" "16483" #Top
Option "SendCoreEvents" "yes"
EndSection
|
To test the comport you may
cat /dev/ttyS0 (or ttyS1)
then touch the screen and it would be some garble in the terminal.
And in the serverlayout section enter
Code: | InputDevice "TouchScreen" |
It work like a mouse so you only have to have the comport working in the kernel.
Regards |
|
Back to top |
|
|
iandoug l33t
Joined: 11 Feb 2005 Posts: 849 Location: Cape Town, South Africa
|
Posted: Thu May 21, 2009 7:37 am Post subject: POSterminal |
|
|
Hi
Am trying to set up a Point of Sale terminal to run Gentoo.
It has a built-in touchscreen (LCD) monitor. It's made in China and branded as "POS terminal" ...
I figured I should use x11-drivers/xf86-input-evtouch, but that seems to demand a lower version of xorg-server than 1.5:
Code: |
equery depgraph x11-drivers/xf86-input-evtouch | grep xorg-server
`-- x11-base/xorg-server-1.3.0.0-r6
`-- x11-base/xorg-server-1.5.3-r5 [ X ]
|
When I tried to install it, I got blocking with evtouch wanting 1.4 to pull in 1.3, and libpciaccess wanting 1.5.
So... is it possible to install x11-drivers/xf86-input-evtouch with xorg-server 1.5, or should I be using a different driver?
thanks, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 894 Location: Germany
|
Posted: Thu May 21, 2009 10:00 am Post subject: |
|
|
You can also install rpm-packages.
emerge rpm
I had to do that in order to get my Brother HL-2140 to work. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 894 Location: Germany
|
Posted: Thu May 21, 2009 10:02 am Post subject: |
|
|
You can also install rpm-packages.
emerge rpm
I had to do that in order to get my Brother HL-2140 to work. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu May 21, 2009 10:06 am Post subject: |
|
|
Moved from Kernel & Hardware to Unsupported Software. |
|
Back to top |
|
|
|