Difference between revisions of "Wacom"

From CBLFS
Jump to navigationJump to search
(Configuration Information)
Line 22: Line 22:
 
== Configuration Information ==
 
== Configuration Information ==
  
'''<font style="color: green">Need to describe the kernel options here.</font>'''
 
 
Prior to building the driver, make sure the kernel is configured with support for HID and Input device support (INPUT_EVDEV). Newer kernels also contain support for the Wacom tablets; if you plan to use the kernel module available with the libwacom driver, make sure you '''have''' this option built as a module.
 
Prior to building the driver, make sure the kernel is configured with support for HID and Input device support (INPUT_EVDEV). Newer kernels also contain support for the Wacom tablets; if you plan to use the kernel module available with the libwacom driver, make sure you '''have''' this option built as a module.
  
Line 74: Line 73:
 
== Configuring ==
 
== Configuring ==
  
'''<font style="color: green">This section should contain information about the post-installation configuration of a package, bootscript(s), other files, creating directories.  Omit this section if there is no post-installation configuration required.</font>'''
+
'''<font style="color: green">To do after the concert: add UDEV rules, edit xorg.conf, GTK configuration, GIMP configuration, Synaptics configuration</font>'''
  
 
== Contents ==
 
== Contents ==
Line 83: Line 82:
 
|-valign="top"
 
|-valign="top"
 
!Installed Directories:
 
!Installed Directories:
|/path/to/dir
+
|/usr/include/wacomcfg
 
|-valign="top"
 
|-valign="top"
 
!Installed Programs:
 
!Installed Programs:
|Program 1, Program 2
+
|wacdump, wacomcpl, wacomcpl-exec, xsetwacom
 
|-valign="top"
 
|-valign="top"
 
!Installed Libraries:
 
!Installed Libraries:
|library1.{a,so}, library2.{a,so}
+
|libwacomcfg.{a,so}, libwacomxi.{a,so}
 
|}
 
|}
  
Line 96: Line 95:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
!Program 1
+
!wacomdmp
|is a program that converts pennies to dollars.
+
|is a program that dumps events from the tablet, useful for verifying your tablet works.
 
|-valign="top"
 
|-valign="top"
!Program 2
+
!xsetwacom
|is a program that converts dollars to pennies.
+
|is a program that allows you to set and get the current configuration of the tablet on the fly, without modifying the X configuration file and restarting. - ''currently not working with XCB''
 
|-valign="top"
 
|-valign="top"
!library1.{so,a}
+
!wacomcpl,wacomcpl-exec
|is a library that contains functions necessary to convert from dollars to pennies and vice versa.
+
|Graphical GUI for changing the current configuration of the tablet on the fly. - ''currently not working with XCB''
 
|}
 
|}

Revision as of 11:27, 1 July 2007

Download Source: http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.7.8.tar.bz2

Introduction to Wacom

The Linux Wacom Project manages the drivers, libraries, and documentation for configuring and running Wacom graphic tablets under the Linux operating system. It contains diagnostic applications as well as updated kernel drivers and XFree86/X11R6 XInput drivers.

Project Homepage: http://linuxwacom.sourceforge.net/

Dependencies

Caution.png

Note

The current version, 0.7.8, has problems when using xsetwacom if you have build your Xorg7 with XCB. You may want to refer to the home page for a new version that fixes these problems.

Required

Recommended

  • Gtk2 using the ./configure option --with-xinput=yes

Configuration Information

Prior to building the driver, make sure the kernel is configured with support for HID and Input device support (INPUT_EVDEV). Newer kernels also contain support for the Wacom tablets; if you plan to use the kernel module available with the libwacom driver, make sure you have this option built as a module.

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-dlloader &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 ./configure \
--prefix=/usr --x-libraries=/usr/lib --build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu --disable-xserver64 --enable-dlloader \
--with-arch=32 --with-xlib=/usr/lib --enable-wacom &&
make

Install the package:

make install

N32

To do

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 ./configure \
--prefix=/usr --libdir=/usr/lib64 --x-libraries=/usr/lib64 \
--enable-xserver64 --enable-dlloader --with-arch=64 --with-xlib=/usr/lib64 \
--enable-wacom &&
make

Install the package:

make install

Configuring

To do after the concert: add UDEV rules, edit xorg.conf, GTK configuration, GIMP configuration, Synaptics configuration

Contents

You can find a script here that can be used in conjunction with InstallWatch to make creating this table reasonably pain free.

Installed Directories: /usr/include/wacomcfg
Installed Programs: wacdump, wacomcpl, wacomcpl-exec, xsetwacom
Installed Libraries: libwacomcfg.{a,so}, libwacomxi.{a,so}

Short Descriptions

wacomdmp is a program that dumps events from the tablet, useful for verifying your tablet works.
xsetwacom is a program that allows you to set and get the current configuration of the tablet on the fly, without modifying the X configuration file and restarting. - currently not working with XCB
wacomcpl,wacomcpl-exec Graphical GUI for changing the current configuration of the tablet on the fly. - currently not working with XCB
Retrieved from "?title=Wacom&oldid=10547"