LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-05-2008, 08:32 AM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
3m usb touchscreen on Debian etch


Hello all,
I'm trying to get a 3m/microtouch screen to work with Etch.
First problem to get the screen to be detected I have to unplug the USB lead and replug in. This gets the touch working, however the x axis is in reverse and calibration is a little off.
cat /proc/bus/input/devices

shows

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



I've tried putting it into my Xorg.conf but this appears to have little effect.
I do the following
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "touchscreen0" #add this
EndSection

Section "InputDevice"
Identifier "touchscreen0"
Driver "microtouch" #tried mutouch no effect
Option "Device" "/dev/input/event3"
Option "DeviceName" "touchscreen"
Option "MinX" "2300"
Option "MinY" "2300"
Option "MaxX" "14000"
Option "MaxY" "14000"
Option "DragTimer" "200"
Option "MoveLimit" "600"
Option "ReportingMode" "Raw"
EndSection


So the first question is can anyone tell me what to do to get the screentouch to auto detect from boot?
The second is can anyone tell me how to get the xorg setups to be recognized?
Third how to get the x axis correct, presumable if xorg loads the set up in I can just use the the swap command? so this may no be needed.

I've spent two days on this trying everything from google, but with no luck so would love some advise. Thanks!

I should add that i apt'ed the xserver micro touch drivers, when I use these they turn the gnome black, that it appears to boot but the screen just flickers then goes black.

Last edited by knobby67; 06-05-2008 at 10:19 AM.
 
Old 06-05-2008, 03:24 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
This link seems to indicate theres a kernel module needed as well as the X drivers.. http://www.groomlakelabs.com/?q=linu...chscreen_howto


Code:
it-etch:~# modinfo usbtouchscreen
filename:       /lib/modules/2.6.18-6-686/kernel/drivers/usb/input/usbtouchscreen.ko
author:         Daniel Ritz <daniel.ritz@gmx.ch>
description:    USB Touchscreen Driver
license:        GPL
alias:          touchkitusb
alias:          itmtouch
alias:          mtouchusb
vermagic:       2.6.18-6-686 SMP mod_unload 686 REGPARM gcc-4.1
depends:        usbcore
alias:          usb:v3823p0001d*dc*dsc*dp*ic*isc*ip*
parm:           swap_xy:If set X and Y axes are swapped. (bool)
Not sure what you have tried already..

you could look to see what module is loaded when you plug-in the touchscreen and add it to /etc/modules

Unplug the touch screen usb cable
Open a shell and type
tail -f /var/log/messages
Plug in the touch screen and watch what module is automatically loaded.. that would be the module you would want to load automatically at boot time.

Last edited by farslayer; 06-05-2008 at 03:29 PM.
 
Old 06-06-2008, 02:17 AM   #3
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
Thanks but unfortunately that says the module is loaded

Jun 6 08:19:33 Axis kernel: input: 3M 3M USB Touchscreen - EX II as /class/input/input3



Anyone any ideas?

Infact when I lsmod it says it's loaded a module called
usbtouchscreen ?

Last edited by knobby67; 06-06-2008 at 02:54 AM.
 
Old 06-06-2008, 11:04 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
so if the module the touch screen is using is usbtouchscreen then you would add that to the /etc/modules file..

echo usbtouchscreen >> /etc/modules



this is from the old touchscreen driver how-to.. so reversing one of the axis probably works in a similar fashion
http://linux.chapter7.ch/touchkit/mini-howto.txt
Quote:
X/Y Swapped
~~~~~~~~~~~

in /etc/modprobe.conf add the line:
options touchkitusb swap_xy=1

alternatively you can do it after the module was loaded by doing (as root):
echo Y > /sys/modules/touchkitusb/parameters/swap_xy
apparently the touchkit module was replaced by the usbtouchscreen module



This guy looks like he got it working successfully including swapping the Y axis..
http://www.groupsrv.com/linux/post-867915.html

Last edited by farslayer; 06-06-2008 at 11:14 PM.
 
Old 09-11-2008, 06:26 PM   #5
d2army
Member
 
Registered: Jun 2004
Posts: 49

Rep: Reputation: 15
Hi everyone,

it looks like I am doing something similar to what you guys are doing too.

I am trying to get my 3M CT150 touch screen to work on my Ubuntu 8.04. I have gotten to the point where the microtouch driver loading with X Windows.

I noticed something amiss in the X11 logs (/var/log/Xorg.0.log ) :

(**) Option "Device" "/dev/input/event4"
(**) Option "MinX" "-7185"
(**) Option "MaxX" "-7185"
(**) Option "MinY" "7013"
(**) Option "MaxY" "2474"
Unable to query/initialize MicroTouch hardware.
(EE) PreInit failed for input device "3MTouchScreen"
(II) UnloadModule: "microtouch"

The MinX to MaxY values are calculated using the TouchCal calibration program from SourceForge.

I just don't know why the micro-touch driver will fail and unload.

Even though it looks like microtouch failed, I can still use the touch screen because the system module usbtouchscreen is still loaded. Except that the X-axis is flipped and the pointer is extremely jittery ( Y axis is fine )

I was wondering if any of you have encountered this issues before

Thanks
IS
 
Old 09-12-2008, 08:27 AM   #6
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
The 3m won't work correctly with Debian/Unbutu. I've spoken to their engineers who said drivers should be avalible by the end of August. No sign as yet.
I switch to ELO easy to install, better touch and doesn't "tint" the monitor as it uses a different technology.

You can sort of get it working like a mouse but to be honest it's a waste of time. Drivers are availble for Suse and RedHat if you want to change.
 
Old 09-12-2008, 08:01 PM   #7
d2army
Member
 
Registered: Jun 2004
Posts: 49

Rep: Reputation: 15
Quote:
Originally Posted by knobby67 View Post
The 3m won't work correctly with Debian/Unbutu. I've spoken to their engineers who said drivers should be avalible by the end of August. No sign as yet.
I switch to ELO easy to install, better touch and doesn't "tint" the monitor as it uses a different technology.

You can sort of get it working like a mouse but to be honest it's a waste of time. Drivers are availble for Suse and RedHat if you want to change.

Hi there, thanks for replying, I actually was able to get the source of the evtouch driver mentioned in the doc: http://www.nextabyte.com/support/tou...reen_HowTo.pdf

Once the evtouch driver is compiled, I was able to use the calibrator as well and now it is working
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing ITM touchscreen on Debian Etch tdunk Debian 4 07-15-2008 08:14 AM
Install debian etch from usb-device Sputnikc Debian 5 03-16-2007 06:19 AM
USB Palm not shown in /dev - Debian etch moisvon Linux - Hardware 2 06-14-2006 02:32 PM
USB camera Debian Etch chestnut1969 Debian 4 01-10-2006 02:44 PM
USB Stick on Debian-Etch 2.4, write is disabled SlackerLX Linux - Hardware 12 10-08-2005 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration