Commit 1583ee5a9fd9486d540ecf639dda53d5e2e7502e

  • avatar
  • Peter Hutterer <peter.hutterer @wh…t.net>
  • Fri Jan 01 03:13:44 CET 2010
Update README to reflect current state a bit better.

This driver is an X11 driver only, and the configure options are explained
by configure --help. Let's not mirror this in the README, it may diverge
otherwise.

Add a very simple explanation on how to set up the driver fro hotplugging
with HAL, xorg.conf configuration is better explained in the man page.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
README
(20 / 47)
  
1README
2April 23, 2009
1This package provides the X.Org X11 driver for Wacom and Wacom-like tablets.
2It obsoletes the linuxwacom driver and supports X server versions 1.7 and
3higher. Server versions lower than 1.7 may be supported by this driver, but
4users are encouraged to use the old linuxwacom driver instead.
35
4==============================================================================
5Most end users would probably only need to update the /etc/X11/xorg.conf file
6and sometime probably the Wacom X driver as well to use the rich features that
7Wacom tablets offer. The steps could be as simple as:
6Provided that hotplugging is enabled in the X server, the simplest
7configuration is to copy the wacom.fdi file into /etc/hal/fdi/policies and
8to restart HAL and then plug in the tablet. The driver will autoconfigure
9itself.
810
9 $ su
10 # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
11 # gedit /etc/X11/xorg.conf
11If hotplugging is not possible or desired, an InputDevice section in the
12xorg.conf with the Driver wacom will load the device. Details on the
13configuration can be found in xorg.conf(5) and wacom(4).
1214
13then follow the step listed at http://linuxwacom.sourceforge.net/index.php/howto/x11
14or "man wacom" if you don't have network access to add sections for Wacom device.
15Since this driver is an X11 driver only, a kernel driver is required to get
16hardware support. If the kernel driver is older than this driver, some
17features may not be available.
1518
16If by some reason your distribution doesn't have include Wacom driver or you want to
17to use the newer release, you can download the package then
18
19 $ bunzip2 linuxwacom.tar.bz2
20 $ tar xvf linuxwacom.tar
21 $ cd linuxwacom/prebuilt
22 $ su
23 # yum remove linuxwacom
24 # ./uninstall
25 # ./install
26 # reboot
27
2819==============================================================================
2920
30However, if you have a USB tablet which is newer than your running kernel, i.e.,
31the tablet is not supported by your running kernel, or you are a developer who is
32willing to build the driver from the source, there are extra work waiting for you.
21BUILDING FROM GIT:
22 $ ./autogen.sh --prefix=/usr
23Adjust the prefix according to your local setup, in most cases, a prefix of
24/usr is correct.
3325
34==============================================================================
35
3626BUILDING FROM TARBALL:
3727
38As you would expect, run configure and make. Configure options are explained below.
39
4028 $ ./configure && make
29Adjust the prefix according to your local setup, in most cases, a prefix of
30/usr is correct.
4131
4232==============================================================================
43
44CONFIGURE OPTIONS:
45
46This file contains hints for building the sources. There are a number of build
47 targets, some of which are not built automatically. Here is the
48breakdown:
49
50 wacom.o: not built by default (--enable-wacom, --disable-wacom)
51 wacdump: built by default (--enable-wacdump, --disable-wacdump)
52 xidump: built by default (--enable-xidump, --disable-xidump)
53 xsetwacom: built by default (--enable-xsetwacom, --disable-xsetwacom)
54 hid.o: not built by default (--enable-hid, --disable-hid; Only kernels 2.6.18 or older need it.)
55 wacom_drv.o: built by default (--enable-wacomdrv, --disable-wacomdrv)
56
57There are many options, and configure will attempt to guess the correct
58values for most of them. By default, only wacomcpl, xsetwacom, wacom_drv.o,
59xidump, and wacdump program are built.
6033
6134Please surf the HOWTO page at http://linuxwacom.sf.net/index.php/howto/main
6235(or the miniHOWTO at http://linuxwacom.sourceforge.net/index.php/minihowto if