touch screen
I all, I've been trying to set up a touch screen but am having a few prolems, he's what I do
1. modprobe usbtouchscreen 2. modprobe evdev 3. cat /proc/bus/input/devices No touch pad is detected, however if I disconnect the screen USB and reconnect it appears. I: Bus=0003 Vendor=0596 Product=0001 Version=0410 N: Name="3M 3M USB Touchscreen - EX II" P: Phys=/input0 S: Sysfs=/class/input/input3 H: Handlers=mouse1 event3 ts1 B: EV=b B: KEY=400 0 0 0 0 0 0 0 0 0 0 B: ABS=3 However the screen touch positions are are off (eg touch bottom and it mouse is at to ect). Can anyone help me out? First why do I need to dis and re connect the screen for it to be detected. Second how can I calibrate it. I've seen internet notes on using xorg.conf, but when I try it just crashes xorg. I'm running on etch. Thanks :) |
Hi
I'm working on a Micro Touch usb (17") too right now. Code:
cat /proc/bus/input/devices Loaded kernel modules: evdev usbtouchscreen Code:
Xorg -version Code:
Section "InputDevice" When I run X I can move the mouse but X and Y axes are switched. To solve this I did Code:
echo Y > /sys/module/usbtouchscreen/parameters/swap_xy Unfortunately these options are not working: # Option "SwapXY" "1" # Option "SwapX" "1" # Option "SwapY" "1" Uncommenting them gives no results. Did you find a way to solve the issues? Any help is really much appreciated |
Yes changed to ELO :o
|
yes
Quote:
|
MicroTouch, 3M, Fedora 9
I have a 15" touchscreen display and have some problems getting it working.
I installed the drivers, but I still have some basic problems, for example when I type: Code:
cat /proc/bus/input/devices | grep Name Code:
usb 8-1: new full speed USB device using uhci_hcd and address 3 |
Quote:
|
Quote:
In fact, it seems no matter what I put into xorg.conf the touchscreen doesn't change. Calibration is way off, and even drifts as I'm using it ... like it's not evey trying ... and x-axis is reversed. "Option "SwapX" "1" does nothing. I checked Dmesg and get this: Code:
input: 3M 3M USB Touchscreen - EX II as /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.0/input/input4 Code:
I: Bus=0003 Vendor=0596 Product=0001 Version=0410 Code:
Under ServerLayout: Of course, I have evtouch_drv.so in the /usr/lib/xorg/modules/input/ directory. I've also added modprobe usbtouchscreen and modprobe evdev to /etc/init.d/rc.local (incidentally I get no feedback when I do this at the prompt, even with -v (verbose) switch - but I don't knwo if this means anything). I changed xorg.conf to look at Option "Device" "/dev/input/event5" (as apparently it sometimes gets incremented after X restarts). No joy so I changed back to event4. From another discussion someone had success making it work by creating a udev rule to force the touchscreen to behave properly so xorg.conf would recognize it. So I also made a udev rule (created: /etc/udev/rules.d/010-local.rules) to force the touchscreen to /dev/input/touchscreen instead of /dev/input/event4 since it seems like xorg.conf isn't setting up the screen at all, and then changed xorg.conf to look for /dev/input/touchscreen instead of /dev/input/event4. The rule looked like this: Code:
new file: /etc/udev/rules.d/010-local.rules I've been pulling my hair out on this for a week, even trying with 3 different distros (SamLinux - like mandriva, knoppix - debian derivative which I learned on, and kanotix - a more apt-able version of knoppix), with no difference - xorg.conf seems oblivious to what I'm trying to do. I'm running out of ideas. Ideas anyone? Ultimately, based on the output above it seems to me (and if I'm wrong PLEASE point out where) that the failure is xorg.conf's inability to set it up with any calibration at all. It's like it doesn't even see it. I really could use some help. |
I could never get 3M to work elo works like a dream.
|
Fixed with ubuntu
Wow ... talk about easy. I read about doing this in one of my searches and it seems so easy I quickly dismissed it. Anyway, if you're not married to your distro (I'm not) and this doesn't work for you, try ubuntu which "out-of-the-box" does FDI policy instead of X config files. I just installed the evtouch package through their Synaptic Package Manager, created an intrepid fdi policy file, replug in the touchscreen USB cable, and boom! It worked and even seemed perfectly calibrated (though I imagine that was a fluke). I didn't even have to restart X.
Here's the details: 1) install xserver-xorg-input-evtouch (I used synaptic package manager ... universe repository enabled) 2) lshal | grep input.product make note of the name of your touchscreen when it comes up (mine was "3M 3M Touchscreen - EX II", it could also be "MicroTouch Systems, Inc. MicroTouch USB Touchscreen - EX II" if it's a 3M, and I think this will work with just about any other brand USB touchscreen too. evtouch is the driver to use if you have an USB touchscreen.) 3) Create the file /etc/hal/fdi/policy/touchscreen.fdi containing the following: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> Step 4: Unplug and plug back in the touchscreen. It should now work, no need to restart X! Didn't even need to recalibrate - it's right on. Note: After installing evtouch, "System->Administration->Calibrate Touchscreen" appears. Using this tool (at least for this particular chipset) results in an inverted X-axis. Don't touch it. |
For more information on the above method check out this link on HAL:
http://www.freedesktop.org/wiki/Software/hal You might as well get used to it ... from what I've read it looks like this is the future of Xorg (the the dismay of some who like to hard-code things). No more hard-coding anything into an xorg.conf file. It all works on a "hardware Abstraction Layer", kind of like how "plug-n-play" works in windows I think. HAL takes care of getting the plug-n-play info when a USB device is plugged in (or firewire, I'm sure) and then sets it up in xorg for you. In the above case I still had to create a policy file but I think ultimately the plan is that it would do that for you as well, or maybe xorg would do that part of it but the content seems it would be independent of the hardware so it should be pretty cut-and-paste. Anyway, in my Ubuntu distro the xorg.conf contains almost nothing and contains this blurb at the top: # Note that some configuration settings that could be done previously # in this file, now are automatically configured by the server and settings # here are ignored. Very cool if you ask me. Wish I'd have tried it a week ago, before I wasted all that time on hard-coding everything as I did to no avail. |
i have the same touch screen but mine is a serial and my mobo does not have a serial port i do have a usb adapter im runing x64 ubuntu with 2.6 kernel but ubuntu does not see the touch screen at all (the monitor works but no touch) im not sure what to do now
any help would be apreciated |
Quote:
Have you made sure the rs-232 is working? If not... First make sure your usb-rs232 is working, it should be auto detected (at least the ones I've used are) in 2.6. If you haven't got a rs232terminal download one, lots on net or apt-get. You'll need to work out what it's /dev is. You can then start up the terminal and attach a wire across the tx-rx pins on the rs232, you should then see what you type reappear in the rs232 terminal receive window. |
here is my lsusb
#Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC and here is dmesg #[ 862.489652] usb 1-7: new full speed USB device using ohci_hcd and address 10 [ 862.707923] usb 1-7: configuration #1 chosen from 1 choice [ 862.710876] ftdi_sio 1-7:1.0: FTDI USB Serial Device converter detected [ 862.710897] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected FT232BM [ 862.710951] usb 1-7: FTDI USB Serial Device converter now attached to ttyUSB0 i think the usbconverter is working? im not sure what to do |
i can run #cat /dev/ttyUSB0
and touch the screen and i do get output |
As I don't know what you've done I'll ask, sorry if you have
1 Have you downloaded and installed the correct drivers? 2 Have you made sure you've put the touchscreen into xorg? 3. If you get output from the screen, it must be driver or xorg set up. Have you tried cat /proc/bus/input/devices to see if it's seen as an input devicce |
All times are GMT -5. The time now is 03:53 AM. |