Mostrando entradas con la etiqueta Debian. Mostrar todas las entradas
Mostrando entradas con la etiqueta Debian. Mostrar todas las entradas

viernes, 22 de febrero de 2008

WACOM BAMBOO en Debian Etch/Lenny

Configuración de la tableta gráfica wacom Bamboo
Debian Etch/lenny i686 2.6.18-5-i686/2.6.22-i686

Descargamos linuxwacom-0.7.8-3.tar.bz2

$ bunzip2 linuxwacom-0.7.8-3.tar.bz2
$ tar -xf linuxwacom-0.7.8-3.tar
$ cd linuxwacom-0.7.8-3/
$ /linuxwacom-0.7.8-3$

Instalamos paquetes necesarios:

# apt-get install tcl8.4-dev tk8.4-dev wacom-tools libncurses5-dev
libxi-dev xserver-xorg-dev xserver-xorg-input-wacom


A continuación creamos la carpeta donde configuraremos, (./configure)
compilaremos (make) e "instalaremos" el modulo (.ko) para el kernel
(make install)


# mkdir /usr/src/modules/wacom
# cp -r ruta/linuxwacom-0.7.8-3/* /usr/src/modules/wacom
# cd /usr/src/modules/wacom/linuxwacom-0.7.8-3/
# ./configure --enable-wacom --with-arch=i686
# make
# make install


El módulo se guarda en la carpeta src/2.6.X de la carpeta linuxwacom
donde la X se corresponde con la versión de nuestro kernel
# uname -r

Con la orden locate averiguamos la carpeta donde copiaremos el modulo creado


# cd src/2.6.X/
#locate wacom.ko
/lib/modules/2.6.X/kernel/drivers/usb/input/
#cp waccom.ko /lib/modules/2.6.X/kernel/drivers/usb/input/


Ahora ya podemos cargar el módulo


#modprobe wacom


Por último editamos /etc/X11/xorg.org añadiendo las seccuines "InputDevices"
y modificando la "ServerLayout".


#ServerLayout
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "pad"

EndSection

#Devices
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "USB" "on"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "USB" "on"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "USB" "on"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device" "/dev/input/wacom"
Option "Type" "pad"
Option "USB" "on"
EndSection

Reiniciamos el sistema gráfico y listo.

Nota: # = ejecutamos como root
$ = ejecutamos como usuario