Install And Configure Trust TB6300 Pentablet
This HowTo explain the installation and configuration of the Trust TB6300 Tablet on Elive and/or Debian Lenny. It’s a mix between others tutorals found here and there on the web but majors are this one and that one. As no one of them worked perfectly I show here how I proceed:
I have to say that I didn’t try the pressure feature…
The tablet works with the « wizardpen » driver, so first we need to download latest driver version from here. Then we can start:
Driver Installation
To compil the driver need few packages in a root shell run:
apt-get install xutils libx11-dev libxext-dev build-essential xautomation xinput xserver-xorg-dev
Then extract the driver archive and enter the new directory:
tar -xvzf wizardpen-0.7.0-alpha2.tar.gz
cd wizarpen-0.7.0-alpha2/
We can go through
./configure –with-xorg-module-dir=/usr/lib/xorg/modules
Then, if everything ok we can construct and install driver by entering:
make && make install
Check the integrity of the driver installation by typing the command:
ls /usr/lib/xorg/modules/input/wizardpen_drv.*
It should give the output as follows:
/usr/lib/xorg/modules/input/wizardpen_drv.la
/usr/lib/xorg/modules/input/wizardpen_drv.so
Once this done you can load driver with:
modprobe wizardpen_drv
Type the following command in the terminal to know the real name of the Pentablet:
grep -i name /proc/bus/input/devices
Save somewhere the real name of the tablet which you have to use in the next step.
Xorg Server Configuration
Before doing bullshits better save our actual config file:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.save
We have to find where does your system receive tablet’s data, for that enter the following command and look for, first your device description section and then for the string:
linux.device_file = ‘/dev/input/eventN
Where N can be 0, 1 or 2 etc… Once we have that we can calibrate the device. For me, as far i tried the calibration application give right values, sometime apparently not… So still in the wizardpen-0.7.0… directory:
cd calibrate
calibrate/wizardpen-calibrate /dev/input/eventN
Follow instructions precisely and it will give you next needed values, note them down. Netx step is to edit our X Server configuration file:
scite /etc/X11/xorg.conf
Add the following sections to the file after your mouse section for example:
Section "InputDevice" Identifier "WizardPen Tablet" Option "Name" "UC-LOGIC Tablet WP8060U" Option "SendCoreEvents" "true" Driver "wizardpen" Option "Device" "/dev/input/event1" Option "TopX" "0" Option "TopY" "0" Option "BottomX" "32747" Option "BottomY" "32762" Option "MaxX" "32747" Option "MaxY" "32762" EndSection
**Note: I’m not totally sure the next section is necessary for everybody but before adding it, I had only fourth of the available surface…
Section "ServerLayout"
Identifier « Default Layout »
Screen « Default Screen »
InputDevice »WizardPen Tablet »
EndSection
Then restart the X server (with Ctrl+Alt+Backspace for example, question: I don’t know if simply logout from enlightenment restart the server X?). If necessary restart machine entirely… It should work at reboot 🙂