个人工具

“UbuntuHelp:WacomGraphireBluetooth”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/WacomGraphireBluetooth}} {{Languages|UbuntuHelp:WacomGraphireBluetooth}} These are specific insturctions on how to get your Wacom Graphire Bluetoo...)
 
 
(未显示同一用户的4个中间版本)
第3行: 第3行:
 
These are specific insturctions on how to get your Wacom Graphire Bluetooth working in Ubuntu.
 
These are specific insturctions on how to get your Wacom Graphire Bluetooth working in Ubuntu.
 
Please help to keep this page updated!
 
Please help to keep this page updated!
== Ubuntu 8.04 "Hardy" ==
+
The ubuntuforums support thread for this article is at [http://ubuntuforums.org/showthread.php?t=674738]. Please post here if you have any problems or questions.
'''''WARNING''': This is not entirely simple and involves using the linux terminal, editing system files and compiling a kernel module.'' Even so, it should be pretty straightforward if you follow the steps.
+
== Ubuntu 9.10 "Karmic Koala" ==
=== 1. Pairing the tablet with your computer ===
+
In Karmic, support for this tablet has been added to the kernel, however a tweak to the bluez package still needs to be applied for the tablet to work.
* press the connect button on the tablet (turn the tablet upside down - it should be near the top right corner)
+
Updated bluez packages are available from this PPA:
* From the main Ubuntu menu, select ''System > Preferences > Bluetooth'', then select the ''Services'' tab.
+
https://launchpad.net/~yobbobandana/+archive/ppa
* Click on ''Input Service'', select the wacom tablet (which should appear in the bottom pane) and click ''add''.
+
As previously, the tablet can be configured using the method described at [[UbuntuHelp:Wacom.fdi|Wacom.fdi]].
=== 2. Compiling the new hidp kernel module ===
+
== Ubuntu 9.04 "Jaunty Jackalope" ==
'''NOTE''': This step needs to be repeated ''EVERY TIME'' your kernel version changes.
+
''Current status:'' All features working including hotplug. Driver needs to be installed manually.
To compile a kernel module you will need to have basic build tools and the linux kernel headers installed. First find out which kernel version you are using by opening a terminal (Accessories > Terminal) and typing:
+
see [http://ubuntuforums.org/showthread.php?t=674738&p=7156808] for info on installing the updated driver for jaunty.
 +
This driver should currently be considered '''beta''' quality, and may still have serious bugs!
 +
=== Configuration ===
 +
This tablet can be configured using the method described at [[UbuntuHelp:Wacom.fdi|Wacom.fdi]].
 +
== Ubuntu 8.10 "Intrepid Ibex" ==
 +
''Current status:'' Stylus is working with pressure sensitivity, kernel module and newer wacom drivers need to be manually installed.
 +
=== 1. Pair the tablet with your computer ===
 +
* Press the connect button on the tablet (it should be on the back, near the top right corner).
 +
* From the main Ubuntu menu, select ''System > Preferences > Bluetooth'', then click the "+" button underneath the "Known Devices" area.
 +
* Click "Forward" and wait for the tablet to appear. It may appear as a string of numbers, and can take a little while so be patient. When it appears, select it and click "Forward" again.
 +
=== 2. Compile the new hidp kernel module ===
 +
* Download the source for the modified hidp kernel module from [https://sourceforge.net/tracker/download.php?group_id=69596&atid=525126&file_id=302852&aid=1908703] and extract it to onto your desktop (you can safely delete it later).
 +
* Open a terminal (Accessories > Terminal).
 +
* Make sure your tablet is turned off.
 +
* Type the following commands, entering your password when prompted:
 
<pre><nowiki>
 
<pre><nowiki>
user@computer:~$ uname -r
+
cd Desktop/wacom-bt-driver
2.6.24-16-generic
+
sudo apt-get install build-essential linux-headers-generic
user@computer:~$
+
make
 +
sudo make install
 
</nowiki></pre>
 
</nowiki></pre>
Using the suffix here (in this case, "generic"), install the relevant linux-headers package. In my case, my kernel version is 2.6.24-16-generic, so the linux-headers package I want is linux-headers-generic. Also install the build-essential package, as this should install all the utilities you need to compile the module.
+
=== 3. Install the latest linuxwacom drivers ===
 +
* Download version 0.8.1-6 or later of the development drivers from linuxwacom.sourceforge.net ([http://sourceforge.net/project/platformdownload.php?group_id=69596])
 +
* extract to the desktop as with the kernel module, and perform the following commands in a terminal:
 
<pre><nowiki>
 
<pre><nowiki>
user@computer:~$ sudo apt-get install linux-headers-generic build-essential
+
cd Desktop/linuxwacom-0.8.1-6
 +
sudo apt-get build-dep wacom-tools
 +
./configure --prefix=/usr
 +
make
 +
sudo make uninstall
 +
sudo make install
 
</nowiki></pre>
 
</nowiki></pre>
Download the module source from [http://sourceforge.net/tracker/download.php?group_id=69596&atid=525126&file_id=269307&aid=1908703] then extract it somewhere (e.g. your desktop). In the terminal, switch to the folder that was created and compile the module by typing “make”.
+
* Restart X by logging out, then back in again.
 +
This should be all you need to do get the main tablet function (the stylus) working.
 +
'''Update - 20081113''' The prebuilt drivers no longer seem to work. If you have previously installed using the "./install" script, you might want to clean this up before compiling:
 
<pre><nowiki>
 
<pre><nowiki>
user@computer:~$ cd Desktop/wacom-bt-driver
+
cd Desktop/linuxwacom-0.8.1-6/prebuilt
user@computer:~/Desktop/wacom-bt-driver$ make
+
sudo ./uninstall
 
</nowiki></pre>
 
</nowiki></pre>
This should not show any errors, and you should now have a file “hidp.ko” in the hidp subfolder.
+
=== Notes / Troubleshooting ===
 +
* If your tablet has stopped working after an update, try compiling and installing the kernel module again (step 2).
 +
* To get the eraser, mouse and pad buttons to work, you can follow the instructions found at [[UbuntuHelp:Wacom]]. If you choose to do this you will also need to add the following lines to the end of /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules:
 
<pre><nowiki>
 
<pre><nowiki>
user@computer:~/Desktop/wacom-bt-driver$ ls hidp/hidp.ko
+
# Additional rules for bluetooth tablets
hidp/hidp.ko
+
user@computer:~/Desktop/wacom-bt-driver$
+
</nowiki></pre>
+
Copy the new hidp.ko file over your kernel's current one (replace the kernel version here with the output from "uname -r").
+
<pre><nowiki>
+
user@computer:~/Desktop/wacom-bt-driver$ sudo cp hidp/hidp.ko /lib/modules/2.6.24-16-generic/kernel/net/bluetooth/hidp/hidp.ko
+
user@computer:~/Desktop/wacom-bt-driver$
+
</nowiki></pre>
+
Now, make sure the current kernel gets unloaded by first making sure your tablet is turned off, then typing:
+
<pre><nowiki>
+
user@computer:~/Desktop/wacom-bt-driver$ sudo morprobe -r hidp
+
user@computer:~/Desktop/wacom-bt-driver$ sudo modprobe hidp
+
</nowiki></pre>
+
=== 3. Get the tablet working in X ===
+
To make sure the proper event symlinks are created, you need to edit the wacom udev rules.
+
<pre><nowiki>
+
user@computer:~$ sudo gedit /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules
+
</nowiki></pre>
+
Find the lines:
+
<pre><nowiki>
+
# Convenience link for the common case of a single tablet.
+
 
+
KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK="input/wacom"
+
</nowiki></pre>
+
and add a slightly modified line below:
+
<pre><nowiki>
+
# Convenience link for the common case of a single tablet.
+
 
+
KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK="input/wacom"
+
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYMLINK="input/wacom"
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYMLINK="input/wacom"
</nowiki></pre>
 
Similarly, modify the end of the file as such, also adding a specific link for the graphire bluetooth.
 
<pre><nowiki>
 
# Bluetooth tablets
 
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYSFS{id/product}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8a"
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYSFS{id/product}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8a"
 
# Check and repossess the device if a module other than the wacom one
 
# is already bound to it.
 
 
KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"
 
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"
 
</nowiki></pre>
 
</nowiki></pre>
This should ensure that the symlinks /dev/input/wacom and /dev/input/tablet-graphire_bt-6x8a point to your tablet.
+
Be aware however that using this method you will ''need'' to have your tablet turned on when you log in.
Now edit your Xorg configuration to enable the tablet.
+
After this you can turn your tablet off, but when you turn it back on again you will need to switch to another virtual terminal and back by pressing ''CTRL-ALT-F1'' then ''CTRL-ALT-F7'' to get it working correctly.
<pre><nowiki>
+
* If you're having any other problems, you can try the graphire bluetooth support thread on the ubuntu forums, at [http://ubuntuforums.org/showthread.php?t=674738].
user@computer:~$ gksudo gedit /etc/X11/xorg.conf
+
== Ubuntu 8.04 "Hardy Heron" ==
</nowiki></pre>
+
'''''WARNING''': This is not entirely simple and involves using the linux terminal, editing system files and compiling a kernel module.'' Even so, it should work if you follow the steps.
Find the lines relating to wacom tablets and modify them so that they read as follows:
+
=== 1. Pair the tablet with your computer ===
<pre><nowiki>
+
* Press the connect button on the tablet (it should be on the underside of the tablet, near the top right corner).
Section "InputDevice"
+
* From the main Ubuntu menu, select ''System > Preferences > Bluetooth'', then select the ''Services'' tab.
Driver "wacom"
+
* Click on ''Input Service'', select the wacom tablet (which should appear in the bottom pane) and click ''add''.
Identifier "stylus"
+
=== 2. Compile the new hidp kernel module ===
Option "Device" "/dev/input/wacom"
+
Option "Type" "stylus"
+
Option "Mode"  "absolute"
+
EndSection
+
 
+
Section "InputDevice"
+
Driver "wacom"
+
Identifier "eraser"
+
Option "Device" "/dev/input/wacom"
+
Option "Type" "eraser"
+
Option "Mode"  "absolute"
+
EndSection
+
 
+
Section "InputDevice"
+
Driver "wacom"
+
Identifier "cursor"
+
Option "Device" "/dev/input/wacom"
+
Option "Type" "cursor"
+
Option "Speed"  "3.0"
+
Option "Mode"  "relative"
+
EndSection
+
</nowiki></pre>
+
The "Speed" option in the "cursor" section can be tweaked to match the sensitivity of the mouse on the tablet with any other controllers you use. I've found 3.0 to work well for me. To slow the cursor down, you can use speed values of less than 1.0, e.g. a value of 0.5 would make the tablet mouse cursor twice as slow as a value of 1.0.
+
To get the buttons on the tablet working, add a similar section underneath them called "pad":
+
<pre><nowiki>
+
Section "InputDevice"
+
Driver "wacom"
+
Identifier "pad"
+
Option "Device" "/dev/input/wacom"
+
Option "Type" "pad"
+
EndSection
+
</nowiki></pre>
+
Also uncomment the “InputDevice” lines in the ”ServerLayout” section, and add a line for the "pad".
+
<pre><nowiki>
+
Section "ServerLayout"
+
Identifier "Default Layout"
+
Screen "Default Screen"
+
Inputdevice "Generic Keyboard"
+
Inputdevice "Configured Mouse"
+
+
# Uncomment if you have a wacom tablet
+
InputDevice    "stylus" "SendCoreEvents"
+
InputDevice    "cursor" "SendCoreEvents"
+
InputDevice    "eraser" "SendCoreEvents"
+
InputDevice "pad"
+
EndSection
+
</nowiki></pre>
+
Save your work and restart X by logging out and then back in again, or by pressing ctrl-alt-backspace. You should now have a fully working graphire bluetooth tablet!
+
=== Final Notes ===
+
Please remember that when your kernel version gets upgraded (which is usually the only time your computer will recommend a restart after updating) ''you need to do all of step 2 again''.
+
''Also note that when you turn the tablet on, it may function incorrectly.'' To solve this, press CTRL-ALT-F6 to switch to another virtual terminal, and CTRL-ALT-F7 to switch back to X. Also, You ''must'' have your tablet turned on ''when you log in''. So if switching terminals and back hasn't worked, save your work, log out, and log back in again. This limitation also exists for USB Wacom tablets, but they are usually plugged in all the time.
+
== Ubuntu 7.10 "Gutsy" ==
+
Taken from http://ubuntuforums.org/showthread.php?t=674738
+
'''''WARNING''': This is not entirely simple and involves using the linux terminal, editing system files and compiling a kernel module.'' Even so, it should be pretty straightforward if you follow the steps.
+
=== 1. Pairing the tablet with your computer ===
+
The directions for this are mainly taken from [http://ubuntuforums.org/showthread.php?t=227057 this bluetooth keyboard and mouse howto]. Plug in the USB bluetooth dongle that came with the keyboard (probably not necessary if your computer already has bluetooth support) and open a terminal.
+
First you need to find out the MAC address of your tablet. Press the “connect” button on the underside of your tablet then run the following command in the terminal.
+
<pre><nowiki>
+
user@computer:~$ hcitool scan
+
Scanning ...
+
        TABLET_ADDR      WACOM Pen Tablet
+
user@computer:~$
+
</nowiki></pre>
+
In place of TABLET_ADDR should be yout tablet's MAC address. Open the bluetooth hcid configuration file for editing (you may be asked for your password).
+
<pre><nowiki>
+
user@computer:~$ sudo gedit /etc/bluetooth/hcid.conf
+
</nowiki></pre>
+
At the end of this file, add a new section with the following:
+
<pre><nowiki>
+
device TABLET_ADDR {
+
    name "WACOM Pen Tablet";
+
}
+
</nowiki></pre>
+
Restart the bluetooth subsystem
+
<pre><nowiki>
+
user@computer:~$ sudo /etc/init.d/bluetooth restart
+
</nowiki></pre>
+
You should now be able to pair the tablet with your computer via the following command. You might need to press the “connect” button on your tablet again, if it has turned off.
+
<pre><nowiki>
+
user@computer:~$ sudo hidd --search
+
Searching ...
+
        Connecting to device TABLET_ADDR
+
user@computer:~$
+
</nowiki></pre>
+
Your tablet mouse will probably move your cursor now, but it's jerky and slow, and the pen acts just like the mouse.
+
To make sure the tablet connects on startup, edit the bluetooth startup script.
+
<pre><nowiki>
+
user@computer:~$ sudo gedit /etc/default/bluetooth
+
</nowiki></pre>
+
Find the lines with the following:
+
<pre><nowiki>
+
HIDD_ENABLED=0
+
HIDD_OPTIONS="..."
+
</nowiki></pre>
+
Change them to:
+
<pre><nowiki>
+
HIDD_ENABLED=1
+
HIDD_OPTIONS="--connect TABLET_ADDR --server"
+
</nowiki></pre>
+
=== 2. Compiling the new hidp kernel module ===
+
 
'''NOTE''': This step needs to be repeated ''EVERY TIME'' your kernel version changes.
 
'''NOTE''': This step needs to be repeated ''EVERY TIME'' your kernel version changes.
To compile a kernel module you will need to have basic build tools and the linux kernel headers installed. First find out which kernel version you are using.
+
* Download the source for the modified hidp kernel module from [http://sourceforge.net/tracker/download.php?group_id=69596&atid=525126&file_id=282125&aid=1908703] and extract it to onto your desktop (you can safely delete it later).
<pre><nowiki>
+
* Open a terminal (Accessories > Terminal).
user@computer:~$ uname -r
+
* Make sure your tablet is turned off.
2.6.22-14-generic
+
* Type the following commands (only the part after the $ sign), entering your password when prompted:
user@computer:~$
+
</nowiki></pre>
+
Install the relevant linux-headers package. In my case, my kernel version is 2.6.22-14-generic, so the linux-headers package I want is linux-headers-2.6.22.14-generic.  Also install the build-essential package, as this should install all the utilities you need to compile the module.
+
<pre><nowiki>
+
user@computer:~$ sudo apt-get install linux-headers-2.6.22-14-generic build-essential
+
</nowiki></pre>
+
Download the module source from [http://octesian.com/wacom-bt-driver.tar.gz] then extract it somewhere (e.g. your desktop). In the terminal, switch to the folder that was created and compile the module by typing “make”.
+
 
<pre><nowiki>
 
<pre><nowiki>
 +
user@computer:~$ sudo apt-get install build-essential linux-headers-generic
 
user@computer:~$ cd Desktop/wacom-bt-driver
 
user@computer:~$ cd Desktop/wacom-bt-driver
 
user@computer:~/Desktop/wacom-bt-driver$ make
 
user@computer:~/Desktop/wacom-bt-driver$ make
 +
user@computer:~/Desktop/wacom-bt-driver$ sudo make install
 
</nowiki></pre>
 
</nowiki></pre>
This should not show any errors, and you should now have a file “hidp.ko” in the hidp subfolder.
 
<pre><nowiki>
 
user@computer:~/Desktop/wacom-bt-driver$ ls hidp/hidp.ko
 
hidp/hidp.ko
 
user@computer:~/Desktop/wacom-bt-driver$
 
</nowiki></pre>
 
Copy the new hidp.ko file over your kernel's current one (replace the kernel version here with your own).
 
<pre><nowiki>
 
user@computer:~/Desktop/wacom-bt-driver$ sudo cp hidp/hidp.ko /lib/modules/2.6.22-14-generic/kernel/net/bluetooth/hidp/hidp.ko
 
user@computer:~/Desktop/wacom-bt-driver$
 
</nowiki></pre>
 
Now reboot your computer to make sure the module gets unloaded and reloaded. You will also be able to double-check that your tablet can automatically reconnect on startup.
 
 
=== 3. Get the tablet working in X ===
 
=== 3. Get the tablet working in X ===
 
To make sure the proper event symlinks are created, you need to edit the wacom udev rules.
 
To make sure the proper event symlinks are created, you need to edit the wacom udev rules.
 
<pre><nowiki>
 
<pre><nowiki>
user@computer:~$ sudo gedit /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules
+
user@computer:~$ gksudo gedit /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules
 
</nowiki></pre>
 
</nowiki></pre>
Find the lines:
+
Add these lines at the bottom of the file:
 
<pre><nowiki>
 
<pre><nowiki>
# Convenience link for the common case of a single tablet.
+
# Additional rules for bluetooth tablets
 
+
KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK="input/wacom"
+
</nowiki></pre>
+
and add a slightly modified line below:
+
<pre><nowiki>
+
# Convenience link for the common case of a single tablet.
+
 
+
KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK="input/wacom"
+
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYMLINK="input/wacom"
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYMLINK="input/wacom"
</nowiki></pre>
 
Similarly, modify the end of the file as such, also adding a specific link for the graphire bluetooth.
 
<pre><nowiki>
 
# Bluetooth tablets
 
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYSFS{id/product}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8a"
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYSFS{id/product}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8a"
 
# Check and repossess the device if a module other than the wacom one
 
# is already bound to it.
 
 
KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"
 
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"
 
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"
 
</nowiki></pre>
 
</nowiki></pre>
第269行: 第123行:
 
Option "Mode"  "relative"
 
Option "Mode"  "relative"
 
EndSection
 
EndSection
</nowiki></pre>
+
 
The "Speed" option in the "cursor" section can be tweaked to match the sensitivity of the mouse on the tablet with any other controllers you use. I've found 3.0 to work well for me. To slow the cursor down, you can use speed values of less than 1.0, e.g. a value of 0.5 would make the tablet mouse cursor twice as slow as a value of 1.0.
+
To get the buttons on the tablet working, add a similar section underneath them called "pad":
+
<pre><nowiki>
+
 
Section "InputDevice"
 
Section "InputDevice"
 
Driver "wacom"
 
Driver "wacom"
第280行: 第131行:
 
EndSection
 
EndSection
 
</nowiki></pre>
 
</nowiki></pre>
Also uncomment the “InputDevice” lines in the ”ServerLayout” section, and add a line for the "pad".
+
The "Speed" option in the "cursor" section can be tweaked to match the sensitivity of the mouse on the tablet with any other controllers you use. I've found 3.0 to work well for me. To slow the cursor down, you can use speed values of less than 1.0, e.g. a value of 0.5 would make the tablet mouse cursor twice as slow as a value of 1.0.
 +
Now uncomment the “InputDevice” lines in the ”ServerLayout” section, and add a line for the "pad".
 
<pre><nowiki>
 
<pre><nowiki>
 
Section "ServerLayout"
 
Section "ServerLayout"
第295行: 第147行:
 
EndSection
 
EndSection
 
</nowiki></pre>
 
</nowiki></pre>
Save your work and restart X by logging out and then back in again, or by pressing ctrl-alt-backspace. You should now have a fully working graphire bluetooth tablet!
+
Save your work and restart X by logging out and then back in again, or by typing <code><nowiki>sudo /etc/init.d/gdm restart</nowiki></code>. You should now have a fully working graphire bluetooth tablet!
 +
=== Final Notes ===
 +
Please remember that when your kernel version gets upgraded (which is usually the only time your computer will recommend a restart after updating) ''you need to do step 2 again''. If you saved the driver source, all you need to do is restart into the new kernel, then do the "make", "sudo make install" bit again.
 +
''Also note that when you turn the tablet on, it may function incorrectly.'' To solve this, press CTRL-ALT-F6 to switch to another virtual terminal, and CTRL-ALT-F7 to switch back to X. Also, You ''must'' have your tablet turned on ''when you log in''. So if switching terminals and back hasn't worked, save your work, log out, and log back in again. This limitation also exists for USB Wacom tablets, but they are usually plugged in all the time.
 
'''useful links:'''
 
'''useful links:'''
* http://cs.ozerki.net/zap/wacom-bt/  homepage of the modified hidp module
+
* http://ubuntuforums.org/showthread.php?t=674738  forum thread for graphire bluetooth
 
* http://ubuntuforums.org/showthread.php?t=227057  bluetooth keyboard and mouse howto
 
* http://ubuntuforums.org/showthread.php?t=227057  bluetooth keyboard and mouse howto
 
* http://ubuntuforums.org/showthread.php?t=25151  general wacom intuos/graphire howto
 
* http://ubuntuforums.org/showthread.php?t=25151  general wacom intuos/graphire howto
 
* https://help.ubuntu.com/community/Wacom  Ubuntu community documentation for wacom tablets
 
* https://help.ubuntu.com/community/Wacom  Ubuntu community documentation for wacom tablets
 
* http://linuxwacom.sourceforge.net/index.php/howto/inputdev  details of other options you can set in your xorg.conf relating to your tablet
 
* http://linuxwacom.sourceforge.net/index.php/howto/inputdev  details of other options you can set in your xorg.conf relating to your tablet
* http://ubuntuforums.org/showthread.php?t=381751&highlight=wacom+graphire+bluetooth  thread where octesian posted the slightly modified driver linked to in this howto
+
----
 +
[[category:CategoryBluetooth]] [[category:CategoryWacom]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月20日 (四) 00:48的最新版本

These are specific insturctions on how to get your Wacom Graphire Bluetooth working in Ubuntu. Please help to keep this page updated! The ubuntuforums support thread for this article is at [1]. Please post here if you have any problems or questions.

Ubuntu 9.10 "Karmic Koala"

In Karmic, support for this tablet has been added to the kernel, however a tweak to the bluez package still needs to be applied for the tablet to work. Updated bluez packages are available from this PPA: https://launchpad.net/~yobbobandana/+archive/ppa As previously, the tablet can be configured using the method described at Wacom.fdi.

Ubuntu 9.04 "Jaunty Jackalope"

Current status: All features working including hotplug. Driver needs to be installed manually. see [2] for info on installing the updated driver for jaunty. This driver should currently be considered beta quality, and may still have serious bugs!

Configuration

This tablet can be configured using the method described at Wacom.fdi.

Ubuntu 8.10 "Intrepid Ibex"

Current status: Stylus is working with pressure sensitivity, kernel module and newer wacom drivers need to be manually installed.

1. Pair the tablet with your computer

  • Press the connect button on the tablet (it should be on the back, near the top right corner).
  • From the main Ubuntu menu, select System > Preferences > Bluetooth, then click the "+" button underneath the "Known Devices" area.
  • Click "Forward" and wait for the tablet to appear. It may appear as a string of numbers, and can take a little while so be patient. When it appears, select it and click "Forward" again.

2. Compile the new hidp kernel module

  • Download the source for the modified hidp kernel module from [3] and extract it to onto your desktop (you can safely delete it later).
  • Open a terminal (Accessories > Terminal).
  • Make sure your tablet is turned off.
  • Type the following commands, entering your password when prompted:
cd Desktop/wacom-bt-driver
sudo apt-get install build-essential linux-headers-generic
make
sudo make install

3. Install the latest linuxwacom drivers

  • Download version 0.8.1-6 or later of the development drivers from linuxwacom.sourceforge.net ([4])
  • extract to the desktop as with the kernel module, and perform the following commands in a terminal:
cd Desktop/linuxwacom-0.8.1-6
sudo apt-get build-dep wacom-tools
./configure --prefix=/usr
make
sudo make uninstall
sudo make install
  • Restart X by logging out, then back in again.

This should be all you need to do get the main tablet function (the stylus) working. Update - 20081113 The prebuilt drivers no longer seem to work. If you have previously installed using the "./install" script, you might want to clean this up before compiling:

cd Desktop/linuxwacom-0.8.1-6/prebuilt
sudo ./uninstall

Notes / Troubleshooting

  • If your tablet has stopped working after an update, try compiling and installing the kernel module again (step 2).
  • To get the eraser, mouse and pad buttons to work, you can follow the instructions found at UbuntuHelp:Wacom. If you choose to do this you will also need to add the following lines to the end of /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules:
# Additional rules for bluetooth tablets
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYMLINK="input/wacom"
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYSFS{id/product}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8a"
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"

Be aware however that using this method you will need to have your tablet turned on when you log in. After this you can turn your tablet off, but when you turn it back on again you will need to switch to another virtual terminal and back by pressing CTRL-ALT-F1 then CTRL-ALT-F7 to get it working correctly.

  • If you're having any other problems, you can try the graphire bluetooth support thread on the ubuntu forums, at [5].

Ubuntu 8.04 "Hardy Heron"

WARNING: This is not entirely simple and involves using the linux terminal, editing system files and compiling a kernel module. Even so, it should work if you follow the steps.

1. Pair the tablet with your computer

  • Press the connect button on the tablet (it should be on the underside of the tablet, near the top right corner).
  • From the main Ubuntu menu, select System > Preferences > Bluetooth, then select the Services tab.
  • Click on Input Service, select the wacom tablet (which should appear in the bottom pane) and click add.

2. Compile the new hidp kernel module

NOTE: This step needs to be repeated EVERY TIME your kernel version changes.

  • Download the source for the modified hidp kernel module from [6] and extract it to onto your desktop (you can safely delete it later).
  • Open a terminal (Accessories > Terminal).
  • Make sure your tablet is turned off.
  • Type the following commands (only the part after the $ sign), entering your password when prompted:
user@computer:~$ sudo apt-get install build-essential linux-headers-generic
user@computer:~$ cd Desktop/wacom-bt-driver
user@computer:~/Desktop/wacom-bt-driver$ make
user@computer:~/Desktop/wacom-bt-driver$ sudo make install

3. Get the tablet working in X

To make sure the proper event symlinks are created, you need to edit the wacom udev rules.

user@computer:~$ gksudo gedit /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules

Add these lines at the bottom of the file:

# Additional rules for bluetooth tablets
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYMLINK="input/wacom"
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", SYSFS{id/product}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8a"
KERNEL=="event[0-9]*", SYSFS{id/vendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"

This should ensure that the symlinks /dev/input/wacom and /dev/input/tablet-graphire_bt-6x8a point to your tablet. Now edit your Xorg configuration to enable the tablet.

user@computer:~$ gksudo gedit /etc/X11/xorg.conf

Find the lines relating to wacom tablets and modify them so that they read as follows:

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"stylus"
	Option		"Mode"  "absolute"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"eraser"
	Option		"Mode"  "absolute"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"cursor"
	Option		"Speed"  "3.0"
	Option		"Mode"  "relative"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"pad"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"	"pad"
EndSection

The "Speed" option in the "cursor" section can be tweaked to match the sensitivity of the mouse on the tablet with any other controllers you use. I've found 3.0 to work well for me. To slow the cursor down, you can use speed values of less than 1.0, e.g. a value of 0.5 would make the tablet mouse cursor twice as slow as a value of 1.0. Now uncomment the “InputDevice” lines in the ”ServerLayout” section, and add a line for the "pad".

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	Inputdevice	"Generic Keyboard"
	Inputdevice	"Configured Mouse"
	
	# Uncomment if you have a wacom tablet
	InputDevice     "stylus"	"SendCoreEvents"
	InputDevice     "cursor"	"SendCoreEvents"
	InputDevice     "eraser"	"SendCoreEvents"
	InputDevice	"pad"
EndSection

Save your work and restart X by logging out and then back in again, or by typing sudo /etc/init.d/gdm restart. You should now have a fully working graphire bluetooth tablet!

Final Notes

Please remember that when your kernel version gets upgraded (which is usually the only time your computer will recommend a restart after updating) you need to do step 2 again. If you saved the driver source, all you need to do is restart into the new kernel, then do the "make", "sudo make install" bit again. Also note that when you turn the tablet on, it may function incorrectly. To solve this, press CTRL-ALT-F6 to switch to another virtual terminal, and CTRL-ALT-F7 to switch back to X. Also, You must have your tablet turned on when you log in. So if switching terminals and back hasn't worked, save your work, log out, and log back in again. This limitation also exists for USB Wacom tablets, but they are usually plugged in all the time. useful links: