Wacom A5 Intuos2 USB, XFree 4.1, kernel 2.4.14 (LLLONG)
Zdenek Pizl
z.p na linux-cd.cz
Pátek Leden 4 13:55:26 CET 2002
Zdravim,
kolega si poridil zmineny tablet, trochu kresli a
potreboval snizit danovy zaklad :-)
A ted to chce rozbehnout. Mno - jak bych to tak rekl -
napoprve jsem neuspel.
v kernelu mam zakompilovanou podporu pro HID, USB WACOM a
zarizeni /dev/input/event0 je pritomno a funkcni.
Bohuzel na pohyb nereaguje, eventy se objevi v logu az po
posunu mysi, co k tomu PC pripojena (mys PS2).
Nasel jsem na webu nejake "patchovane, aktualizovane"
zdrojaky a drivery jak do kernelu, tak i pro X11 v 4.x, ale
zda se mi, ze kdyz to je odzkouseno proti 2.4.8 jadru, tak
to az tak zhave nebude
(http://people.mandrakesoft.com/~flepied/projects/wacom/)
Mate nekdo nejake zkusenosti s timhle tabletem ? jestli
ano, nadhote mozne problemy ....
Diky
#--------- konfigurace a logy -----------------
XFree86Config-4 (relevantni casti) :
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
# Option "AllowMouseOpenFail" "true"
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
# Module loading section
Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering
infrastructure
Load "glx" # OpenGL X protocol
interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "pex5" # PHIGS for X 3D
environment (obsolete)
# Load "record" # X event recorder
# Load "xie" # X Image Extension
(obsolete)
Load "xie"
Load "pex5"
Load "record"
# WACOM tablet
Load "wacom" # Wacom Device Driver
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/event0"
Option "Type" "cursor"
Option "Mode" "relative"
Option "USB" "on"
Option "Speed" "3.0"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/event0"
Option "Type" "stylus"
Option "Mode" "absolute"
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/event0"
Option "Type" "eraser"
Option "Mode" "absolute"
Option "USB" "on"
Option "Tilt" "on"
Option "Threshold" "5"
EndSection
#---------------------------------------------------------------
XFree86.0.log (relevantni casti):
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "cursor"
(**) |-->Input Device "stylus"
(**) |-->Input Device "eraser"
...
(II) LoadModule: "wacom"
(II) Loading /usr/X11R6/lib/modules/input/wacom_drv.o
(II) Module wacom: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.2
(II) Wacom driver level: 23 $
(II) LoadModule: "mga"
...
(II) LoadModule: "wacom"
(II) Reloading /usr/X11R6/lib/modules/input/wacom_drv.o
(II) Wacom driver level: 23 $
...
(--) Chipset mgag550 found
...
(**) cursor: always reports core events
(**) cursor serial device is /dev/input/event0
(**) cursor is in relative mode
(**) Option "USB" "on"
(**) cursor: reading USB link
(**) Option "BaudRate" "9600"
(**) cursor: serial speed 9600
(**) Option "SendCoreEvents"
(**) stylus: always reports core events
(**) stylus serial device is /dev/input/event0
(**) stylus is in absolute mode
(**) Option "USB" "on"
(**) stylus: reading USB link
(**) Option "BaudRate" "9600"
(**) stylus: serial speed 9600
(**) Option "SendCoreEvents"
(**) eraser: always reports core events
(**) eraser serial device is /dev/input/event0
(**) eraser is in absolute mode
(**) Option "Tilt" "on"
(**) Option "USB" "on"
(**) eraser: reading USB link
(**) Option "Threshold" "5"
(**) eraser: threshold = 5
(**) Option "BaudRate" "9600"
(**) eraser: serial speed 9600
(II) XINPUT: Adding extended input device "eraser" (type:
Wacom Eraser)
(II) XINPUT: Adding extended input device "stylus" (type:
Wacom Stylus)
(II) XINPUT: Adding extended input device "cursor" (type:
Wacom Cursor)
(II) XINPUT: Adding extended input device "Mouse0" (type:
MOUSE)
(**) Option "Device" "/dev/input/event0"
(==) Wacom Kernel Input device name: "Tablet XD-0608-U"
(==) Wacom tablet maximum X=0 maximum Y=0 X resolution=0 Y
resolution=0 suppress=0
(==) Wacom tablet top X=0 top Y=0 bottom X=0 bottom Y=0
(==) Wacom tablet top X=0 top Y=0 bottom X=0 bottom Y=0
(==) Wacom tablet top X=0 top Y=0 bottom X=0 bottom Y=0
...
wacom: relative event received (0)!!!
wacom: relative event received (1)!!!
wacom: relative event received (0)!!!
wacom: relative event received (1)!!!
wacom: relative event received (0)!!!
wacom: relative event received (1)!!!
wacom: relative event received (0)!!!
wacom: relative event received (1)!!!
wacom: relative event received (0)!!! - tohle, az kdyz se
pohla PS/2 myska !!!!
#--------------------------------------------------------------
* kernel: usb-uhci.c: v1.268:USB Universal Host Controller
Interface driver
* kernel: usb.c: registered new driver hiddev
* kernel: usb.c: registered new driver hid
* kernel: usb-uhci.c: interrupt, status 2, frame# 276
* kernel: input0,hiddev0: USB HID v1.00 Mouse [Tablet
XD-0608-U] on usb1:2.0
* kernel: hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik
<vojtech na suse.cz>
* kernel: hid-core.c: USB HID upport drivers
* kernel: usb.c: registered new driver wacom
* kernel: wacom.c: v1.21:USB Wacom Graphire and Wacom
Intuos tablet driver
* kernel: mice: PS/2 mouse device common for all mice
* kernel: NET4: Linux TCP/IP 1.0 for NET4.0
* kernel: IP Protocols: ICMP, UDP, TCP, IGMP
* kernel: IP: routing cache hash table of 2048 buckets,
16Kbytes
* kernel: TCP: Hash tables configured (established 16384
bind 16384)
* kernel: NET4: Unix domain sockets 1.0/SMP for Linux
NET4.0.
* kernel: ds: no socket drivers loaded!
* kernel: VFS: Mounted root (ext2 filesystem) readonly.
* kernel: Freeing unused kernel memory: 220k freed
* kernel: hub.c: USB new device connect on bus3/1,
assigned device number 2
* kernel: Manufacturer: Micro Star
* kernel: Product: Micro Star Security Key
* kernel: hiddev1: USB HID v1.00 Device [Micro Star Micro
Star Security Key] on usb3:2.0
# -------------- konec ----------------------
Další informace o konferenci Linux