Touchscreen HOWTO

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
divisionmd
Posts: 606
Joined: Sat 14 Jul 2007, 20:42

#16 Post by divisionmd »

Hello all,

- Thanks alot for help got it working!

Best regards,
Johan

riel
Posts: 2
Joined: Fri 08 May 2009, 00:01

#17 Post by riel »

I found out that my device uses a PS2 touchscreen, on the motherboards Mouseinput.

The mouse driver must be capable of doing this. Anyone knows how? I feel that it is really interfering with my mouse.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#18 Post by tempestuous »

riel wrote:I found out that my device uses a PS2 touchscreen ...
The mouse driver must be capable of doing this.
Ah yes, that's a problem. I think that the mouse driver, which is statically built into the Puppy kernel, must be configured to cope with touchscreen functions. The kernel in Puppy 4.1/4.2 does not have this enabled. I attach an image of Puppy's kernel configuration where you can see this.

Maybe you could lobby Barry to enable the Touchkit PS2 setting for uPup?
Attachments
mouse-kernel-config.jpg
(6.65 KiB) Downloaded 5396 times

wosifat
Posts: 104
Joined: Sun 29 Jun 2008, 22:15
Location: Madison Heights, VA
Contact:

#19 Post by wosifat »

Crazy question get!
I saw somewhere online that would convert a Macbook to a tablet. Can the same be done with PC notebooks? (Somewhat related I guess.)

andrewr
Posts: 8
Joined: Tue 21 Apr 2009, 02:13

#20 Post by andrewr »

tempestuous wrote:
riel wrote:I found out that my device uses a PS2 touchscreen ...
The mouse driver must be capable of doing this.
Ah yes, that's a problem. I think that the mouse driver, which is statically built into the Puppy kernel, must be configured to cope with touchscreen functions. The kernel in Puppy 4.1/4.2 does not have this enabled.
Bugger.

My Panasonic Toughbook CF-29 uses a Fujitsu FJC600 touchscreen via the PS2 port. It sort of works but is not usable (ie where you touch and where the mouse cursor ends up are two different places.)

Ah well.....

The_Pirate
Posts: 7
Joined: Wed 22 Jul 2009, 11:46

PS/2 trouble

#21 Post by The_Pirate »

Hi -
I have a Fujitsu/Siemens B-2131 lifebook.

Of course, i did not read all the entries in this thread (If everything fails, read the manual...) and tried to configure it for a serial touchscreen. Stupid as usual.

It didn't work, so i assume it must be a PS/2 screen..as somebody wrote it would be in a "B" series...

There is absolutely no response from the touchscreen...also not from the PS/2 connector, when i plug a trackball into the socket, even though the configuration program found the PS/2 port.
The built in 'mouse' (a little funny green joystick in the keyboard) as well as a external USB mouse work fine.

Has anybody managed to get one of these screens to work? If you have ideas, i volunteer as a Guinea Pig. I'm just not that fast on the uptake, so please write really slow...:P

MthNrd
Posts: 1
Joined: Wed 19 Aug 2009, 17:00

Another Fujitsu B-series Lifebooker Here

#22 Post by MthNrd »

If I can't get the touchscreen to work, I will drop it off at the shelter and revert back to Win2000

Working with a B-2175...

Someone, somewhere, HELP US!!!

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#23 Post by tempestuous »

As I said earlier in this thread -
http://www.murga-linux.com/puppy/viewto ... 653#295653
the B-series Lifebooks have a PS/2 touchscreen interface, so they cannot be made to work with Puppy.

The_Pirate
Posts: 7
Joined: Wed 22 Jul 2009, 11:46

#24 Post by The_Pirate »

tempestuous, i ACK that the kernel options are currently missing. But i refuse to give up. I'm a stubborn old git.

So, we need a new kernel. I see two options:
1) Puppy supplies one. It would be appropriate that the new kernel contains the fix for the recent "null pointer" flap, this way everybody benefits. I guess this involves "lobby Barry", but i'm not sure how to do that.
2) Where is the stuff we need to roll our own kernel? Then we'll just have to do it ourselves.

From there on, i guess we'll have to play it by ear.

BTW, may i compliment tempestuous on the amount of work, as well as the quality of it, on the subject of touchscreeens? I have not found any other guides on the web, no matter for what distro, that deals with touchscreens with the new kernels. IMHO this deserves to be worked into a "Touchscreens on Linux 2.6 HOWTO", as there currently seems to be no such thing...

Thanks for your work!

caiooiac
Posts: 17
Joined: Fri 09 May 2008, 17:28

#25 Post by caiooiac »

Hello everyone

I'm with the same problem as the lifebook b-series owners. I have a fujitsu lifebook B-2154 and am trying to make the touchscreen work.

I'm sorry to hear that the pro in touchscreen think we have no solution... and I'm to ignorant to really help or even to disagree, but from my research I think is possible. Just isn't a real good how to like this one...

All explain my point of view: three successful installations in my model

http://users.tkk.fi/u/jjvayryn/B2154.html
http://www.minus1.de/s/lifebook-linux.html
http://www.shappyhopper.co.uk/b2154/

No one is with puppy, but they are all linux...

Here we have someone who made the drive and teaches how to use it:

http://stlx01.stz-softwaretechnik.de/~k ... touch.html

Mine doesn't work with his configuration. He has a kernel pach, but he says kernel 2,6,13 and newer doesn't need it, so I don't have it (and because I don't know how to make a kernel pach...).

And last but not least we have this threat:

http://www.murga-linux.com/puppy/viewto ... 06a36932fe

Where one or to guys manage to make the touchscreen work.

As I said before I'm far far away from been a advanced user and can't figure out what I doing wrong, so I have some questions, hope you can help me.

-Do I need to do the kernel pach?
-I downloaded the evtouch drive and copy it to /usr/X11R6/xorg/lib/modules/input (or something like that, I don't have my laptop on now). Is this installing the drive or do I need to do something else?
-Booting the default puppy 4.21 already make my touchscreen work (but not at properly). When I edit xorg.conf like said in the last site, nothing works (touchscreen and mouse stick), but if I delete either one of the corepoints entry, it works like before. What's up with that??

Thank you in advance for any help

caiooiac
Posts: 17
Joined: Fri 09 May 2008, 17:28

#26 Post by caiooiac »

I can't believe it!!!!! I just got my touchscreen working!!!!!!

I was trying to do that for ages!! I'm so happy!

So I'll tell how I made mine work:

Downloaded evtouch-0.8.7.tar.gz from http://stlx01.stz-softwaretechnik.de/~k ... touch.html and copied the evtouch_drv.so to /usr/X11R6/lib/xorg/modules/input

Then I add to /etc/X11/xorg.conf

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "touchscreen" "CorePointer"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event2"
Option "DeviceName" "touchscreen"
Option "MinX" "44"
Option "MinY" "93"
Option "MaxX" "975"
Option "MaxY" "990"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
EndSection

That is Mr_Parker configuration (http://www.murga-linux.com/puppy/viewto ... 06a36932fe). That's the same as the download place, but with the correct numbers for my laptop model.

And the only deference in my case (and it made all the difference ) was in this line:

Option "Device" "/dev/input/event2"

When I changed mine to event1 it worked!!!!!!

So goof luck everyone, hope you manage to make your's work.

Bye

IT-Schaf
Posts: 8
Joined: Mon 14 Sep 2009, 13:51

#27 Post by IT-Schaf »

I use an Simatic Touchscreen with a Semtech Screencoder, it is a USB-Touchscreen. The Driver from Touch Base Ltd dosn´t work, same at evtouch, evdev and other. The Touchscreen is running but not configurable it´s horrible.

I changed the Xorg and written an udev rules, but nothing helps.
The configuration tool from TouchBase is running, but i can´t use them, because the mousepointer is overwrite the pointer from touchscreen i think. Anyone ideas?



:shock: Dummymode: ON :shock:

vaskoiii
Posts: 7
Joined: Thu 18 Mar 2010, 08:52

#28 Post by vaskoiii »

My Computer:
Lifebook p1120

Puppy Version:
4.3

Issue:
Touchscreen worked out of the box but config values are ignored.

Code: Select all

#cat /proc/bus/input/devices
I: Bus=0003 Vendor=0430 Product=0508 Version=0100
N: Name="Fujitsu Takamisawa USB Touch Panel"
P: Phys=usb-0000:00:02.0-3/input0
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb1/1-3/1-3:1.0/input/input8
U: Uniq=
H: Handlers=mouse1 event8 js0 
B: EV=1b
B: KEY=70000 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10
On boot the touchpanel works and everything but I can't figure out how to configure it. I have followed this HOWTO for USB and Serial Touch Panels but it doesn't seem to matter what I put as config values. The touchpanel always seems to put the cursor in the same place no matter what MinX, MaxX, MinY, MaxY values I put.

Please advise.
Last edited by vaskoiii on Thu 18 Mar 2010, 22:17, edited 1 time in total.

maddmike
Posts: 14
Joined: Tue 17 Jun 2008, 20:03

#29 Post by maddmike »

vaskoiii wrote:The touchpanel always seems to put the cursor in the same place no matter what MinX, MaxX, MinY, MaxY values I put.
This was also the "best" result I got with my Panasonic T-5, which has a Fujitsu USB touchscreen. My theory was that X11 was getting data from the touchscreen, but it was in the wrong format, so it couldn't get real X,Y positions. I tried different drivers, different "DEVICE" settings in Xorg.conf, different options. Sometimes I could change the location of where the mouse pointer would go, but it was always stuck in one location.

I gave up after getting to this point.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#30 Post by tempestuous »

vaskoiii, you make no mention of whether you installed the touchscreen-Puppy4.1.pet from the first page in this forum thread.
This is essential, you must install this dotpet, because Puppy lacks any form of Xorg input plugin to support touchscreen devices.

Then you must adapt my instructions to your own particular situation; in the "HOWTO - USB touchscreens" post I explained how to configure Xorg to use the "evtouch" Xorg plugin ... but this Xorg plugin is not necessarily compatible with your touchscreen!
I think (??) that your touchscreen plugin will be "fujitsu", not evtouch.

So when you add a new InputDevice section to your /etc/X11/xorg.conf
it should look like this -

Code: Select all

Section "InputDevice"
    ...
    Driver "fujitsu"
    Option "Device" "/dev/input/event8"
    ...
EndSection
Save.
Then restart X (Ctrl < Alt > backspace) after every configuration change.

Of course, the usbtouchscreen and evdev kernel modules must also be loaded.

vaskoiii
Posts: 7
Joined: Thu 18 Mar 2010, 08:52

#31 Post by vaskoiii »

@tempestuous

NO Luck:
xorg just goes to a black screen. Am I missing something?

Package installed but no menu entry:
touchscreen-Puppy4.1.pet

modules.conf:
#after running alsaconf, stuff gets appended...
alias char-major-13-67 evdev

rc.local:
modprobe usbtouchscreen
modprobe evdev

xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "touchscreen" "CorePointer"
InputDevice "dummy"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "fujitsu"
Option "Device" "/dev/input/event8"
Option "DeviceName" "touchscreen"
Option "MinX" "98"
Option "MinY" "43"
Option "MaxX" "940"
Option "MaxY" "925"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
EndSection

Section "InputDevice"
Identifier "dummy"
Driver "void"
Option "Device" "/dev/input/mice"
EndSection


# Perhaps this link can help to for configuration of the p1120:
http://sifter.org/~simon/journal/20030911.html

vaskoiii
Posts: 7
Joined: Thu 18 Mar 2010, 08:52

#32 Post by vaskoiii »

Fujitsu P1120 Working!

Maybe you need the touchpanel pet file from the beginning of this forum still but after that all you need is...

In:
/etc/X11/xorg.conf
Under:
Section "ServerLayout"
Add:
InputDevice "touchscreen" "CorePointer"

Also add the following:
Section "InputDevice"
Identifier "touchscreen"
Driver "evdev"
Option "Device" "/dev/input/js0"
Option "DeviceName" "touchscreen"
EndSection

Now you will need to download and use Joytouch:
http://sifter.org/~simon/journal/ims/20 ... ch-1.2.tgz

All you have to do is:
chmod 777 runjoy
./runjoy

Note: I typed all this out by hand so there might be some typos and you will also probably want to have it load the following on startup:
./runjoy

I didn't cover that here yet... I spent forever trying to configure this... and I just wanted something up that works for the P1120!

All I need now is to figure out how to run this script on startup.
rc.local doesn't seem to work with:
/root/joytouch-1.2/runjoy

flickerfly
Posts: 5
Joined: Mon 12 Apr 2010, 20:16

#33 Post by flickerfly »

I'm trying to figure out how to get my touchscreen on this MSI Pennote 3100 working. I have looked at the manual and website, but haven't found much more than information identifying it as a touchscreen.

I can't seem to identify who made the device or anything. I guess it simply runs through the motherboard's PS/2 port from what I've derived from /proc/bus/input/devices. Is there any other way to identify it?

Having read through this, is it correct that Puppy doesn't support any PS/2 touchscreens or just some? I'm a bit confused.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#34 Post by tempestuous »

flickerfly wrote:is it correct that Puppy doesn't support any PS/2 touchscreens
Correct.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#35 Post by Aitch »

Hi tempestuous/other interesteds

untested, but couldn't PS2 to USB adapter be used....?
Older computer monitors that offered touch screen capabilities often used a PS/2 interface to transmit the coordinates touched on the monitor to the computer. Touch screens work in a very similar way to a mouse, with the actual screen coordinates replacing mouse movement data and tapping on the screen replacing mouse clicks. In some cases, a touch screen that uses the PS/2 interface may have a pass-through that also allows you to use a mouse with your touch screen. However, the touch screen would likely have priority in cases of conflicts between mouse input and screen input. How this works will depend on the how the hardware and software of the touch screen are designed. Older touch screens use the PS/2 interface. More modern touch screens use USB.
http://www.ehow.co.uk/list_6311834_uses ... ector.html

Some clever clogs may try their own connections ps2>usb

http://pinouts.ru/InputCables/usb_ps2_m ... nout.shtml

[Info gathered whilst researching Car PC project]

However check out Chinese touchscreens [usb solderless] for EEEPC etc on ebay....they're getting cheap!!

HTH

Aitch :)

Post Reply