<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#333333">
<tt><br>
Hi,<br>
<br>
This weekend I buy a Wacom Pen and Touch and sadly I realized will
not be something to plug and play with.<br>
<br>
First I try to install the fedora packages without luck and find
some bug reports.<br>
<br>
After that I've tried to compile from sources, but have some
troubles.<br>
<br>
Also read something about to put something in xorg.ini, but in
Fedora 12 it doesn't exist.<br>
<br>
In some sites I read we sould use xf86-input-wacom and other point
to linuxwacom.<br>
<br>
But today, in a mail from Chris Bagwell in linuxwacom-discuss, I
find a way to not have a brick in my home :)<br>
</tt>
<pre wrap="">
<a class="moz-txt-link-freetext"
href="http://sourceforge.net/mailarchive/message.php?msg_name=db599ead1003261005o6784fb47id353f7cca270bdba%40mail.gmail.com">http://sourceforge.net/mailarchive/message.php?msg_name=db599ead1003261005o6784fb47id353f7cca270bdba%40mail.gmail.com</a>
For Bamboo P&T users, as of today the best combination to use is
linuxwacom-0.8.5-10 kernel module and xf86-input-wacom-0.10.5 X input
module.
        So, this is my steps:
        First I've download de latest linuxwacom from:
<a class="moz-txt-link-freetext"
href="http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.5-12.tar.bz2">http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.5-12.tar.bz2</a>
        And followed the instructions to build the kernel modules from:
<a class="moz-txt-link-freetext"
href="http://linuxwacom.sourceforge.net/index.php/howto/buildwacom6">http://linuxwacom.sourceforge.net/index.php/howto/buildwacom6</a>
        Because in the past I tried to compile all stuff and get errors, this time, only build wacom and disable the other things:
./configure --disable-libwacomcfg \
--disable-libwacomxi \
--disable-wacdump \
--disable-xidump \
--disable-xsetwacom \
--disable-wacomxrrd \
--disable-wacomdrv \
--enable-wacom
----------------------------------------
BUILD ENVIRONMENT:
architecture - i686-redhat-linux
linux kernel - yes 2.6.30
module versioning - no
kernel source - yes /lib/modules/2.6.32.9-70.fc12.i686.PAE/source
XFree86 source - no
Xorg SDK - yes /usr/include/xorg
XSERVER64 - no
dlloader - yes
XLib - yes /usr/lib
xf86config - yes
TCL - yes /usr/include
TK - yes /usr/include
ncurses - yes
BUILD OPTIONS:
wacom.o - yes
wacdump - no
xidump - no
libwacomcfg - no
libwacomxi - no
xsetwacom - no
wacomxrrd - no
hid.o - no
wacom_drv.so - no /usr/lib/xorg/modules/input
wacom_drv.o - no
wacom*_drv quirks - IsXExtensionPointer key-events dixScreenOrigins
----------------------------------------
        After configure, 'make' run without problems.
        Next step, test the kernel modules following the instructions in this chapter (just follow next in the webpage):
        3.4 - Testing If wacom.(k)o Will Load
        So, after install the just compiled modules 'insmod ./wacom.ko', for the first time I see some good news in /var/log/messages
Mar 30 12:28:07 Citronela kernel: input: Wacom BambooFun 2FG 4x5 Pen as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input6
Mar 30 12:28:07 Citronela kernel: input: Wacom BambooFun 2FG 4x5 Finger as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.1/input/input7
Mar 30 12:28:07 Citronela kernel: usbcore: registered new interface driver wacom
Mar 30 12:28:07 Citronela kernel: wacom: v1.52:USB Wacom tablet driver
        To install permanently the module, just follow the instructions from:
        3.5 - Installing wacom.(k)o
        But in a brief
        cd <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>lib/modules/2.6.32.9-70.fc12.i686.PAE/kernel/drivers/input/tablet<span
class="moz-txt-tag">/</span></i>
        mv wacom.ko /tmp/linuxwacom-0.8.5-12/src/2.6.30/wacom_old.ko
        cp /tmp/linuxwacom-0.8.5-12/src/2.6.30/wacom.ko .
        Don't miss the note :)
        NOTE: Don't leave the backup copy in the same directory as the original.
        
        After this, re-test with 'depmod -e' and run without problems.
        Checking if kernel module is working
        
        cat /sys/bus/usb/drivers/devices
        T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
        D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
        P: Vendor=056a ProdID=00d1 Rev= 1.06
        S: Manufacturer=Wacom Co.,Ltd.
        S: Product=CTH-460
        C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr= 98mA
        I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=wacom
        E: Ad=81(I) Atr=03(Int.) MxPS= 9 Ivl=4ms
        I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=wacom
        E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=4ms
        And for the kernel module we are done... nothing more to do.
        Now follow for xf86-input-wacom-0.10.5, following the instructions in:
<a class="moz-txt-link-freetext"
href="http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Xf86-input-wacom">http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Xf86-input-wacom</a>
        
        git clone git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/xf86-input-wacom
        cd xf86-input-wacom
        ./autogen.sh --prefix=/usr
        After run autogen.sh, follow the hint to fedora. Go to Koji, choose the latest package for my distribution, in my case <a
href="http://koji.fedoraproject.org/koji/buildinfo?buildID=162622">xorg-x11-drv-wacom-0.10.5-1.fc12</a>, see the build log to my architecture (i686), open build.log file, and search the line '+ ./configure' bla bla bla, and copy and past to command line.
        ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static
        After this, make and make install do the rest without problems.
        The final step
        /etc/init.d/haldaemon restart
        And check if hal is seeing the device with 'lshal'
        At the end, a reboot, and voilá in /var/log/Xorg.0.log I've have
(--) Wacom BambooFun 2FG 4x5 Finger: Wacom USB Bamboo tablet speed=38400
maxX=0 maxY=0 maxZ=1023 resX=2540 resY=2540 tilt=disabled
(--) Wacom BambooFun 2FG 4x5 Finger: top X=0 top Y=0 bottom X=480 bottom
Y=320 resol X=2540 resol Y=2540
(--) Wacom BambooFun 2FG 4x5 Finger pad: top X=0 top Y=0 bottom X=0
bottom Y=0 resol X=2540 resol Y=2540
(--) Wacom BambooFun 2FG 4x5 Pen: Wacom USB Bamboo tablet speed=38400
maxX=14720 maxY=9200 maxZ=1023 resX=2540 resY=2540 tilt=disabled
(--) Wacom BambooFun 2FG 4x5 Pen: top X=0 top Y=0 bottom X=14720 bottom
Y=9200 resol X=2540 resol Y=2540
(--) Wacom BambooFun 2FG 4x5 Pen eraser: top X=0 top Y=0 bottom X=14720
bottom Y=9200 resol X=2540 resol Y=2540
        Without need to create or add something to xorg.ini
        Now it's working, not at 100%, but at least gimp see the device and the pressure is working.
        I hope this help someone.
        Regards,
        Filipe
</pre>
<tt></tt>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.flickr.com/photos/flip_pipe">http://www.flickr.com/photos/flip_pipe</a></pre>
</body>
</html>