Configuring Pen Input on a Portégé M200
Foreword
I will present the solution to setup the Tablet PC touchscreen for linux on a Toshiba Portégé M200.Who needs this
Anybody with a Toshiba Portégé M200 who wants to get pen input under X.Getting a tablet device
You will need a program named setserial. So, first things first, you need to have a device (/dev/XXX) that represents your tablet. Look for an unused ttySX (ttyS5 or 6 will do the job if it doesn't exist). Or, if there is none free, create a device like this:mknod -m 666 /dev/wacomtablet c 4 64 /bin/chmod 666 /dev/ttyS3You need to do that before starting setserial. Now, setup the /var/lib/setserial/autoserial.conf like this
/dev/wacomtablet uart 16550A port 0x0338 irq 4 baud_base 115200 spd_normal(or ttySX instead if you choose to setserial on a ttyS device file)
You should now be able to dump tablet output by doing some cat /dev/wacomtablet
Setting Xorg up
Now, simply open the xorg configuration file and add those 3 sectionsSection "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/wacomtablet" Option "ForceDevice" "ISDV4" Option "Type" "cursor" Option "Mode" "absolute" Option "Speed" "3.0" Option "Threshold" "2" Option "Tilt" "on" Option "DebugLevel" "10" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/wacomtablet" Option "Type" "stylus" Option "ForceDevice" "ISDV4" Option "Mode" "absolute" Option "Tilt" "on" Option "TiltInvert" "on" Option "Threshold" "2" Option "DebugLevel" "10" EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/wacomtablet" Option "ForceDevice" "ISDV4" Option "Type" "eraser" Option "Mode" "absolute" Option "Tilt" "on" Option "TiltInvert" "on" Option "Threshold" "2" Option "DebugLevel" "10" EndSectionNow, don't forget to add input entries to the Section "ServerLayout". And you're set, ready to go