个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
 
第17行: 第17行:
 
<pre><nowiki>
 
<pre><nowiki>
 
Section "InputDevice"
 
Section "InputDevice"
Driver        "wacom"
+
  Driver        "wacom"
Identifier    "cursor"
+
  Identifier    "cursor"
Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
+
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
Option        "Type"          "cursor"
+
  Option        "Type"          "cursor"
 
EndSection
 
EndSection
 +
 
Section "InputDevice"
 
Section "InputDevice"
Driver        "wacom"
+
  Driver        "wacom"
Identifier    "stylus"
+
  Identifier    "stylus"
Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
+
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
Option        "Type"          "stylus"
+
  Option        "Type"          "stylus"
 
EndSection
 
EndSection
 +
 
Section "InputDevice"
 
Section "InputDevice"
Driver        "wacom"
+
  Driver        "wacom"
Identifier    "eraser"
+
  Identifier    "eraser"
Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
+
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
Option        "Type"          "eraser"
+
  Option        "Type"          "eraser"
 
EndSection
 
EndSection
 +
 
Section "ServerLayout"
 
Section "ServerLayout"
 
...
 
...
 
InputDevice "cursor"    "SendCoreEvents"
 
InputDevice "cursor"    "SendCoreEvents"
InputDevice "stylus"    "SendCoreEvents"
+
        InputDevice "stylus"    "SendCoreEvents"
InputDevice "eraser"    "SendCoreEvents"
+
        InputDevice "eraser"    "SendCoreEvents"
 
EndSection
 
EndSection
 
</nowiki></pre>
 
</nowiki></pre>

2007年12月6日 (四) 11:00的最新版本

Using Wacom PenPartner Serial with Hoary

What I did. And it seems to work:

uname -a
X -version

- Copy the right driver to the X-Server module folder

cd /usr/X11R6/lib/modules/input
sudo mv wacom_drv.o wacom_drv.o.orgsudo cp /home/andreas/Desktop/linuxwacom-0.6.8/prebuilt/wacom_drv.o_6.8k2.6 wacom_drv.o
  • add the following to your /etc/X11/xorg.conf file
Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Type"          "cursor"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Type"          "stylus"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Type"          "eraser"
EndSection

Section "ServerLayout"
	...
	InputDevice	"cursor"    "SendCoreEvents"
        InputDevice	"stylus"    "SendCoreEvents"
        InputDevice	"eraser"    "SendCoreEvents"
EndSection
  • And thats it. My very old pad works perfect :-)