Wednesday, February 1, 2012

Hatteland 3M Microtouch Driver on Linux

The original driver work well if using default serial port, but it doesn't work for USB to Serial converter. If you have this problem, you can use open source mtouch driver in linux.

1. Detect your usb device
$ dmesg | grep usb
Usually /dev/ttyUSB0

2. Install mtouch driver
$ sudo apt-get install xserver-xorg-input-mutouch

3. Install inputattach to make the device using mtouch driver
$ sudo apt-get install inputattach
In other distro, it packaged as xinput-utils.

4. Connect the device
$ sudo inputattach -mtouch /dev/ttyUSB0

5. You can calibrate it by using xinput_calibrator
$ sudo apt-get install xinput-calibrator

2 comments:

  1. what is your usb2Serial converter's brand?
    I usually use usb2serial converter on linux without any problem :D

    ReplyDelete
  2. @lqman:
    Its Aten UC232A

    This converter works normally in other serial devices. But Hatterland drivers refuse to works with it. It only works with direct serial cable (not with converter to usb port)

    ReplyDelete