Linux Problems:Wacom Pen Buttons
Kernel Approach
The kernel approach to using the Wacom "Pen Buttons" would be to integrate the commands generated by clicking the buttons into "proc" devices. This integration would allow a script to monitor each button and perform an operation when when of the buttons is pressed, while this solution is better in the long run I do not have sufficient experience to implement it quickly (Hoover).
X.Org Approach
Since ther kernel provides a serial interface to the Wacom Pen Buttons, X.Org receives all of the serial information available to the kernel. Since I have experience with X.Org input drivers I will be using this information to generate X11 events when a button is pressed, this means that a script must be running (or a hotkey configured) to capture the X11 event and perform an operation.
Compiling Ubuntu X.Org
- Compiling Xorg requires (that I didn't have):
- bison
- lots of time
- Download Xorg Sources:
apt-get source xorg
- I copied the Linux config file to the appropriate location (this may not be necessary):
cp ./xc/config/cf/linux.cf ./xc/config/cf/host.cf
- The version I was compiling from Ubuntu requried me to download some files for "rman" (http://cvs.freedesktop.org/xorg/xc/extras/rman/) and copy them to the appropriate folder:
ls ../xorg-6.8.2/xc/extras/rman/ && cp * ../xorg-6.8.2/xc/extras/rman/
- Setup fontconfig:
- Setup with your system's info
mkdir xorg-6.8.2/xc/extras/fontconfig/ cp -R /usr/include/fontconfig/ xorg-6.8.2/xc/extras/fontconfig/
(yes, you want it to be fontconfig/fontconfig/)
- Download updated font config Then place fontconfig.pc.in, fonts.conf.in, and fonts.dtd in the same folder (xc/extras/fontconfig/), get them here: http://cvs.freedesktop.org/xorg/xc/extras/fontconfig/
- Download updated font config sources You need all of the files that belong in xc/extras/src/, you can download them from freedesktop.org: http://cvs.freedesktop.org/xorg/xc/extras/fontconfig/src/
- Setup with your system's info
NOTE: I am actively working on this, these instructions are incomplete
Once these configuration steps are complete you should run "make World" from the folder xorg-6.8.2/xc/