----- TUTORIAL PARA ACTIVAR TOUCHSCREEN EN HP TX1000/2000/2500 -----
Lo primero descargar en una carpeta concreta (en mi caso es la carpeta '.Escritorio') el archivo del enlace siguiente:
http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.1-3.tar.bz2
Ahora abrimos el Terminal y vamos ejecutando los siguiente comandos (Nota: si descargamos el archivo en una carpeta llamada, por ejemplo, XXX; el primer comando que pondremos no será 'cd .Escritorio' sino 'cd XXX'):
cd .Escritorio
sudo apt-get update
sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev
sudo apt-get upgrade
sudo apt-get remove wacom-tools xserver-xorg-input-wacom
sudo apt-get install linux-headers-generic
sudo apt-get install linux-headers-rt
tar xjvf linuxwacom-0.8.1-3.tar.bz2
cd linuxwacom-0.8.1-3
./configure --enable-wacom
make
sudo make install
sudo rmmod wacom
sudo cp ./src/2.6.24/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet
sudo depmod -e
sudo modprobe wacom
Ahora está instalado, debe funcionar el táctil y el pen, aunque muy descalibrados, y el pen no puede clickear.
Para solucionar esto hay que hacer lo siguiente:
Editamos el archivo xorg.conf (NECESARIAMENTE):
Antes de nada hacemos una copia de el xorg.conf actual, en Terminal:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_copia_original
Ahora editamos el xorg.conf, en Terminal:
sudo gedit /etc/X11/xorg.conf
Y sustituimos el contenido por el siguiente (sin los guiones al principio y al final) (Nota: Si ya hicistes cambios en el archivo xorg.conf, tenadrás que tener cuidado para no alterar estos cambios, añadiéndolos al texto siguiente):
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Pad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "CircularScrolling" "True"
Option "CircScrollTrigger" "8"
EndSection
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
# Option "ForceDevice" "ISDV4"
Option "Type" "stylus"
# Option "SendCoreEvents" "true"
Option "USB" "on"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
# Option "Button2" "3" # make side-switch a right button
Option "TopX" "225"
Option "TopY" "225"
Option "BottomX" "26300"
Option "BottomY" "16375"
EndSection
Section "InputDevice"
Identifier "touch"
Driver "wacom"
# Option "ForceDevice" "ISDV4"
Option "Type" "touch"
# Option "SendCoreEvents" "true"
Option "USB" "on"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.1-event-"
Option "TopX" "200"
Option "TopY" "225"
Option "BottomX" "4000"
Option "BottomY" "3875"
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
# Option "ForceDevice" "ISDV4"
Option "Type" "eraser"
# Option "SendCoreEvents" "true"
Option "Device" "/dev/input/by-path/pci-0000:00:0b.1-usb-0:2.3:1.0-event-mouse"
Option "USB" "on"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
Option "RandRRotation" "On"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Inputdevice "Synaptics Pad"
InputDevice "stylus" "SendCoreEvents"
Inputdevice "touch" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
# InputDevice "pad"
EndSection
Section "Module"
Load "glx"
EndSection
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
Editamos el archivo .xinitrc (SÓLO SI LO TENEMOS CREADO). (El símbolo "~" se refiere a la carpeta donde está el archivo .xinitrc, ya que puede estar en la carpeta que queramos). Abrimos el Terminal y escribimos:
gedit ~/.xinitrc
Y borramos toda línea con "xsetwacom" escrito al principio.
En Terminal escribimos:
chmod +x ~/.xinitrc
Ahora vamos a [Sistema] > [Preferencias] > [Sesiones] - [Añadir] y escribimos en "Comando" lo siguiente: ~/.xinitrc
AHORA REINICIAMOS EL EQUIPO... y tras reiniciar debería de funcionar Perfectamente.
(Aunque en mi caso, el botón del pen, no hace de secundario del ratón, como debería ser, sino de tercer botón (el botón del Scroll)... si alguien sabe solucionar esto último le agradecería que lo pusise).
Si no funciona. Visitar la Página de dónde saqué la información para depurar detalles o errores:
http://ubuntuforums.org/showthread.php?p=5469447#post5469447
