Trust TB-4200 (alias Aiptek) unter Ubuntu 10.4 installieren.

Vier Abende hat es mich gekostet, endlose Versuche und viele Howtoś diverser Foren letztendlich habe ich wieder gewonnen. Das Trust „TB-4200 wireless scroll Tablet“ Grafiktablett funktioniert nun unter Ubuntu 10.4 wie es soll. Dabei ist es eigentlich ganz einfach… wenn man weiß wie

Wenn das Gerät am USB eingesteck wird, sollte es in der Geräteliste auch erscheinen:

root@ubuntu:~# lsusb
Bus 005 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ca:0010 Aiptek International, Inc. Tablet

Ein aktueller Kernel sollte nun auch automatisch das Aiptek-Modul geladen haben:

root@ubuntu:~# lsmod |grep aiptek
aiptek 15059 0

Somit sollte nun auch ein entsprechendes Device (bzw. zwei) im /dev Baum existieren:

root@ubuntu:~# ls -l /dev/input/by-id/usb-* |grep AIPTEK
lrwxrwxrwx 1 root root 10 2012-01-23 23:08 /dev/input/by-id/usb-AIPTEK_International_Inc._USB_Tablet_Series_Version_1.05-event-mouse -> ../event10
lrwxrwxrwx 1 root root 9 2012-01-23 23:08 /dev/input/by-id/usb-AIPTEK_International_Inc._USB_Tablet_Series_Version_1.05-mouse -> ../mouse3

Ist das nicht der Fall, sollte man die uDev-Regeln prüfen.
Nun das wichtigste:
Stellt sicher, dass die Datei /usr/lib/X11/xorg.conf.d/20-aiptek.conf (unter Ubuntu 10.4 werden Erweiterungen nicht mehr in /etc/X11/xorg.conf geschrieben) existiert, und folgenden Inhalt hat:

Section „InputClass“
Identifier „Aiptek class“
MatchProduct „Aiptek“
MatchDevicePath „/dev/input/event*“
MatchProduct „Aiptek|AIPTEK|aiptek“
Driver „aiptek“
Option „USB“ „on“
Option „Mode“ „absolute“
Option „zMin“ „0“
Option „zMax“ „511“
Option „Type“ „stylus“
EndSection

Nun startet ihr den x-Server neu

/etc/init.d/gdm restart

Wenn im Logbuch Type „Stylus“ steht, habt ihr gewonnen:

(II) config/udev: Adding input device Aiptek (/dev/input/event10)
(**) Aiptek: Applying InputClass „evdev pointer catchall“
(**) Aiptek: Applying InputClass „evdev keyboard catchall“
(**) Aiptek: Applying InputClass „evdev tablet catchall“
(**) Aiptek: Applying InputClass „Aiptek class“
(II) LoadModule: „aiptek“
(II) Loading /usr/lib/xorg/modules/input/aiptek_drv.so
(II) Module aiptek: vendor=“X.Org Foundation“
compiled for 1.7.2, module version = 1.3.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(II) xf86AiptekInit(): begins
(**) xf86AiptekConfig: device not shared btw Aiptek and Power Button
(**) xf86AiptekConfig: device not shared btw Aiptek and Video Bus
(**) xf86AiptekConfig: device not shared btw Aiptek and Sleep Button
(**) xf86AiptekConfig: device not shared btw Aiptek and Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)
(**) xf86AiptekConfig: device not shared btw Aiptek and Aiptek
(**) Aiptek: always reports core events
(**) Option „Device“ „/dev/input/event10“
(==) HID Device name: „Aiptek“
(==) HID Driver Version: 1.0.0
(==) HID Driver knows it has 1 devices configured
(==) HID Driver is using 15 as the fd
From ioctl() xCapacity=5999
From ioctl() yCapacity=4499
(**) Aiptek device is /dev/input/event10
(**) Aiptek is in absolute mode
(**) Option „USB“ „on“
(**) Aiptek: reading USB link
(**) Option „ZMax“ „511“
(**) Aiptek: ZMax/MaxZ = 511
(**) Option „ZMin“ „0“
(**) Aiptek: ZMin/MinZ = 0
(**) Option „BaudRate“ „9600“
(**) Aiptek: BaudRate 9600
(**) Aiptek: xf86AiptekInit() finished
(II) XINPUT: Adding extended input device „Aiptek“ (type: Stylus)
(==) HID Device name: „Aiptek“

Ihr könnt die aktuell verwendeten Input-Devices bei laufendem X-server auch mal auflisten lassen:
Methode1:

root@ubuntu:/etc/udev/rules.d# xsetpointer -l
2: „Virtual core pointer“ [XPointer]
3: „Virtual core keyboard“ [XKeyboard]

4: „Virtual core XTEST pointer“ [XExtensionPointer]
5: „Virtual core XTEST keyboard“ [XExtensionKeyboard]
6: „Power Button“ [XExtensionKeyboard]
7: „Video Bus“ [XExtensionKeyboard]
8: „Sleep Button“ [XExtensionKeyboard]
9: „Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)“ [XExtensionPointer]
10: „Aiptek“ [XExtensionPointer]
11: „AT Translated Set 2 keyboard“ [XExtensionKeyboard]
12: „SynPS/2 Synaptics TouchPad“ [XExtensionPointer]
13: „TPPS/2 IBM TrackPoint“ [XExtensionPointer]
14: „ThinkPad Extra Buttons“ [XExtensionKeyboard]
15: „Macintosh mouse button emulation“ [XExtensionPointer]

Methode 2:

root@ubuntu:/etc/udev/rules.d# xinput list

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) id=9 [slave pointer (2)]
⎜ ↳ Aiptek id=10 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)]

 

Wenn alles nicht klappt, oder ihr ein anderes Grafiktablett verwendet, möchte ich euch folgende Links empfehlen:

Wizardpen (Hier gibt es auch weitere Hilfen die Problemen mit Tabletts helfen, beziehen sich aber auf eine andere Grundproblematik)

Ich hoffe jemanden mit diesem Howto geholfen zu haben 😉

Lest mal wieder rein.
SandUhrGucker

Dieser Beitrag wurde unter Howtoś Tutorials abgelegt und mit verschlagwortet. Setze ein Lesezeichen auf den Permalink.