Thursday, May 27, 2010

Getting the Gateway CX and M series tablets working in Ubuntu 10.04 Lucid Lynx





I've recently had a struggle with the fpit drivers, but now have a perfectly working tablet in 10.04 and would like to share instructions on how to get the tablet on the Gateway CX and M series working. My model is a CX210X, but the following instructions should work for any model with a finepoint innovations digitizer.

After installing, you must first configure the serial interface. Open synaptic package manager from System > Administration > Synaptic and install the package setserial. Mark the package for installation and press apply to install it.


To configure the tablet, open a terminal from Applications > Accessories, and paste the following code:
sudo gedit /etc/serial.conf

A text editor will open. Paste the following line:
/dev/ttyS0 port 0x06A8 uart 16954 irq 4 baud_base 38400

Save and close the file.


Next we install the actual fpit drivers. As of 10.04, the fpit package provided in the ubuntu repo has some dependency errors and will not install. To get around this, you'll need to set up the X Updates repo by running the following command in terminal:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

Then you can open synaptic and hit the 'reload' button to refresh the repositories. Search for the fpit package and install it.

Next, the X server configuration must be written. The following configuration should work for most CX systems. If the following configuration does not work, then follow the instructions here to generate a configuration file, then add the layout to the server section later. You should only do this if the following configuration does not work. In a terminal, run:
sudo gedit /etc/X11/xorg.conf

If you do not have an nvidia graphics card, this file should be blank. Paste the following configuration:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Virtual 1664 768
EndSubSection
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "InputDevice"
Identifier "Tablet"
Driver "fpit"
Option "Device" "/dev/ttyS0"
Option "InvertY"
Option "MaximumXPosition" "12550"
Option "MaximumYPosition" "7650"
Option "MinimumXPosition" "400"
Option "MinimumYPosition" "400"
Option "SendCoreEvents" "true"
Option "Passive" "false"
Option "TrackRandR" "on"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
InputDevice "Tablet"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Save and close the file. Finally reboot your system and you should have a fully functioning tablet.

No comments:

Post a Comment