Novell Home

Running SUSE Linux Professional 9.1 on a Tablet PC that has a Wacom based tablet

Novell Cool Solutions: Trench
By Tony Graham

Digg This - Slashdot This

Posted: 19 Apr 2005
 

Here is the scoop on running SUSE Linux Professional 9.1 on a Tablet PC that has a Wacom based tablet. SUSE Linux Professional 9.1 by default has Wacom support built in. The problem is it does not anticipate the "tablet" to be a built in one such as exists on a Tablet PC. I'm not sure on the technical whys, but Tablet PC's appear to use a special protocol called ISDV4. When you enable a tablet via YaST it sets the protocol to Auto. So here's the cut to the chase:

This document assumes you haven't yet mucked around trying to install using the documents at linuxwacom.sourceforge.net. If you have, you've likely already broken it beyond repair. I'd suggest starting over.

  1. Start up YaST.
  2. Go to Hardware, Select Graphics Card and Monitor
  3. Click the Change Button
  4. Select Input Devices and then Tablet
  5. Select Wacom, then select Graphire/Intuos (SERIAL)
  6. Click the Add Pen checkbox
  7. The Viewsonic Tablet runs on /dev/ttyS0 by default so you can ensure that is in the Port selection. If you know your Wacom runs on a different serial port you should be able to set it here.
  8. Click Finish
  9. Click Finalize
  10. Click Save on the Test settings screen
  11. Click Okay on the configuration change acknowledgement popup.
  12. Click Accept back at the Desktop Settings Screen. It may tell you that you have to restart X before the changes will take effect. You can ignore that at this time. You can close YaST at this point.
  13. Next you'll need to open a shell and su to root.
  14. Go to /etc/X11 and vi your XF86Config file (you may choose to make a copy first. cp XF86Config XF86Config.old or something like that.)

The config file prouced by YaST will have a section like this:

InputDevice

Driver

"wacom"

Identifier

"Mouse[3]"

Option

"BottomX" "30000"

Option

"Device" "/dev/ttyS0"

Option

"InputFashion" "Tablet"

Option

"Mode" "Absolute"

Option

"Name" "GRAPHIRE / INTUOS (SERIAL)"

Option

"SendCoreEvents" "on"

Option

"Type" "cursor"

Option

"Vendor" "WACOM"

InputDevice

Driver

"wacom"

Identifier

"Mouse[5]"

Option

"BottomX" "30000"

Option

"Device" "/dev/ttyS0"

Option

"InputFashion" "Pen"

Option

"Mode" "Absolute"

Option

"Name" "GRAPHIRE / INTUOS Stylus (SERIAL)"

Option

"Protocol" "Auto"

Option

"Type" "stylus"

Option

"Vendor" "WACOM"

You will need to change this section to look like this:

InputDevice

Driver

"wacom"

Identifier

"Mouse[3]"

Option

"Device" "/dev/ttyS0"

Option

"Name" "GRAPHIRE / INTUOS (SERIAL)"

Option

"ForceDevice" "ISDV4"

Option

"Type" "cursor"

Option

"Vendor" "WACOM"

InputDevice

Driver

"wacom"

Identifier

"Mouse[5]"

Option

"Device" "/dev/ttyS0"

Option

"Name" "GRAPHIRE / INTUOS Stylus (SERIAL)"

Option

"ForceDevice" "ISDV4"

Option

"Type" "stylus"

Option

"Vendor" "WACOM"

That's it! You're done. You can either init 3 and then init 5 to test it or just reboot. As you can see this is an extremely easy thing to do. Hopefully this problem will be sorted out in the next SuSE release.

A question you may ask yourself now would be, how does one login with a stylus and no keyboard (in the case of true "tablets" or slate PC's). In order to login using a virtual keyboard you can do the following:

  1. Using YaST go to Install/Remove Software
  2. In the search field put xkvbd
  3. Click "Search"
  4. In the results window check the box next to xvkbd
  5. Click accept in the lower right corner to install xvkbd
  6. Finally you will need to open a shell, su to root
  7. Go to the directory /usr/X11R6/lib/X11/xdm and edit the file "Xsetup"
  8. Somewhere in there add the line /usr/X11R6/bin/xvkbd &

I chose to add it in the Background section but it could be placed elsewhere. Here's an example:

# Background picture for plain xdm:
# Store your preferred picture in XPM format (see xv(1) or ppm(5))
# You can run gzip on the file BackGround.xpm to save disk space.
#
background=${XDMDIR}/BackGround.xpm
/usr/X11R6/bin/xvkbd &

This will create a virtual keyboard when X launches. Obviously you cannot login via a text based login with a stylus unless there is an equivalent keyboard available that uses curses or something.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell