Diferencia entre revisiones de «Wacom»
De Guía Ubuntu
| (No se muestran 2 ediciones intermedias realizadas por un usuario) | |||
| Línea 44: | Línea 44: | ||
linux kernel - yes 2.6.22 | linux kernel - yes 2.6.22 | ||
module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS -include | module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS -include | ||
| − | /lib/modules/2.6.22-14-generic/build/include/linux/modversions.h | + | /lib/modules/2.6.22-14-generic/build/include/linux/modversions.h |
kernel source - yes /lib/modules/2.6.22-14-generic/build | kernel source - yes /lib/modules/2.6.22-14-generic/build | ||
Xorg SDK - yes /usr/include/xorg | Xorg SDK - yes /usr/include/xorg | ||
| Línea 53: | Línea 53: | ||
TK - yes /usr/include/tcl8.4/ | TK - yes /usr/include/tcl8.4/ | ||
ncurses - yes | ncurses - yes | ||
| − | |||
BUILD OPTIONS: | BUILD OPTIONS: | ||
wacom.o - yes | wacom.o - yes | ||
| Línea 70: | Línea 69: | ||
wacom_drv.o - no | wacom_drv.o - no | ||
---------------------------------------- | ---------------------------------------- | ||
| + | |||
| + | Instalar | ||
| + | make | ||
| + | sudo make install | ||
| + | |||
| + | |||
| + | Añadir al xorg.conf lo siguiente | ||
| + | |||
| + | vi /etc:X11/xorg.conf | ||
| + | |||
| + | Section "InputDevice" | ||
| + | Driver "wacom" | ||
| + | Identifier "stylus" | ||
| + | Option "Device" "/dev/input/wacom" | ||
| + | Option "Type" "stylus" | ||
| + | #Option "ForceDevice" "ISDV4"# Tablet PC ONLY | ||
| + | Option "USB" "on" | ||
| + | EndSection | ||
| + | Section "InputDevice" | ||
| + | Driver "wacom" | ||
| + | Identifier "eraser" | ||
| + | Option "Device" "/dev/input/wacom" | ||
| + | Option "Type" "eraser" | ||
| + | #Option "ForceDevice" "ISDV4"# Tablet PC ONLY | ||
| + | Option "USB" "on" | ||
| + | EndSection | ||
| + | Section "InputDevice" | ||
| + | Driver "wacom" | ||
| + | Identifier "cursor" | ||
| + | Option "Device" "/dev/input/wacom" | ||
| + | Option "Type" "cursor" | ||
| + | #Option "ForceDevice" "ISDV4"# Tablet PC ONLY | ||
| + | Option "USB" "on" | ||
| + | EndSection | ||
| + | |||
| + | |||
| + | Descomentar las siguiente lineas del xorg.conf | ||
| + | |||
| + | # Uncomment if you have a wacom tablet | ||
| + | InputDevice "stylus" "SendCoreEvents" | ||
| + | InputDevice "cursor" "SendCoreEvents" | ||
| + | InputDevice "eraser" "SendCoreEvents" | ||
| + | |||
| + | |||
| + | Hacer backun del siguiente archivo (Es posible que tengas otro núcleo, así que corrigelo, osea el "2.6.22-14-generic", vete a la carpeta /lib/modules y comprueba el tuyo) | ||
| + | |||
| + | cp /lib/modules/2.6.22-14-generic/kernel/drivers/input/tablet/wacom.ko /home/USUARIO/wacom.ko_old | ||
| + | |||
| + | Copia la nueva versión | ||
| + | |||
| + | cp /home/USUARIO/linuxwacom-0.7.9-3/src/2.6.22/wacom.ko /lib/modules/2.6.22-14-generic/kernel/drivers/input/tablet/depmod -e | ||
| + | |||
| + | En teoria deberías tenerla | ||
| + | reboot | ||
Última revisión de 12:51 6 abr 2008
Contenido
Istalación
Descarga Packages
Descarga los últimos paquetes de
http://linuxwacom.sourceforge.net/
Descarga udev
Descarga el ultimo archivo udev para wacom
http://git.debian.org/?p=users/ron/wacom-tools.git;a=blob_plain;f=debian/xserver-xorg-input-wacom.udev;hb=master
Guarda lo que te aparece en un archivo de texto con el nombre
xserver-xorg-input-wacom.udev
Instala estos paquetes necesarios
sudo apt-get install build-essential x11proto-core-dev libxau-dev libxdmcp-dev x11proto-input-dev x11proto-kb-dev xtrans-dev libx11-dev x11proto-xext-dev libxext-dev libxi-dev linux-libc-dev libc6-dev libncurses5-dev xserver-xorg-dev libice-dev libsm-dev libxt-dev tcl8.4-dev tk8.4-dev
Copia el anterior archivo udev
Copia el archivo que te bajaste en el paso anterior aqui
sudo cp xserver-xorg-input-wacom.udev /etc/udev/rules.d/50-xserver-xorg-input-wacom.rules
Instalando el paquete linuxwacom
Descomprime el paquete que te bajaste de http://linuxwacom.sourceforge.net/
bunzip2 linuxwacom-0.7.9-3.tar.bz2 tar xvf linuxwacom-0.7.9-3.tar
Entra dentro de la carpeta recién creada, p.j.
cd linuxwacom-0.7.9-3
Ejecuta configure
./configure --enable-wacom
Deberá darte una salida como esta
----------------------------------------
BUILD ENVIRONMENT:
architecture - i486-linux-gnu
linux kernel - yes 2.6.22
module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS -include
/lib/modules/2.6.22-14-generic/build/include/linux/modversions.h
kernel source - yes /lib/modules/2.6.22-14-generic/build
Xorg SDK - yes /usr/include/xorg
XSERVER64 - no
dlloader - yes
XLib - yes /usr/lib
TCL - yes /usr/include/tcl8.4/
TK - yes /usr/include/tcl8.4/
ncurses - yes
BUILD OPTIONS:
wacom.o - yes
wacdump - yes
xidump - yes
libwacomcfg - yes
libwacomxi - yes
xsetwacom - yes
hid.o - no
usbmouse.o - no
evdev.o - no
mousedev.o - no
input.o - no
tabletdev.o - no
wacom_drv.so - yes /usr/lib/xorg/modules/input
wacom_drv.o - no
----------------------------------------
Instalar
make sudo make install
Añadir al xorg.conf lo siguiente
vi /etc:X11/xorg.conf
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
#Option "ForceDevice" "ISDV4"# Tablet PC ONLY
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
#Option "ForceDevice" "ISDV4"# Tablet PC ONLY
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
#Option "ForceDevice" "ISDV4"# Tablet PC ONLY
Option "USB" "on"
EndSection
Descomentar las siguiente lineas del xorg.conf
# Uncomment if you have a wacom tablet
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
Hacer backun del siguiente archivo (Es posible que tengas otro núcleo, así que corrigelo, osea el "2.6.22-14-generic", vete a la carpeta /lib/modules y comprueba el tuyo)
cp /lib/modules/2.6.22-14-generic/kernel/drivers/input/tablet/wacom.ko /home/USUARIO/wacom.ko_old
Copia la nueva versión
cp /home/USUARIO/linuxwacom-0.7.9-3/src/2.6.22/wacom.ko /lib/modules/2.6.22-14-generic/kernel/drivers/input/tablet/depmod -e
En teoria deberías tenerla
reboot