⇤ ← Revision 1 as of 2007-09-02 22:29:42
Size: 2729
Comment:
|
Size: 2735
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 46: | Line 46: |
Inputdevice "Stylus" | '''Inputdevice "Stylus"''' |
Introduction
Although the Wacom Stylus seems to work very well in Ubuntu, the Fujitsu Finepoint Stylus is still a major burden. This is partially because the stylus isn't just sensed, it actually relays information to the touch screen.
This guide was written for a Gateway M285-E, however it should work well on many other systems.
Before We Get Started
Let's make sure your system is up to date:
sudo apt-get update && sudo apt-get dist-upgrade
Configuring your X configuration
Open up your /etc/X11/xorg.conf file:
sudo nano /etc/X11/xorg.conf
Add these lines to the file:
Section "InputDevice" Identifier "Fujitsu" Driver "fpit" Option "Device" "/dev/ttyS0" Option "AlwaysCore" "on" Option "InvertY" Option "MaximumXPosition" "12550" Option "MaximumYPosition" "7650" Option "MinimumXPosition" "400" Option "MinimumYPosition" "400" Option "SendCoreEvents" EndSection
Find - Section "ServerLayout" Add InputDevice "Fujitsu" to it.
Example:
Section "ServerLayout" Identifier "Default Layout" screen 0 "aticonfig-Screen[0]" 0 0 Inputdevice "Generic Keyboard" Inputdevice "Configured Mouse" Inputdevice "Synaptics Touchpad" '''Inputdevice "Stylus"''' EndSection
Setting Up SetSerial
You'll want to first install setserial:
sudo apt-get install setserial
Now you'll want to set up the configuration file:
sudo nano /var/lib/setserial.conf
You'll need to add one of the following two lines to this file:
/dev/ttyS0 port 0x06A8 uart 16954 irq 4 baud_base 38400
/dev/ttyS0 port 0x03F8 irq 4 baud_base 38400
Now we'll do the same for /etc/setserial.conf
Open the configuration file:
sudo nano /var/lib/setserial.conf
Add one of the following two lines to this file: *Make this the same line that you added to /var/lib/setserial/autoserial.conf
/dev/ttyS0 port 0x06A8 uart 16954 irq 4 baud_base 38400
/dev/ttyS0 port 0x03F8 irq 4 baud_base 38400
Installing The Drivers
Installing the base drivers:
sudo apt-get install xserver-xorg-input-fpit
*Because of an issue with the M285-E being produced by gateway, we need a few different files.
Installing The Patch
If you're a little more advanced, you can download the source from here: http://xorg.freedesktop.org/releases/
Go to http://ubuntuforums.org/showthread.php?t=146279&page=3
Find the second post by one_sticky_bum and follow his instructions.
Setting Up Autoload
You'll need to edit your .xinitrc file:
nano ~/.xinitrc
Add these lines to the end:
xsetpointer TOUCHSCREEN xmodmap -e "pointer = 1 3 2"