Page 1 of 115 1231151101 ... LastLast
Results 1 to 10 of 1141

Thread: HOW TO Set Up the Bamboo Pen & Touch in Lucid

  1. #1
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Maverick, Natty, Oneiric, & Precise. Also can be used to set up other Wacom Tablets.

    A Call for Testers: Attention third generation BambooPT users with the Wireless Option (the Capture and the Create). Chris Bagwell has a preliminary Wireless driver available for testing with instructions on linuxwacom-devel here. Please post your results on linuxwacom-discuss. Good luck and have fun!

    Last updated: May 2, 2012

    Sources
    Developers responsible for the Bamboo P&T drivers:
    From Ubuntu forums: Ayuthia, obe1kenobi, and multiple testers
    From the LWP: Chris Bagwell, Ping Cheng, Peter Hutterer

    New Wacom Bamboo not working
    New Wacom Bamboo not working post #384
    Wacom Bamboo Pen and Touch Series Development
    LinuxWacom HOW TO.
    Loic2's Wacom wiki.
    The Linux Wacom Tablet Project sourceforge site.
    The Linux Wacom Project's mediawiki main page
    The Linux Wacom Project's mediawiki xf86-input-wacom HOWTO's.
    The Linux Wacom Project's mediawiki linuxwacom HOWTO's by Ping Cheng.


    Ubuntu Release Specific Notes
    Precise Pangolin (12.04): The original Bamboo Pen and Touches (introduced Oct. 2009) work out of the box with the 3.2 kernel's wacom.ko and the current default xf86-input-wacom-0.14.0 X driver. The second and third generation models require an updated wacom.ko from input-wacom.

    Oneiric Ocelot (11.10): The original Bamboo Pen and Touches (introduced Oct. 2009) work out of the box with the 3.0 kernel's wacom.ko and the current default xf86-input-wacom-0.11.0 X driver. The third generation models require at least input-wacom-0.12.0 and touch for the second generation models requires input-wacom-0.12.1. Gimp is currently broken for all tablets, see this Launchpad bug report. Use Aapo Rantalainen's PPA to get a usable Gimp.

    Natty Narwhal (11.04): The original Bamboo Pen and Touches work out of the box with the 2.6.38 kernel's wacom.ko and the current default xf86-input-wacom-0.10.11 X driver. I would suggest upgrading xf86-input-wacom. The second and third generation models require input-wacom-0.12.1.

    Maverick Meerkat (10.10): Because the default wacom.ko does not work for the Bamboo Pen and Touches you need to compile a newer wacom.ko. We're currently getting that from input-wacom. Additionally a current xf86-input-wacom has better gesture support and more capabilities and bug fixes so we compile and install that also.

    Lucid Lynx (10.04): Because the default wacom.ko does not work for the Bamboo Pen and Touches you need to compile a newer wacom.ko. We're currently getting that from input-wacom. Additionally a current xf86-input-wacom has better gesture support and more capabilities and bug fixes so we compile and install that also. You do need to update Lucid's xorg-macros 1.5 version to v. 1.8 before compiling either input-wacom or xf86-input-wacom.


    Miscellaneous Notes
    Sample xsetwacom scripts for other tablets and tablet pc's attached to post #2 below.

    The X.org xf86-input-wacom and LinuxWacom input-wacom driver tars are available at the usual sourceforge linuxwacom driver site.


    Wacom Bamboo Pen & Touch models
    Code:
    First Generation models (released October 2009):
    Bamboo Touch 				touch, pad					
       (CTT460; Product ID = 0xd0)
    * Touch only model should also be able to use the Synaptic driver, see X. below.
    Bamboo Pen & Touch			stylus, eraser; touch, pad		
       (CTH460; Product ID = 0xd1)
    Bamboo Craft	 			stylus, eraser; touch, pad	
       (CTH461; Product ID = 0xd2)
    Bamboo Fun		 		stylus, eraser; touch, pad
       (CTH661; Product ID = 0xd3)
    Bamboo Pen				stylus 			
       (CTL460; Product ID = 0xd4)
    * Bamboo Pen pressure levels (0xd4):  still broken in Oneiric.  Use input-wacom.
    
    Second Generation models (released October 2010):
    Bamboo Pen Medium			stylus
       (CTL660/K; Product ID = 0xd5)	see appendix 2 below to clone input-wacom
    Bamboo Pen & Touch			stylus, eraser; touch, pad		
       (CTH460/K; Product ID = 0xd6)
    Bamboo Fun Small			stylus, eraser; touch, pad		
       (CTH461/S; Product ID = 0xd7)
    Bamboo Comic Medium			stylus, eraser; touch, pad
       (CTH661/S1; Product ID = 0xd8)
    Bamboo P & T Special Edition Small	stylus, eraser; touch, pad
       (CTH461/L; Product ID = 0xdA)
    Bamboo P & T Special Edition Medium	stylus, eraser; touch, pad
       (CTH661/L; Product ID = 0xdB)
    * These models are using a new 4 FGT protocol and that is causing the pointer jumps
      with Natty's 2.6.38 kernel and xf86-input-wacom.  Fixed in input-wacom-0.12.1, see
      part I.  Full support is only available for Natty (11.04) & Oneiric (11.10) as mt.h
      is required.  For Lucid and Maverick see appendix 2.
    * Two Special Editions (0xdA & 0xdB):  see the note in X. below for 3 & 4 finger
      gesture support.
    Code:
    Third Generation models (released October 2011):
    Bamboo Connect (Pen)			stylus 			
       (CTL470/K; Product ID = 0xdd)
    Bamboo Capture (Pen & Touch)		stylus; touch, pad		
       (CTH470; Product ID = 0xde)
    Bamboo Create		 		stylus, eraser; touch, pad
       (CTH670; Product ID = 0xdf)
    * These new models are not yet in the usb kernel driver wacom.ko.  Chris Bagwell has
      kindly updated input-wacom to 0.12.0 with third generation Bamboo support. This is a
      backport of his 3.3 kernel code for the 2.6.38 and 3.0 kernels.  See part I.
      Support is only available for Natty (11.04) & Oneiric (11.10) as mt.h is required.
    * For support in Lucid and Maverick see appendix 2
    *All styli have two buttons (rocker switch).

    Note: If you do not want to compile the drivers in part I. and II. below you could try one of the available PPAs. Lekensteyn has posted one for input-wacom-0.12.1 (the wacom.ko) in Oneiric & Natty, which is useful for second and third generation tablets: https://launchpad.net/~lekensteyn/+archive/wacom-tablet Irie Shinsuke's PPA covers Maverick and Natty but hasn't been updated since 5-27-11: https://launchpad.net/~irie/+archive/wacom Martin Owen's covers Lucid through Natty but hasn't been updated since 3-10-11: https://launchpad.net/~doctormo/+archive/wacom-plus The upshot is you have to pay attention to what versions of wacom.ko and linuxwacom or xf86-input-wacom they install and whether that's what your tablet needs. Also a DKMS implementation of the wacom.ko will overwrite any new wacom.ko you compile unless you remove the PPA/DKMS. I haven't tested any of them, direct questions to the authors.

    I. Install input-wacom-0.13.0's wacom.ko (the USB kernel driver); with a first generation BambooPT (October 2009) you can skip this step if you have Natty or Oneiric, it's not needed unless your model or a feature is not supported by the default wacom.ko
    Copy and paste each line into a terminal (Applications > Accessories > Terminal) and hit enter after each line (except the ones in parenthesis). Careful, some lines extend past the right side of the "box". Get all of them. Now download, compile, and install the wacom.ko.:
    Code:
    cd Desktop
    
    wget http://prdownloads.sourceforge.net/linuxwacom/input-wacom-0.13.0.tar.bz2
    
    sudo apt-get update
    
    (For Mint use libX11-dev instead of libx11-dev in the following command)
    sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libxrandr-dev libncurses5-dev autoconf libtool
    
    sudo apt-get upgrade
    
    uname -r
    
    (If you have the generic kernel which most do.)
    sudo apt-get install linux-headers-generic
    
    (If you have the rt or pae kernel.)
    sudo apt-get install linux-headers-rt
    or
    sudo apt-get install linux-headers-generic-pae
    
    tar xjvf input-wacom-0.13.0.tar.bz2
    
    cd input-wacom-0.13.0
    
    ./configure --prefix=/usr
    
    (If you are in Lucid or Maverick.)
    sudo cp ./2.6.30/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
    or
    (If you are in Natty or Oneiric or Precise.)
    sudo cp ./2.6.38/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
    
    sudo depmod -a
    You now need to restart.

    After rebooting if not working check if the wacom.ko is auto-loading with lsmod.
    Code:
    lsmod | grep wacom
    You should see 'wacom' along with it's size.

    If you want to see a little more on what you're doing and why look at Section 1 in the linuxwacom HOW TO. If you prefer to use linuxwacom-0.8.8-11's wacom.ko (works for the 5 original Bamboo P&T models) see Alternate Section 1 at the same HOW TO. Problems? See Troubleshooting below.


    II. Install Xorg's xf86-input-wacom tar or clone the git repository for Lucid, Maverick, Natty, & Oneiric (the X driver)
    The instructions for cloning the git are at steps b) and c) for those who would rather do that.

    Warning: xf86-input-wacom-0.10.11+ breaks the Sample xsetwacom scripts. The parameter names have changed. Use the 'xsetwacom get "device name" command and xsetwacom will point out where name has changed and what the new name is. Also there is a table of the new parameter names v.s. the old ones on the LWP's mediawiki xsetwacom page. This has happen before but is more extensive this time. And it's likely to happen again.

    a) Now compile the xf86-input-wacom tar (download, compile, and install xf86-input-wacom):
    Code:
    cd ./Desktop
    
    wget http://sourceforge.net/projects/linuxwacom/files/xf86-input-wacom/xf86-input-wacom-0.15.0.tar.bz2
    
    sudo apt-get update
    
    (For Mint use libX11-dev instead of libx11-dev in the following command)
    sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libxrandr-dev libxinerama-dev libncurses5-dev xutils-dev autoconf libtool pkg-config libudev-dev
    
    sudo apt-get upgrade
    
    tar xjvf xf86-input-wacom-0.15.0.tar.bz2
    
    cd xf86-input-wacom-0.15.0
    
    ./configure --prefix=/usr
    
    make
    
    sudo make install
    Now reboot.

    b) Install git (you only need to do this once) if you intend to clone the xf86-input-wacom git repository. Otherwise you can skip this step. Open a terminal and enter (copy & paste):
    Code:
    sudo apt-get install git-core
    Copy and paste each line into a terminal (Applications > Accesories > Terminal) and hit enter after each line (except the ones in parenthesis). Careful, some lines extend past the right side of the "box". Get all of them.

    For Lucid only update to xorg-macros v. 1.8 (you only need to do this once). You do not need to update xorg-macros in Maverick, it already has v. 1.8.
    Code:
    wget http://xorg.freedesktop.org/releases/individual/util/util-macros-1.8.0.tar.bz2
    
    sudo cp /usr/share/aclocal/xorg-macros.m4 /usr/share/aclocal/xorg-macros.m4.bak
    
    tar xjvf util-macros-1.8.0.tar.bz2
    
    cd util-macros-1.8.0
    
    ./configure --prefix=/usr
    
    make
    
    sudo make install
    
    cd ..
    c) To clone the xf86-input-wacom git repository (download, compile, and install xf86-input-wacom):
    Code:
    cd ./Desktop
    
    git clone git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/xf86-input-wacom
    
    sudo apt-get update
    
    (For Mint use libX11-dev instead of libx11-dev in the following command)
    sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libxrandr-dev libxinerama-dev libncurses5-dev xutils-dev autoconf libtool pkg-config libudev-dev
    
    sudo apt-get upgrade
    
    cd xf86-input-wacom
    
    ./autogen.sh --prefix=/usr
    
    make
    
    sudo make install
    Now reboot.

    You do not need to download the git repository again to update xf86-input-wacom. Instead change directory into the xf86-input-wacom folder and run a git pull:
    Code:
    cd Desktop
    
    cd xf86-input-wacom
    
    git pull
    Because xf86-input-wacom doesn't have wacomcpl (Wacom Control Panel) you'll have to set up a script of xsetwacom commands to run when the system starts, like wacomcpl's .xinitrc (see IV. below). The xsetwacom commands were rebuilt for xf86-input-wacom, so while similar they are different from the linuxwacom ones, and they continue to undergo changes. See man wacom & man xsetwacom entered in a terminal for the respective manuals in addition to the mediawiki link above. Problems? See Troubleshooting below.


    III. Configure the Wacom Bamboo P&T tablet
    You should usually be able to skip this step as the default wacom.conf should work for most. It's included mainly so you can see the two static configuration methods available.

    a) Configuring through 10-wacom.conf (Lucid) or 50-wacom.conf (Maverick & Natty): You can use the default 10-wacom.conf located at /usr/lib/X11/xorg.conf.d in Lucid or the 50-wacom.conf at /usr/share/X11/xorg.conf.d for Maverick & Natty. No modifications are necessary to get your tablet working and the default wacom.conf allows hot plugging your tablet. Because HAL has been removed you can't use a .fdi. Then use the appropriate xsetwacom script attached below if you want to configure your tablet further (see IV.).
    Note: Because Lucid has its 10-wacom.conf in a non-standard location compiling and installing xf86-input-wacom will not install a wacom.conf there as it will with Maverick and Natty. So if your 10-wacom.conf is removed or damaged for any reason in Lucid you will need to re-add it manually. You can use the example wacom.conf below and the gedit command for Lucid.

    The wacom.conf will look something like:
    Code:
    Section "InputClass"
    	Identifier "Wacom class"
    # WALTOP needs a patched kernel driver, that isn't in mainline lk yet,
    # so for now just let it fall through and be picked up by evdev instead.
    #	MatchProduct "Wacom|WACOM|WALTOP|Hanwang"
    	MatchProduct "Wacom|WACOM|Hanwang"
    	MatchDevicePath "/dev/input/event*"
    	Driver "wacom"
    EndSection
    
    Section "InputClass"
    	Identifier "Wacom serial class"
    	MatchProduct "Serial Wacom Tablet"
    	Driver "wacom"
    #	Option "ForceDevice" "ISDV4"  # deprecated starting with
    #        xf86-input-wacom-0.10.8
    EndSection
    
    Section "InputClass"
            Identifier "Wacom serial class identifiers"
            MatchProduct "WACf|FUJ02e5|FUJ02e7|FUJ02e9"
            Driver "wacom"
    EndSection
    
    
    # N-Trig Duosense Electromagnetic Digitizer
    Section "InputClass"
    	Identifier "Wacom N-Trig class"
    	MatchProduct "HID 1b96:0001|N-Trig Pen"
    	MatchDevicePath "/dev/input/event*"
    	Driver "wacom"
    	Option "Button2" "3"
    EndSection
    To edit in Lucid use:
    Code:
    gksudo gedit /usr/lib/X11/xorg.conf.d/10-wacom.conf
    In Maverick & Natty use:
    Code:
    gksudo gedit /usr/share/X11/xorg.conf.d/50-wacom.conf
    It's important to note that you can not configure dependent devices in the wacom.conf snippets unless you have at least Xserver 1.10 (Natty). See USB Tablets with Touch on the mediawiki. Which is one reason to use an xsetwacom script. For example you can add options for stylus but not the eraser with a pre-1.10 Xserver. If you have Natty then to configure the dependent device eraser you would add a new snippet, like so:
    Code:
    Section "InputClass"
          Identifier "Wacom eraser class"
          MatchDriver "wacom"
          MatchProduct "eraser"
    
          # Apply custom Options to this device below.
          Option "Foo" "bar"
    EndSection
    as discussed at the mediawiki link. It is recommended you create a new file 52-wacom-options.conf in /etc/X11/xorg.conf.d to add options in. You may need to create the xorg.conf.d directory in /etc/X11.
    *Current 10-wacom.conf (actually now 50-wacom.conf): http://linuxwacom.git.sourceforge.ne...m.conf;hb=HEAD

    b) Configuring through xorg.conf: You could also use the xorg.conf, but at the cost of losing hot plugging.
    i) Another way to tell the Xserver you have a Wacom tablet, rather than a wacom.conf in xorg.conf.d, is to use the xorg.conf and add Wacom input sections. Normally xorg.conf.d is preferred. The xorg.conf, if you have one, is located in /etc/X11. If it is not there you would have to create one and then add the relevant Wacom sections. Please study the sample test3 xorg.conf and compare it carefully to your xorg.conf before making any changes. Do not change any video sections already present in your xorg.conf! And be sure to back up your xorg.conf first!:
    Code:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
    To restore it from the command line just reverse it:
    Code:
    sudo cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf
    To edit xorg.conf you have to be administrator so in a terminal:
    Code:
    gksudo gedit /etc/X11/xorg.conf
    Options are available in man wacom in a terminal and at the LWP's HOWTO and mediawiki. One thing to note is in X server 1.7 "SendCoreEvents" is deprecated. You can remove them from the Wacom lines in "ServerLayout" although I don't think it hurts to leave them in. The test3 xorg.conf reflects the fact that pad is on the touch pci usb by-path (and hence the wacom-touch symlink).

    After you restart the stylus and touch should work. If it does not, restart again. Make sure you cover the entire tablet to see if the pointer moves to the stylus and your finger. Now xinput list and xsetwacom list entered in a terminal should agree with each other and return the linuxwacom device names stylus, eraser, touch, and pad (tablet buttons).

    ii) To use the test3 xorg.conf you will need to have a symlink rule for your Pen & Touch in the table contained in 69-xserver-xorg-input-wacom.rules at /lib/udev/rules.d. This avoids having to use the usb pci by-path. If the Ubuntu default 69-xserver-xorg-input-wacom.rules does not have your model tablet in it there is an updated wacom.rules with all 10 Bamboo Pen & Touch models at the mediawiki's Fixed device files with udev page. Just put your rule in or replace your default contents with the mediawiki's 60-wacom.rules. How to add a new symlink rule is also discussed. If the "69-xserver-xorg-input-wacom.rules" is not there you can install it by using Appendix 5 in this HOW TO.


    IV. Use of a xsetwacom script file instead of wacomcpl and wacomcpl's .xinitrc for further tablet configuration (attached below)
    This is especially important if you want to assign keys to the tablet buttons as the static configuration methods in III. above only allow you to set the buttons to integer values. You need xsetwacom to set keys to buttons. Please also see the mediawiki's xsetwacom and Tablet Configuration pages.
    Warning: Many parameter names changed with xf86-input-wacom-0.10.11. Use xsetwacom get "device name" Parameter to find the new name. Additionally the the defaults for RawSample and Suppress swapped in 0.10.11+ with commits on 3-9-11. Suppress is now 2 and RawSample 4. Also the range for RawSample is now 1 to 100. Correct your scripts if using these versions of xf86-input-wacom.

    To set it up to auto-start, download the attached file, and rename it .xsetwacom.sh (or whatever you want) and place it in your home directory. Remember it will be a hidden file. You can remove the . in front so the file isn't hidden if placing it in a bin directory. Making it hidden is just to prevent directory clutter. To enable the xsetwacom commands in the .xsetwacom.sh file to apply to Xserver through a reboot you enter in a terminal:
    Code:
    chmod +x ~/.xsetwacom.sh
    or you could right click on the file and in Properties, in the Permission tab, check Execute as program. Then go to System->Preferences->Startup Applications and click on add and for the command write "sh /home/yourusername/.xsetwacom.sh" (without the quotes). You can also change your settings on the fly using the xsetwacom set commands in a terminal as they are runtime commands. They only apply during the current session. Once the script is executable you can double click on it to apply it's settings or reboot to check the auto-start set up.

    If you are happy with a current default comment it out (a # in front of the line) in your script. No need to run the default again in the script. But comment it out rather than remove it so you have a list of valid xsetwacom parameters for a given input tool in your script in case you want to modify that parameter at a later date.

    Note: In the example script below both "device name" and ID # are used. Be sure to check for yours using xinput list in a terminal and use them. When you use a xorg.conf the "device names" will be stylus, eraser, touch, and pad. If you are hot plugging your tablet or other devices be sure to use "device name" as the ID # can change.

    With xf86-input-wacom 0.10.8 or better you should be able to enter 'man xsetwacom' in a terminal for useful information. To find out what commands and keys are available try these commands in a terminal:
    Code:
    xsetwacom
    lists available commands and switches.
    Code:
    xsetwacom list param
    Lists available parameters.
    Code:
    xsetwacom list mod
    Lists modifiers and special keys available.


    V. Tablet (Pad) buttons
    The Pad's physical buttons are numbered (with the pad set up right handed) 1 to 4 from top to bottom. With the xsetwacom set commands the physical button number does not necessarily coincide with the button number the Xserver is assigning to the button. This is because for some versions of the Xserver xinput reserves buttons 4 through 7 for scroll. It also depends on what button number the kernel is assigning as the default to the button. So the xsetwacom set command needs the X button number not the physical button number.

    With Lucid's 2.6.32 & Maverick's 2.6.35 kernels you only need to account for the reserved scroll buttons offset:
    Code:
                         WinXP           Lucid & Maverick
    physical Button 1    Touch toggle    Middle click
    physical Button 2    BackSpace       Right click
    physical Button 3    Right click     Pg Up
    physical Button 4    Left click      Pg Dn           X Button 8
    The kernel button defaults changed with Natty's 2.6.38 kernel so the X buttons become:
    Code:
                         Natty & Oneiric
    physical Button 1    BTN_RIGHT/Right click    X Button 3
    physical Button 2    BTN_BACK                 X Button 8
    physical Button 3    BTN_FORWARD              X Button 9
    physical Button 4    BTN_LEFT/Left click      X Button 1
    I've been asked multiple times to explain what's going on with the button assignments. This is my current understanding. BTN_MOUSE, BTN_MISC, and BTN_DIGI button ranges are all mapped to the same lower button numbers, corresponding to the LMR mouse buttons. The generic situation is as follows:
    Code:
    Button    C code used in kernel
    number    mouse        pad     stylus
    1         BTN_LEFT     BTN_0   BTN_TOUCH 
    2         BTN_MIDDLE   BTN_1   BTN_STYLUS 
    3         BTN_RIGHT    BTN_2   BTN_STYLUS2 
    
    8         BTN_SIDE     BTN_3 
    9         BTN_EXTRA    BTN_4 
    10        BTN_FORWARD  BTN_5 
    11        BTN_BACK     BTN_6 
    12        BTN_TASK     BTN_7 
    13        BTN_8 14     BTN_9
    The assumption is that these ranges don't generally appear in a single device simultaneously.
    * from an evdev driver commit: http://cgit.freedesktop.org/xorg/dri...e40df16fb0a202

    The X Server reserves buttons 4 through 7 for scroll. I think the following is correct:
    Code:
    X Button  X scroll
    number    direction
    4         up
    5         down
    6         left
    7         right
    Now what happened with the BambooPTs is they changed from using the generic BTN_X to using say BTN_BACK in the kernel code for the BambooPT's pad. I hope this clears things up a little.


    VI. Touch & Gesture Tips for the BambooPT
    Gestures are two finger of course. You have to be patient because there is somewhat of a learning curve. It does not have the same "feel" as a laptop touchpad. Once you develop a feel for the Bamboo you can slowly try varying some of the xsetwacom parameters in the script. I am able to do anything I can on my laptop's Synaptic touchpad or single (1FG) touchscreen on my tablet PC plus I have scroll (vertical and horizontal), pinch zoom (can be a little slow to respond), and 2FG double tap for right click.

    a) Pointer arrow overacceleration: If you find the pointer arrow overaccelerated Peter Hutterer suggested using xinput's "Device Accel Constant Deceleration" to compenstate.
    the overacceleration issue in the bamboo is caused by a few other things. when the bamboo is initialised as relative device, the X server doesn't have an axis range to help scaling the movement. the bamboo, as you're probably aware, has a higher resolution than the average mouse, so it sends more events with higher data. so the default settings dont' work too well, it's too fast. increasing ConstantDeceleration for the device should slow it down to your preference.
    The defaults are 1, 1, and 10 for Constant Deceleration, Adaptive Deceleration, and Velocity Scaling. But you can check your defaults by entering in a terminal xinput list-props "Wacom BambooFun 2FG 4x5 Finger touch". Using your "device name" for touch of course. Try adjusting the settings to get the feel you are looking for. For example:
    Code:
    xinput set-prop "Wacom BambooFun 2FG 4x5 Finger touch" --type=float "Device Accel Constant Deceleration" 1.250000
    xinput set-prop "Wacom BambooFun 2FG 4x5 Finger touch" --type=float "Device Accel Adaptive Deceleration" 1.150000
    xinput set-prop "Wacom BambooFun 2FG 4x5 Finger touch" --type=float "Device Accel Velocity Scaling" 10.000000
    Just add these to the touch section of your xsetwacom script. Chris Bagwell provided a good link to a X.org wiki article PointerAcceleration.

    For another take on touch settings see civetta's post #932.

    b) Gestures: Are the best they've ever been with xf86-input-wacom-0.13.0 released 1-16-12. Thanks to Chris Bagwell's efforts and some new contributions from Alexey Osipov. Feel free to post suggestions for changing the gesture default settings or whatever.
    Single finger (1FG)
    Left click - tap, actual click happens after TapTime period elapses.
    Left click drag - tap to select, quickly (within TapTime period) touch selection again. Then drag.

    Two finger (2FG)
    Right click - one finger down + tap second finger
    Vertical scroll - two fingers side by side (e.g. index + second), move up or down holding constant distance between fingers.
    Horizontal scroll - two fingers side by side (e.g. index + second), move left or right holding constant distance between fingers.
    Zoom in - two separated fingers side by side (e.g. thumb + index), bring together i.e. pinch.
    Zoom out - two fingers side by side (e.g. thumb + index), spread.

    Note: Wacom scrolling direction is reversed from Synaptic touchpad scrolling. Visualize it as grabbing the page with two fingers then sliding it up or down or left and right.

    VII. Touch toggle script with notification (attached below)
    Rename it .toggle-touch.sh (or whatever you want) and place it in your home directory. Remember it will be a hidden file. Also please remember you have to chmod it to make it executable, or right click on it, like you did for .xsetwacom.sh above. Then you have to make a key binding for it in order to use it through a tablet button. If you haven't already, install the CompizConfig Settings Manager through Synaptic Package Manager.
    -click on the General option
    -click on Commands
    -in Command line 0 (or whatever line you want) add the path to .toggle-touch.sh, e.g.: /home/yourusername/.toggle-touch.sh
    -click on Key Bindings and then to edit the corresponding Run command 0 click on the Disabled button.
    -next use a key combination not already in use, e.g. <Control>t, by pressing the Grab key combination button and pressing the key combination. The ctrl-t combination is the one in the sample xsetwacom script bound to Button1. You can also just press ctrl-t.
    Note: If you use 'ctrl t' to add a new Tab to Firefox change the touch toggle key combination to say "key ctrl shift t".
    -you're done

    For notification install libnotify-bin by entering in a terminal:
    Code:
    sudo apt-get install libnotify-bin
    Otherwise comment out the two notify lines in the script.


    VIII. Flip the tablet for the left-handed
    You use these commands in the appropriate parts of the .xsetwacom.sh (remember to determine your "device names"):
    Code:
    xsetwacom set stylus Rotate half 
    xsetwacom set eraser Rotate half
    xsetwacom set touch Rotate half
    Rotation orientations: normal(landscape)=none; left=ccw; right=cw; inverted=half.
    Note: Starting with xf86-input-wacom-0.11.0 the Rotate parameter has been made tablet wide. Rotating a parent device or one of its dependent devices will rotate all input tool devices. What that means in practice is you could eliminate the eraser line.


    IX. Dual and Multi-Monitor Set Up
    See HOW TO Setup a Wacom Tablet with Multi-Monitors or Dual and Multi-Monitor Set UP.


    X. Bamboo Touch on the Synaptic Driver - Natty Narwhal (11.04) and Oneiric Ocelot (11.10)
    This requires the MT kernel code (mt.h or multi-touch header) in the 2.6.38 and up kernels.

    If it is not present you may need to make the directory:
    Code:
    sudo mkdir /etc/X11/xorg.conf.d
    Warning: Do not do in Lucid. Use the /usr/lib/X11/xorg.conf.d directory instead.

    Then create the 54-bambooPT-on-synaptics.conf file in the /etc/X11/xorg.conf.d directory using:
    Code:
    gksudo gedit /etc/X11/xorg.conf.d/54-bambooPT-on-synaptics.conf
    And place the following contents in it:
    Code:
    Section "InputClass"
            Identifier "Wacom touch&pad on Synaptics class"
            MatchIsTouchpad "on"  # needed?
    	MatchProduct	"Finger"
            MatchDevicePath "/dev/input/event*"
            Driver "synaptics"
    #        Driver "evdev"
    EndSection
    Note you can also place touch on the evdev driver. Either also requires a fairly recent MT compliant Synaptics or evdev driver. This might be useful for the new Special Editions with 4FGT, once 4FGT is implemented in the kernel. With the use of evdev and ginn (installed by default in Natty) you would have up to 4 finger gestures available, provided they're defined in the default wishes.xml. Or you add them. Remember with Synaptics the gestures you will have are only two-finger scrolling, tap-and-drag, and tapping. Zooming and others aren't implemented.

    * many thanks to Chris Bagwell for helping me with this

    I'll leave Gianpaolo Cugola's 60-bamboo.conf.txt, which should be placed in /etc/X11/xorg.conf.d/, attached but it is probably no longer needed with the Synaptic driver in Natty. Also his discussion of its use (on this linuxwacom-discuss thread). This may have necessitated some parameter changes the gui configuration editor for Synaptic doesn't support. It's also important to note he claims "Using the attached 60-bamboo.conf, I do not have any problem when using the synaptics driver with the stock kernel provided by debian sid (2.6.32) or with that provided by ubuntu 10.10 (2.6.35). I also tried (and I am currently using) the final 2.6.37 kernel, and it also works fine. As you noticed, 'overall this setup works much better than xf86-input-wacom, right now'." So maybe you don't need Natty to get the Touch working on Synaptics?

    Note: for the two Special Editions (0xdA & 0xdB). At this point the plans for xf86-input-wacom are to only improve/bug fix what's available. This means 3 and 4 finger gesture support will never be available to you through the xf86-input-wacom driver. 3 & 4 finger gesture support are in Natty through the evdev + ginn combination as mentioned above. I'm not aware of the Synaptic driver offering 3 and 4 finger support. So once the kernel's wacom.ko offers 3 & 4FGT and so supports 3&4FG gestures you will probably want to place your touch on the evdev driver.


    Troubleshooting
    In I. note not every kernel is -generic so you may need a different kernel header. To check:
    Code:
    uname -r
    As an example it may return:
    Code:
    2.6.32-22-rt
    or
    2.6.35-25-generic-pae
    in which case you would use:
    Code:
    sudo apt-get install linux-headers-rt
    or
    sudo apt-get install linux-headers-generic-pae
    On a 64-bit install you may need to add another flag. To check see where evdev_drv.so is located. If it is in /usr/lib/xorg/modules/input, then '--prefix=/usr' is correct. If in /usr/lib64/xorg/modules/input, then you need to add '--libdir=/usr/lib64'. So for I.:
    Code:
    ./configure --enable-wacom --prefix=/usr --libdir=/usr/lib64
    or II.:
    Code:
    ./autogen.sh --prefix=/usr --libdir=/usr/lib64
    If xsetwacom commands aren't working or are working erratically check in /usr/local/bin for xsetwacom (it should be in /usr/bin). This may mean you forgot the '--prefix=/usr' flag on the xf86-input-wacom configure line. In which case you may have a xsetwacom executable in both locations and are experiencing version conflict. Delete the one in the wrong location, i.e. /usr/local/bin. If this isn't the case then just re-clone the xf86-input-wacom git repository.
    *thanks to dr4ziw


    Appendix 1: HOW TO Clone the input-wacom git repository
    Useful if support for a model or feature has been added since the last point release. To determine that see: http://linuxwacom.git.sourceforge.ne...com;a=shortlog
    For Lucid, Maverick, Natty, and Oneiric
    Code:
    cd Desktop
    
    git clone git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/input-wacom
    
    sudo apt-get update
    
    (For Mint use libX11-dev instead of libx11-dev in the following command)
    sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libxrandr-dev libncurses5-dev autoconf libtool
    
    sudo apt-get upgrade
    
    uname -r
    
    (If you have the generic kernel which most do.)
    sudo apt-get install linux-headers-generic
    
    (If you have the rt or pae kernel.)
    sudo apt-get install linux-headers-rt
    or
    sudo apt-get install linux-headers-generic-pae
    
    cd input-wacom
    
    ./autogen.sh --prefix=/usr
    
    (If you are in Lucid or Maverick.)
    sudo cp ./2.6.30/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
    or
    (If you are in Natty or Oneiric or Precise.)
    sudo cp ./2.6.38/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
    
    sudo depmod -a
    Now reboot.

    Appendix 2: BambooPT second and third generation support for Lucid and Maverick
    Chris Bagwell has submitted a patch to input-wacom for getting the second and third generation BambooPTs working in Lucid and Maverick. While single finger touch is supported gestures (multi-touch) are not, at least on xf86-input-wacom. You should be able to set touch up on the Synaptics touchpad driver to get scroll gestures. For the patch to work xf86-input-wacom-0.11.0 or better is required.

    Follow the instructions in part I. or Appendix 1 for compiling input-wacom. After you've downloaded the source code folder (and uncompressed it if using the tar) stop. Download and extract the input-wacom-Backport-2nd-and-3rd-gen-Bamboo-support-to-2.6.30.patch (attached below) on your Desktop. In the terminal change directory into input-wacom and run:
    Code:
    patch -p1 < ~/Desktop/input-wacom-Backport-2nd-and-3rd-gen-Bamboo-support-to-2.6.30.patch
    to apply the patch. Then go on and finish compiling input-wacom as normal. Feel free to post feed back on the patch.


    tags: Lucid, Wacom, Bamboo Pen, Bamboo Pen & Touch, Bamboo Craft, Bamboo Fun, Bamboo

    Edit (11-18-10): With xf86-input-wacom the default ClickForce for the stylus, eraser and touch is 27 (FILTER_PRESSURE_MAX/75, usually around 27). And the range is 0-2047 because pressure levels are normalized to 2048 levels for all devices since commit "Normalize-pressure-sensitivity.patch". So for e.g. for the stylus it should look something like:
    Code:
    xsetwacom set "Wacom BambooFun 2FG 4x5 Pen stylus" ClickForce "27"  # default is 27, 0-2047
    They renamed ClickForce to Threshold starting with xf86-input-wacom 0.10.9+. It should look like:
    Code:
    xsetwacom set "Wacom BambooFun 2FG 4x5 Pen stylus" Threshold "27"  # default is 27, 0-2047
    See the commit "xsetwacom: rename ClickForce to Threshold". And if the tablet has 1024 pressure levels then the default Threshold would still be about 27 and the range 0-2047. Remember what the hardware is reporting has been normalized to 2048 levels.

    Edit (12-7-10): Replaced Sample_Bamboo-P&T_xsetwacom-scripts.tar with the updated Sample_Bamboo-P&T_.xsetwacom.sh. The tar had 581 downloads.
    Last edited by Favux; May 2nd, 2012 at 09:21 PM.

  2. #2
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    lim1t describes his setup of a Wacom Bamboo (MTE-450A) using the KDE configuration utility (kde-config-tablet) in KUbuntu 11.10. See post #922.


    Sample Wacom Tablet and Tablet PC .xsetwacom.sh scripts

    1) The Sample_usb&serial_tablet-pc's_.xsetwacom.sh's has samples for serial and usb tablet pc's. The models include HP TX2000 & TX2500, N-trigs (HP TX2z & Dell XT & XT2), Fujitsu T4210, Toshiba Portege M700 & M750, Lenovo Thinkpad X61t, and the Lenovo Thinkpads X200t & X201t.

    The TX2000-wacom.conf-.xsetwacom.sh (which also covered the HP TX2500) had 23 downloads.

    2) The Sample_Intuos3&Intuos4_.xsetwacom.sh.tar.bz2 attached below has a sample Intuos3 and Intuos4 .xsetwacom.sh. Still need help from someone with a Wacom mouse (cursor) to finalize the cursor sections.

    I. and II. helped get an Intuous3 working in Lucid. The preliminary Intuos3_wacom.conf-.xsetwacom.sh for it had 39 downloads.

    3) The Sample_Bamboo&Cintiq_.xsetwacom.sh.tar.bz2 attached below has a sample Bamboo and Cintiq21UX2 .xsetwacom.sh.

    The preliminary Cintiq21UX2_wacom.conf-.xsetwacom.sh had 11 downloads.

    Parts I. and II. in the HOW TO helped get an Graphire3 working in Lucid. See post #7 below. So far no specific .xsetwacom.sh for the Graphire3.
    Last edited by Favux; January 16th, 2012 at 10:08 PM.

  3. #3
    Join Date
    Jun 2010
    Beans
    3

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Thank you for that. I have followed your guide in Lucid (Ubuntu 10.04) and have a working Bamboo CTH-661.

    There are a few things I'd like to change though and don't know how. Perhaps you can help.


    The GIMP:
    If I configure "extended input devices" in the GIMP and choose "window" as opposed to "screen" - that is the setting in which the input tablet get's mapped to the window in which you are editing rather than the entire screen - then I get TWO mouse pointers!
    One of them stays within the window, the other moves around the entire screen. I can only edit my picture if both cursors are within the editing window at the start of my brush stroke. This setting is almost unusable.


    In General
    I have other programs (eg MyPaint) in which a similar thing occurs as described above and to be honest I am not really all that interested in fixing this issue. You see, what I really want, is to decrease the sensitivity of the bamboo pad significantly! By this I mean the sensitivity when regarded as a mouse/pointer.
    I want to be able to make a stroke all the way across the pad and have it leave only a small trail on my screen.
    (I then use xsetwacom set ID mode "Relative" to navigate the entire screen).

    Surely something as simple as this is possible? I just can find how.
    Searching for 'sensitivity' yields discussions on pressure-sensitivity, not on movement-sensitivity.


    any suggestions much appreciated,


    mathsguy
    Last edited by mathsguy; June 23rd, 2010 at 12:50 AM. Reason: typo

  4. #4
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Hi mathsguy,

    Welcome to Ubuntu forums!

    Great, first poster has a success story!

    For Gimp I'm not for sure but I think there is a long standing bug in GTK which is why you have to use "screen". I think Alexia Death said that somewhere.

    My Paint seems OK for me. I haven't looked at it too hard. There isn't a SpeedLevel for the stylus, it's for the cursor. For that matter I'm not sure that's available in the new xsetwacom. It sounds almost like you want a negative version of RawSample. You could play with that and Suppress and see if you can come up with something.

    Things seemed to shake down for me after a few reboots. Or maybe it was a few reinstalls of the drivers?

  5. #5
    Join Date
    Oct 2009
    Location
    Auckland, NZ
    Beans
    6
    Distro
    Ubuntu

    Smile Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    +1 here. works with my CTL-460 bamboo pen and linuxmint 9 isadora. thanks a lot

    edit: and the screen setting works with my GIMP setup

    any ideas on how to get support for the small section of tablet outside the grey line? without it, getting right into the corner of the screen is almost impossible
    Last edited by VDSA; June 23rd, 2010 at 02:34 AM.

  6. #6
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Hi VDSA,

    Good, second poster also a success story! On a roll.

    Because there is no wacomcpl we can't auto-calibrate. And there's no xidump so we can't get the coordinates from it. So we have to go back to the old manual method.

    First go to Xorg.0.log in /var/log. Open in gedit and search 'wacom'. You'll see coordinates for stylus, eraser and different ones for touch. So to the .xsetwacom.sh you'd add to the stylus section at the bottom:
    Code:
    xsetwacom set stylus topx "0"
    xsetwacom set stylus topy "0"
    xsetwacom set stylus bottomx "14720"
    xsetwacom set stylus bottomy "92000"
    and if you need touch in it's section:
    Code:
    xsetwacom set touch topx "0"
    xsetwacom set touch topy "0"
    xsetwacom set touch bottomx "480"
    xsetwacom set touch bottomy "320"
    Using the appropriate "Device names" or ID numbers of course. Your coordinates may be different, those are for a Bamboo P&T. If you have different ones please post them. We can collect them for each model.

    I haven't tried this but it should work. Then you just use trial and error, either rerunning the script after each change or using the commands in a terminal. If the upper left corner is out of reach remember you can use negative numbers like -10,-10 instead of 0,0.
    Last edited by Favux; June 23rd, 2010 at 03:02 AM.

  7. #7
    Join Date
    Jun 2010
    Beans
    115
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Wow, SUCCESS! Favux, thank you so much!

    My Wacom Graphire is pressure sensitive in Gimp, with Relative movement. In Blender, it has the Relative movement, but isn't pressure sensitive. The same in Krita. But that's no biggie, it's Gimp that matters.

    A few questions to follow up:

    1. There being no setting for "mouse speed" or "movement-sensitivity", what do I need to do with RawSample and Suppress to slow it down a bit?

    2. Beginning with <sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev> and twice more later in the process, Terminal returned this:

    Code:
    The following packages were automatically installed and are no longer required:
      libqt4-script libqt4-designer libqt4-network libqt4-dbus libmysqlclient16
      libqt4-xmlpatterns libqt4-sql libphonon4 libqt4-xml libqt4-webkit
      libqt4-sql-mysql mysql-common
    Use 'apt-get autoremove' to remove them.
    Shall I ignore this or do as it says? Issue only <apt-get autoremove> or list all the libqt4- stuff after it?

    3. Some further Terminal responses that got my attention, I'd appreciate if you'd look through them to be sure all is well:

    Code:
    new@new:~/Desktop/linuxwacom-0.8.8-3$ make
    Making all in src
    make[1]: Entering directory `/home/new/Desktop/linuxwacom-0.8.8-3/src'
    Making all in 2.6.30
    make[2]: Entering directory `/home/new/Desktop/linuxwacom-0.8.8-3/src/2.6.30'
        Building linuxwacom drivers for 2.6 kernel.
    ***Note: Drivers not enabled as modules in your kernel config but requested through configure are NOT built
    Code:
    Unpacking quilt (from .../archives/quilt_0.48-5_all.deb) ...
    Processing triggers for man-db ...
    Processing triggers for install-info ...
    Processing triggers for doc-base ...
    Processing 4 added doc-base file(s)...
    Registering documents with scrollkeeper...
    Setting up cvs (1:1.12.13-12ubuntu1) ...
    Ignoring install-info called from maintainer script
    The package cvs should be rebuilt with new debhelper to get trigger support
    Ignoring install-info called from maintainer script
    The package cvs should be rebuilt with new debhelper to get trigger support
    Code:
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'
    Once again, thanks a lot!

  8. #8
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Hi KonfuseKitty,

    Wow, third poster also a success story, and with a Graphire3 yet!

    I think RawSample's range is 0-100. I also think increasing it will speed up the stylus so try the other direction, 3,2,1. I don't know about 0. Not much range to play with admittedly. With Suppress I'm just guessing but it seems if you lose more data points the stylus would also slow down.

    I think you can safely ignore the terminal stuff. Extra libraries take up little room and sometimes it's wrong when it says you can remove them safely. The Ubuntu kernel isn't monolithic so the wacom.ko kernel driver is built. I think the other two are due to either the xorg-macros 1.8 update or other changes they've been making in config and make.

  9. #9
    Join Date
    Jun 2010
    Beans
    3

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Re: Setting mouse sensitivity

    Setting Suppress or RawSample to 0 actually killed my X. I tried playing around with the settings but couldn't get what I wanted. However:

    If you change your regular mouse sensitivity to really(!) low when working on the pad, and enable relative mode:
    Code:
    xsetwacom set _ID_ Mode "Relative"  # Absolute or Relative
    then you can use large strokes on the pad to make small strokes on the screen.

    good luck everyone,

    mathsguy


    PS the ID of my devices changes depending on when I plug them in (before booting, or later). So I came up with:
    Code:
    ID=`xinput --list | grep Wacom | grep stylus | cut -c 55-57`
    xsetwacom set $ID Suppress "2"  # data trimmed, 0-100
    xsetwacom set $ID RawSample "4"  # default is 4
    xsetwacom set $ID Mode "Relative"  # Absolute or Relative
    Last edited by mathsguy; June 25th, 2010 at 10:50 PM. Reason: forgot something.

  10. #10
    Join Date
    Feb 2007
    Beans
    26

    Re: HOW TO Set Up the Bamboo Pen & Touch in Lucid

    Favux, thanks for all your contributions -- in this thread, the previous one, and of course that other one before that. Can you tell I have been following this for a while?

    Your instructions are working great on my CTH-460, in 64-bit Lucid. The stylus works nicely. But frankly, the touch response is dreadful.

    If I run my finger around in circles on the pad, the pointer doesn't really follow -- it will move a bit, then stop, then move some more. If I'm pretty slow and deliberate, it's much more likely to track accurately.

    The other thing is, even in relative mode, I can't get the pointer to move less than (about) 8 or 10 pixels between adjacent positions. That seems to be the smallest step size, nothing finer. Can I make this smoother?

    I didn't see anything in the xsetwacom list of parameters that looked helpful, and setting the mouse sensitivity via Preferences didn't seem to make any difference at all. Any thoughts?

Page 1 of 115 1231151101 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •