O Genius MousePen 8x6 usa o driver wizardpen do Xorg, sendo identificado como "UC-LOGIC Tablet WP8060U". Após ligá-lo numa porta USB, é possível detectá-lo:
$ lsusbPara configurar o Genius MousePen 8x6 no Debian, é necessário seguir os seguintes passos:
Bus 002 Device 003: ID 5543:0005 UC-Logic Technology Corp. Genius MousePen 8x6 Tablet
$ cat /proc/bus/input/devices
I: Bus=0003 Vendor=5543 Product=0005 Version=0100
N: Name="UC-LOGIC Tablet WP8060U"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input8
U: Uniq=
H: Handlers=mouse1 event8
B: EV=1f
B: KEY=c01 0 3f0001 0 0 0 0 0 0 0 0
B: REL=303
B: ABS=100000f
B: MSC=10
- Baixar o código fonte, compilar e instalar o driver wizardpen:
sudo apt-get install xutils libx11-dev libxext-dev build-essential \
xautomation xinput xserver-xorg-dev xutils-dev libtool \
autoconf pkg-config bzr
bzr branch lp:wizardpen
cd wizardpen
./autogen.sh
./configure --with-xorg-module-dir=/usr/lib/xorg/modules
make && sudo make install - Conferir se tudo foi instalado corretamente:
$ ls /usr/lib/xorg/modules/input/wizardpen_drv.*
/usr/lib/xorg/modules/input/wizardpen_drv.la
/usr/lib/xorg/modules/input/wizardpen_drv.so - Verificar o nome do dispositivo (para usar no próximo passo):
$ grep -i name /proc/bus/input/devices
N: Name="UC-LOGIC Tablet WP8060U" - Editar o arquivo /etc/X11/xorg.conf:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "evdev"
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
Option "SendCoreEvents" "true"
Option "xkb_rules" "evdev"
Option "xkb_model" "abnt2"
Option "xkb_layout" "br"
Option "xkb_variant" "abnt2"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
EndSection
Section "InputDevice"
Identifier "WizardPen Tablet"
Driver "wizardpen"
Option "Name" "UC-LOGIC Tablet WP8060U"
Option "SendCoreEvents" "true"
Option "Type" "stylus"
Option "USB" "on"
Option "Button1" "1"
Option "Button2" "1"
Option "Device" "/dev/input/by-id/usb-UC-LOGIC_Tablet_WP8060U-event-mouse"
Option "TopX" "2650"
Option "TopY" "3563"
Option "TopZ" "10"
Option "BottomX" "30733"
Option "BottomY" "29715"
Option "BottomZ" "1023"
Option "MaxX" "30733"
Option "MaxY" "29715"
Option "MaxZ" "1023"
Option "Mode" "Absolute"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "WizardPen Tablet" "SendCoreEvents"
Option "AutoAddDevices" "false"
EndSection