特殊:Badtitle/NS100:Wacom
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Wacom }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/af | • {{#if: UbuntuHelp:Wacom|Afrikaans| [[::Wacom/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ar | • {{#if: UbuntuHelp:Wacom|العربية| [[::Wacom/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/az | • {{#if: UbuntuHelp:Wacom|azərbaycanca| [[::Wacom/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/bcc | • {{#if: UbuntuHelp:Wacom|جهلسری بلوچی| [[::Wacom/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/bg | • {{#if: UbuntuHelp:Wacom|български| [[::Wacom/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/br | • {{#if: UbuntuHelp:Wacom|brezhoneg| [[::Wacom/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ca | • {{#if: UbuntuHelp:Wacom|català| [[::Wacom/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/cs | • {{#if: UbuntuHelp:Wacom|čeština| [[::Wacom/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/de | • {{#if: UbuntuHelp:Wacom|Deutsch| [[::Wacom/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/el | • {{#if: UbuntuHelp:Wacom|Ελληνικά| [[::Wacom/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/es | • {{#if: UbuntuHelp:Wacom|español| [[::Wacom/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/fa | • {{#if: UbuntuHelp:Wacom|فارسی| [[::Wacom/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/fi | • {{#if: UbuntuHelp:Wacom|suomi| [[::Wacom/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/fr | • {{#if: UbuntuHelp:Wacom|français| [[::Wacom/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/gu | • {{#if: UbuntuHelp:Wacom|ગુજરાતી| [[::Wacom/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/he | • {{#if: UbuntuHelp:Wacom|עברית| [[::Wacom/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/hu | • {{#if: UbuntuHelp:Wacom|magyar| [[::Wacom/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/id | • {{#if: UbuntuHelp:Wacom|Bahasa Indonesia| [[::Wacom/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/it | • {{#if: UbuntuHelp:Wacom|italiano| [[::Wacom/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ja | • {{#if: UbuntuHelp:Wacom|日本語| [[::Wacom/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ko | • {{#if: UbuntuHelp:Wacom|한국어| [[::Wacom/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ksh | • {{#if: UbuntuHelp:Wacom|Ripoarisch| [[::Wacom/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/mr | • {{#if: UbuntuHelp:Wacom|मराठी| [[::Wacom/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ms | • {{#if: UbuntuHelp:Wacom|Bahasa Melayu| [[::Wacom/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/nl | • {{#if: UbuntuHelp:Wacom|Nederlands| [[::Wacom/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/no | • {{#if: UbuntuHelp:Wacom|norsk| [[::Wacom/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/oc | • {{#if: UbuntuHelp:Wacom|occitan| [[::Wacom/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/pl | • {{#if: UbuntuHelp:Wacom|polski| [[::Wacom/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/pt | • {{#if: UbuntuHelp:Wacom|português| [[::Wacom/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ro | • {{#if: UbuntuHelp:Wacom|română| [[::Wacom/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/ru | • {{#if: UbuntuHelp:Wacom|русский| [[::Wacom/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/si | • {{#if: UbuntuHelp:Wacom|සිංහල| [[::Wacom/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/sq | • {{#if: UbuntuHelp:Wacom|shqip| [[::Wacom/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/sr | • {{#if: UbuntuHelp:Wacom|српски / srpski| [[::Wacom/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/sv | • {{#if: UbuntuHelp:Wacom|svenska| [[::Wacom/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/th | • {{#if: UbuntuHelp:Wacom|ไทย| [[::Wacom/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/tr | • {{#if: UbuntuHelp:Wacom|Türkçe| [[::Wacom/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/vi | • {{#if: UbuntuHelp:Wacom|Tiếng Việt| [[::Wacom/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/yue | • {{#if: UbuntuHelp:Wacom|粵語| [[::Wacom/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/zh | • {{#if: UbuntuHelp:Wacom|中文| [[::Wacom/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/zh-hans | • {{#if: UbuntuHelp:Wacom|中文(简体)| [[::Wacom/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Wacom | UbuntuHelp:Wacom | {{#if: | :}}Wacom}}/zh-hant | • {{#if: UbuntuHelp:Wacom|中文(繁體)| [[::Wacom/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Wacom|:Wacom|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Wacom/zh | | {{#ifexist: Wacom/zh | | {{#ifeq: {{#titleparts:Wacom|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Wacom|1|-1|}} | zh | | }}
Ubuntu 8.04 Hardy Heron
To set up your tablet, follow the instructions at http://ubuntuforums.org/showthread.php?t=765915
Notes
Under Ubuntu 7.04 Feisty Fawn or later, thanks to updated drivers, you should have nothing more to do than plug in your tablet for most tablets. You may have to restart the X server by pressing Ctrl-Alt-Backspace or logging out then logging back in after you have closed all your applications.
Bamboo Series
The Bamboo series tablets require the latest development Wacom drivers, which must be installed manually See http://ubuntuforums.org/showpost.php?p=4253232&postcount=133 for a howto
Graphire Bluetooth
Unfortunately the Graphire Bluetooth requires changes to the kernel hidp module to work. See WacomGraphireBluetooth for instructions on how to get this tablet working.
Others
You'll need to uncomment (or put) some lines in /etc/X11/xorg.conf to get the tablet working properly:
# Uncomment if you have a wacom tablet InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents"
Dapper (6.06) and Edgy (6.10)
Under Ubuntu Dapper or Edgy, installing an USB Wacom tablet is straightforward. Remember to plug in your tablet before you boot; it makes things simpler. With the version of the Linux Wacom driver (0.7.2) in Ubuntu 6.06 and 6.10, if you unplug you tablet, it won't function when you plug it back in and you will have to restart X. For this reason, it is best to leave the tablet plugged in.
- Using Synaptic package manager[[FootNote(System>Administration>Synaptic Package Manager. You need to have administrative rights to install the packages)]], check if the packages xserver-xorg-input-wacom and wacom-tools are already installed - if not install them. If you prefer using the command line, you can also execute :
sudo apt-get install xserver-xorg-input-wacom wacom-tools
- Save a copy of your /etc/X11/xorg.conf :
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
then edit it with the command line :
gksudo gedit /etc/X11/xorg.conf
and change all /dev/wacom occurences into /dev/input/wacom (created by wacom-tools udev scripts)[[FootNote(Alternatively, you could make a symbolic link between /dev/input/wacom and /dev/wacom (pointed to by /etc/X11/xorg.conf, but this would only be a temporary solution, and you would have to set the symbolic link again after reboot : sudo ln -s /dev/input/wacom /dev/wacom
)]], then save the file.
For an LTSP client update the /usr/bin/dexconf script instead, this is run at boot time to generate a new xorg.conf configuration file, and so any changes made to xorg.conf are lost on reboot.
You should be ready to go after you have restarted XFootNote(Ctrl-Alt-Backspace. Save your work before doing so!). Remember to Extended configure the "Extended input devices" in your graphics application, however you can already check if it's working by moving your stylus on the tablet : the mouse cursor should go through the whole screen.
In case this doesn't work
This is not the recommended solution, because sometimes your tablet will appear under an other event. First, follow step 1. of the previous section to install at least xserver-xorg-input-wacom. Then :
- check your /etc/X11/xorg.conf, you should see some new entries with the name "wacom"FootNote(Else add them following the model at https://wiki.ubuntu.com/WacomTroubleshooting), they point to /dev/wacom ;
- you first have to check on which /dev/input/event# (where # is a number, usually 2 or 3) your tablet appears[[FootNote(You can check this by installing the package wacom-tools, then using in a terminal the command
sudo wacdump /dev/input/event#
,replacing # by the number of the event you want to check.)]], - Save a copy of your /etc/X11/xorg.conf first:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup then edit it with the command line :
gksudo gedit /etc/X11/xorg.conf
and change all /dev/wacom occurences into /dev/input/event# (replacing # with the number of the event)[[FootNote(Alternatively, and as a quick test, you could create a symbolic link /dev/wacom directly pointing to the exact event in /dev/input, with the command : sudo ln -s /dev/input/event# /dev/wacom
(remember # is a number, so you might for example have to type: sudo ln -s /dev/input/event3 /dev/wacom
)]].
You should be ready to go after you have restarted XFootNote(Ctrl-Alt-Backspace. Save your work before doing so!).
If you have a Toshiba Tablet PC and you are running Gutsy Gibbon or Hardy Heron
There is a bug in the kernel that prevents the tablet pen from waking up from suspend. The issue is well-understood and there are kernel packages fixing it attached to this launchpad bug report: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/152187
If you have a Volito2 and you are running Edgy Eft
There is actually a bug in Edgy Eft, and you need a workaround to get your Volito2 working.
- Make a backup copy of your wacom.ko :
sudo mv /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko_backup
- Download the wacom.ko module at http://librarian.launchpad.net/4936142/wacom.ko
- Copy it to /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/ :
sudo cp <your download directory>/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/
Now reboot your system and everything should work fine as the other pen tablets.
If you have a TC1100 and you are running Edgy Eft
Using the instructions at the top of this guide, install the Wacom packages as noted in Step 1.
Do NOT follow the instructions in Step 2 to rename the /dev/wacom device references. Instead, backup the xorg.conf as noted in Step 2 and make sure the following line is not commented in each of the wacom InputDevice sections.
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
After installing the packages, the Wacom driver firmware must be activated with the following terminal command.
echo "1" > /dev/wacom
Then restart X to use the stylus. Anchor(Extended)
Configuring the "Extended input devices"
Your tablet input devices (usuall stylus, eraser, and cursor) should now appear in programs that support them -- at the moment, Gimp and Inkscape are the most common. However, you still have to enable them before you can use them fully.
Gimp
Open Files>Preferences : Use the tab "Input devices", then click on "Configure Extended Input Devices" Choose Device: Stylus then Mode: ScreenFootNote(You can also choose Mode: Window, but it's not the best setting). Do the same for the Eraser and the Cursor: Now you're ready to draw, for example with the Paintbrush. You can change the Pressure Sensitivity effect from Opacity to Size, such as here :
Inkscape
Being a vector drawing program, unlike Gimp, Inkscape is very good for ink-style drawings. An advantage of vector drawings (apart from the low resource requirements) is that your strokes will remain sharp at whatever magnification, resolution or thinness. Open Files>Input devices... : Choose Device: Stylus then Mode: ScreenFootNote(You can also choose Mode: Window, but it's not the best setting) - do the same for the Eraser and the Cursor: Now you're ready to draw. The best tool with a tablet is the Calligraphy tool (Ctrl+F6) , you have to click on the icon to use the pressure, and adjust the settings on the bar just above the horizontal ruler like on the following picture :
Tips
Modifying Stroke Pressure
If you find that with the defaults setting for the stylet it's hard to draw thin strokes, you can add this line in /etc/X11/xorg.conf[[FootNote(Remember to be careful when editing this file. First make a backup copy with sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
then edit it with the command line gksudo gedit /etc/X11/xorg.conf
)]]:
Option "PressCurve" "50,0,100,50" # Custom preference
to the section "InputDevice" relative to the stylet. It will then look like this :
Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "stylus" Option "PressCurve" "50,0,100,50" # Custom preference Option "Threshold" "60" # sensetivity to do a "click" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection
The parameter "50,0, 100,50" determine the slope of two tangents of the pressure curve("deltaX_1,deltaY_1 ,100-deltaX_2,100-deltaY_2"; 1:no pressure, 2:full pressure). On Gnome Graphic Tablet Apps you can find an application that does this and some pictures that show what the pressure curve is.
Fixing the Inverted Scrolling Problem
If the scroll wheel on your Wacom mouse is inverted (up is down and down is up), there is a workaround. Open up the terminal and type in:
xsetwacom set cursor RelWDn 4 xsetwacom set cursor RelWUp 5
If the scroll wheel now works correctly (which it should), open up a text editor, type "#!/bin/sh", and then below that paste in the above commands. Save it as ".xsetwacomrc" in your home directory and make sure it is executable (type in "chmod +x .xsetwacomrc" from the terminal). To load this file on startup, go to System->Preferences->Sessions and click on the "Startup Programs" tab. Click on "New" and enter the command "/home/USERNAME/.xsetwacomrc", then give it a title like "Wacom Cursor Scroll Inversion Rectifier". You may of course like to place other xsetwacom commands into that file, depending on your needs.
With my Graphire4 on Ubuntu 7.10, those commands did not work. Instead, the following commands fixed the inverted scrollwheel issue:
xsetwacom set wacompad relwup "button 5" xsetwacom set wacompad relwdn "button 4"
-- DavidAllouche DateTime(2007-12-08T16:25:42Z)
Note: For this to work the xorg.conf must refer to your wacom device pad as wacompad. By default in Gutsy there is no reference to the pad as an input device. For the scrollwheel to work add the following lines under Section "InputDevice":
Section "InputDevice" Driver "wacom" Identifier "pad" Option "Device" "/dev/input/wacom" # USB ONLY Option "Type" "pad" Option "USB" "on" # USB ONLY EndSection
In the above example, which is the configuration in my xorg.conf, the option "Type" is "pad" and not "wacompad". It will work either way but use one not both. Similarly in the Section "ServerLayout" you must add the following line:
Section "ServerLayout" InputDevice "pad" #Do not add SendCoreEvents
Again careful about whether you use "pad" or "wacompad"!
use a specific area of the tablet
You can limit the used area of the tablet to get the correct aspect ratio (if you draw circles and get something oval).
Section "InputDevice" ... Option "TopX" "100" Option "TopY" "200" Option "BottomX" "14000" Option "BottomY" "6000" ... EndSection
Although you can make this different for the pen and the eraser, you propably want to have the same area for both of them. On the Graphire4 XL the resolution is 800 dots per cm, so 6000-200 is 7.25 cm on the tablet.
Others sources of information
The Linux Wacom Project The page https://wiki.ubuntu.com/WacomTabletIssue has more detailed information, especially for previous Ubuntu releases. The information is sometimes quite dated, though some notes can be usefull, especially if your tablet isn't working properly. The page https://wiki.ubuntu.com/WacomTroubleshooting contains fewer advices, but they are more recent. The page https://wiki.ubuntu.com/Install_linuxwacom_driver is an up-to-date guide especialy useful if you want or need to do things by hand. The page http://alexmac.cc/tablet-apps/ is home to a wacom configuration application which allows you to edit pressure curve, device mode and tilt(coming soon) it also includes a nice test area to which offers realtime testing of your decisions. This site includes both source code and .deb's On the page http://www.runkel-it.de/wacom_tablet_howto.de-5.html (german) most of the parameters are described.