特殊:Badtitle/NS100:WacomTroubleshooting
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/WacomTroubleshooting }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/af | • {{#if: UbuntuHelp:WacomTroubleshooting|Afrikaans| [[::WacomTroubleshooting/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ar | • {{#if: UbuntuHelp:WacomTroubleshooting|العربية| [[::WacomTroubleshooting/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/az | • {{#if: UbuntuHelp:WacomTroubleshooting|azərbaycanca| [[::WacomTroubleshooting/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/bcc | • {{#if: UbuntuHelp:WacomTroubleshooting|جهلسری بلوچی| [[::WacomTroubleshooting/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/bg | • {{#if: UbuntuHelp:WacomTroubleshooting|български| [[::WacomTroubleshooting/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/br | • {{#if: UbuntuHelp:WacomTroubleshooting|brezhoneg| [[::WacomTroubleshooting/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ca | • {{#if: UbuntuHelp:WacomTroubleshooting|català| [[::WacomTroubleshooting/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/cs | • {{#if: UbuntuHelp:WacomTroubleshooting|čeština| [[::WacomTroubleshooting/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/de | • {{#if: UbuntuHelp:WacomTroubleshooting|Deutsch| [[::WacomTroubleshooting/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/el | • {{#if: UbuntuHelp:WacomTroubleshooting|Ελληνικά| [[::WacomTroubleshooting/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/es | • {{#if: UbuntuHelp:WacomTroubleshooting|español| [[::WacomTroubleshooting/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/fa | • {{#if: UbuntuHelp:WacomTroubleshooting|فارسی| [[::WacomTroubleshooting/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/fi | • {{#if: UbuntuHelp:WacomTroubleshooting|suomi| [[::WacomTroubleshooting/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/fr | • {{#if: UbuntuHelp:WacomTroubleshooting|français| [[::WacomTroubleshooting/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/gu | • {{#if: UbuntuHelp:WacomTroubleshooting|ગુજરાતી| [[::WacomTroubleshooting/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/he | • {{#if: UbuntuHelp:WacomTroubleshooting|עברית| [[::WacomTroubleshooting/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/hu | • {{#if: UbuntuHelp:WacomTroubleshooting|magyar| [[::WacomTroubleshooting/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/id | • {{#if: UbuntuHelp:WacomTroubleshooting|Bahasa Indonesia| [[::WacomTroubleshooting/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/it | • {{#if: UbuntuHelp:WacomTroubleshooting|italiano| [[::WacomTroubleshooting/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ja | • {{#if: UbuntuHelp:WacomTroubleshooting|日本語| [[::WacomTroubleshooting/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ko | • {{#if: UbuntuHelp:WacomTroubleshooting|한국어| [[::WacomTroubleshooting/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ksh | • {{#if: UbuntuHelp:WacomTroubleshooting|Ripoarisch| [[::WacomTroubleshooting/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/mr | • {{#if: UbuntuHelp:WacomTroubleshooting|मराठी| [[::WacomTroubleshooting/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ms | • {{#if: UbuntuHelp:WacomTroubleshooting|Bahasa Melayu| [[::WacomTroubleshooting/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/nl | • {{#if: UbuntuHelp:WacomTroubleshooting|Nederlands| [[::WacomTroubleshooting/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/no | • {{#if: UbuntuHelp:WacomTroubleshooting|norsk| [[::WacomTroubleshooting/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/oc | • {{#if: UbuntuHelp:WacomTroubleshooting|occitan| [[::WacomTroubleshooting/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/pl | • {{#if: UbuntuHelp:WacomTroubleshooting|polski| [[::WacomTroubleshooting/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/pt | • {{#if: UbuntuHelp:WacomTroubleshooting|português| [[::WacomTroubleshooting/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ro | • {{#if: UbuntuHelp:WacomTroubleshooting|română| [[::WacomTroubleshooting/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/ru | • {{#if: UbuntuHelp:WacomTroubleshooting|русский| [[::WacomTroubleshooting/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/si | • {{#if: UbuntuHelp:WacomTroubleshooting|සිංහල| [[::WacomTroubleshooting/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/sq | • {{#if: UbuntuHelp:WacomTroubleshooting|shqip| [[::WacomTroubleshooting/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/sr | • {{#if: UbuntuHelp:WacomTroubleshooting|српски / srpski| [[::WacomTroubleshooting/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/sv | • {{#if: UbuntuHelp:WacomTroubleshooting|svenska| [[::WacomTroubleshooting/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/th | • {{#if: UbuntuHelp:WacomTroubleshooting|ไทย| [[::WacomTroubleshooting/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/tr | • {{#if: UbuntuHelp:WacomTroubleshooting|Türkçe| [[::WacomTroubleshooting/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/vi | • {{#if: UbuntuHelp:WacomTroubleshooting|Tiếng Việt| [[::WacomTroubleshooting/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/yue | • {{#if: UbuntuHelp:WacomTroubleshooting|粵語| [[::WacomTroubleshooting/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/zh | • {{#if: UbuntuHelp:WacomTroubleshooting|中文| [[::WacomTroubleshooting/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/zh-hans | • {{#if: UbuntuHelp:WacomTroubleshooting|中文(简体)| [[::WacomTroubleshooting/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WacomTroubleshooting | UbuntuHelp:WacomTroubleshooting | {{#if: | :}}WacomTroubleshooting}}/zh-hant | • {{#if: UbuntuHelp:WacomTroubleshooting|中文(繁體)| [[::WacomTroubleshooting/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:WacomTroubleshooting|:WacomTroubleshooting|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :WacomTroubleshooting/zh | | {{#ifexist: WacomTroubleshooting/zh | | {{#ifeq: {{#titleparts:WacomTroubleshooting|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:WacomTroubleshooting|1|-1|}} | zh | | }}
- title Example Lines for /etc/X11/xorg.conf for Wacom tablets
Example Lines for /etc/X11/xorg.conf
This section is intended as a complement to https://help.ubuntu.com/community/Wacom, in order to help users configure Wacom tablets in /etc/X11/xorg.conf when needed. Please note that in Ubuntu 8.04 and newer, xorg.conf is less and less used in favour of other methods, and editing xorg.conf manually is a risky business (you can easily hose X). Having an example xorg.conf from an older release of Ubuntu on your hardware can be a great help. 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.
In Ubuntu 9.04 beta (Jaunty Jackalope)
If updated to use the 1:0.8.2.2-0ubuntu2 versions of xserver-xorg-input-wacom and wacom-tools USB Wacom tablets will hotplug, including support for stylus, eraser and cursor. So try this before editing your xorg.conf file, as it will probably be all you need. (This should also work for inbuilt serial (non-USB) tablets that use the pnpbios to signal their presence to the system.)
- If this doesn't meet your needs, for example because you are using an older external RS232 serial tablet, then editing the xorg.conf file to add sections as detailed below for Ubuntu 8.10 can be made to work.
- Do back up your working xorg.conf before starting.
- Have external serial tablets plugged in and powered up before starting the system.
- When the new version you have edited fails, Jaunty does now drop you to a set of diagnostic tools that allow you to easily view the logs and find out what went wrong.
In Ubuntu 8.10 (Intrepid Ibex)
The following lines are for Ubuntu 8.10 (Intrepid Ibex), but should also work in Ubuntu 8.04 (Hardy Heron). Note that:
- you will have to [[UbuntuHelp:[serial|modify some lines]]] if you are using a serial Wacom tablet (most Tablet PC are serial tablets) instead of an USB one;
- LCD tablets like Cintiq don't have the "cursor" type, so just remove the relevant section and the corresponding line in the
Section "ServerLayout"
; - if you want to make sure your tablet isn't picked up by HAL when you unplug it and plug it again, you can also take [[UbuntuHelp:[fdi|this step]]].
The InputDevice Sections
Add these sections or uncomment them (removing the # at the beginning of the lines) if they are already present.
Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" # USB ONLY? # Option "Device" "/dev/ttyS0" # SERIAL ONLY Option "Type" "stylus" # Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "USB" "on" # USB ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" # USB ONLY? # Option "Device" "/dev/ttyS0" # SERIAL ONLY Option "Type" "eraser" # Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "USB" "on" # USB ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" # USB ONLY? # Option "Device" "/dev/ttyS0" # SERIAL ONLY Option "Type" "cursor" # Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "USB" "on" # USB ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "pad" Option "Device" "/dev/input/wacom" # USB ONLY # Option "Device" "/dev/ttyS0" # SERIAL ONLY Option "Type" "pad" Option "USB" "on" # USB ONLY EndSection # Uncomment the following section if you you have a TabletPC that supports touch # Section "InputDevice" # Driver "wacom" # Identifier "touch" # Option "Device" "/dev/ttyS0" # SERIAL ONLY # Option "Device" "/dev/input/wacom" # USB ONLY # Option "Type" "touch" # Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY # Option "USB" "on" # USB ONLY # EndSection
The ServerLayout Section
The lines for the sections "InputDevice"
you enabled need to be added in the section "ServerLayout"
InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" # For non-LCD tablets only InputDevice "pad" # For Intuos3/CintiqV5/Graphire4/Bamboo tablets # InputDevice "touch" "SendCoreEvents" # Only a few TabletPCs support this type
If the section is not present then you need to create it. However, be warned that adding this section may well make your system unbootable. If you successfully configured your tablet in Hardy and have access to the old xorg.conf file, you may wish to try copying it over to Ibex to avoid other potential problems.
Create the section as follows:
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" # For non-LCD tablets only InputDevice "pad" # For Intuos3/CintiqV5/Graphire4/Bamboo tablets # InputDevice "touch" "SendCoreEvents" # Only a few TabletPCs support this type EndSection
If you experience difficulties after creating this section, consult your /var/log/Xorg.0.log file for details of errors during the last running of X. <<Anchor(serial)>>
Serial Tablet and Tablet PC Users
If you are configuring a serial tablet, you have to comment the lines that are marked # USB ONLY
and uncomment the lines marked # SERIAL ONLY
by respectively adding or removing a #
at the beginning of the lines.
If you are configuring a Tablet PC, make sure to also remove the #
at the beginning of the line
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
So for a Tablet PC this line will look like this (leave the # before "Tablet PC ONLY")
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
You also have to uncomment the line # InputDevice "touch" "SendCoreEvents"
if your Tablet PC supports touch input (make sure you also uncommented the "touch" section in Section "InputDevice"
.
In Ubuntu Versions Before Ubuntu 8.04 (Hardy Heron)
On versions of Ubuntu released before Ubuntu 8.04, the InputDevice
sections should be the same, and the same notes apply to [[UbuntuHelp:[serial|serial tablet and Tablet PC users]]]. However, the ServerLayout
section should be similar to this (remove or add the lines in accordance to the sections "InputDevice"
you created):
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" # For non-LCD tablets only InputDevice "pad" # For Intuos3/CintiqV5/Graphire4/Bamboo tablets # InputDevice "touch" "SendCoreEvents" # Only a few TabletPCs support this type EndSection
Tips
Disabling Input Hotplug Through HAL for Your Wacom Tablet
<<Anchor(fdi)>>
If you want to make sure your tablet isn't picked up by HAL when you unplug it and replug it, just remove the file /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi . In a terminal, type:
sudo rm /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi
To restore the file, remove the package xserver-xorg-input-wacom
then reinstall it.
Disabling Input Hotplug Through HAL for All Devices In Ubuntu 8.10
On Ubuntu 8.10 (and possibly following releases), if you want to disable input hotplug through HAL for all devices, you need to create this section :
Section "ServerFlags" Option "AutoAddDevices" "False" EndSection
If you have already modified your xorg.conf and this section is present, check if the line
Option "AutoAddDevices" "False"
is present, else just add it inside the section. It is in no way necessary to add this option if you want to configure your tablet with the xorg.conf method (Option B in the|guide).
History
Here is an extract of Dapper Drake default xorg.conf relating to Wacom USB tablets (kept for reference if you're using this version of Ubuntu) along with instruction to modify it :
Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection
You should replace the 3 /dev/wacom occurences to point to /dev/input/wacom
Here is the above section of /etc/X11/xorg.conf after modification :
Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" # Change to # /dev/input/event # for USB Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" # Change to # /dev/input/event # for USB Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" # Change to # /dev/input/event # for USB Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection
These lines are added in the section "ServerLayout"
InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents"
If they are not present, you can paste them into the section, which will look like this :
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection