Hi,
I know that might be a little bit outdated, but perhaps someone is
still in trouble with this problem.
The solution is: Use a kernel up to 2.6.15.x
All since 2.6.16.x is not working.
If you do so,
You can just install the rpm - sources from 3m website.
and then
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.7.tar.bz2
tar xjf linux-2.6.15.7.tar.bz2
cd linux-2.6.15.7
cp /boot/config-<actual kernel> ./.config (or make oldconfig :))
make
cd /usr/src/packages/SPECS/
rpmbuild -ba TWdrv.spec
I hope it helps someone.
Mike
On Tue, 24 Oct 2006, Glen Turner wrote:
Grant Parnell - EverythingLinux wrote:
For the serial version I used the xorg 'microtouch' driver,
this USB one works without modifying the xorg.conf file. I would be
happy to modify the xorg.conf file if the USB version could be coaxed
into looking like a serial port.
At a guess the USB panel is being picked up by the kernel
input layer and mixed in with all the other mice-like pointers
to appear at /dev/input/mice. Since /dev/input/mice is already
mentioned in your /etc/X11/xorg.conf you're seeing it just work.
Based on the USB IDs you should have a mtouchusb kernel module
loaded.
cat /proc/bus/input/devices gives
I: Bus=0003 Vendor=0596 Product=0001 Version=0400
N: Name="3M 3M USB Touchscreen - EX II"
P: Phys=/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=3
Yep, that "Handlers=mouse1 event3" mean that it's being
mixed into /dev/input/mice.
That swapped axis shouldn't be happening. Pull the kernel source
for drivers/usb/input/mtouchusb.c and make sure the exact model
is listed, as there's a note in there about the Y axis handling
that makes me wonder if you don't have hardware with a "feature"
corrected.
If that still sucks you'll need to swap the axises in X11 as
the input layer doesn't allow such niceness.
Hope this is somewhat helpful,
Glen
Just letting people know how I got on with this. Basically all WILL
be well with the kernel module usbtouchscreen as significant work is
BEING done in this area. The main problem is with people agreeing on
calibration support. For me, I was happy to use the Touchware drivers
supplied by 3M for Fedora Core 4 which do hardware calibration (ie
the calibration gets stored in the touch screen hardware). For your
normal desktop situation it's as easy as installing one RPM, removing
the mutouch.ko module (it conflicts with the Touchware one) then
executing /etc/twscreen/TWCalib/TwCalib as root once to do the
calibration.
They do supply a source RPM but I couldn't get that to compile for
FC5. Here's what it contains. It's worth noting that each time it
starts up and shuts down it finds your X config (XFree or Xorg) and
edit's in/out the bits required.
/etc/init.d/TWDrvStartup
/etc/twscreen
/etc/twscreen/TWCalib
/etc/twscreen/TWCalib/MultiMonitorTool
/etc/twscreen/TWCalib/TwCalib
/etc/twscreen/TWXinputInstall.perl
/etc/twscreen/install
/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/input/touchscreen
/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/input/touchscreen/TWDrv.ko
/sbin/TWDrvStartup
/usr/X11R6/lib/modules/input/TWXinput_drv.o
/usr/lib/libMultiMonitor.so
/usr/lib/libTwCaliblib.so
/usr/lib/libTwGraphics.so
/usr/share/doc/TWDrv-5.64
/usr/share/doc/TWDrv-5.64/BUILTWITH
/usr/share/doc/TWDrv-5.64/Readme.txt
Now I'm just having a lot of 'fun' getting all this together on a
read-only filesystem on compact flash. I've got a build script I'm
tweaking, it's just a bit tedious.
--
---<GRiP>---
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.
ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html