Meniu

Instalarea unei tablete Genius G-Note 5000 in Slackware Linux 12.1.

Acest tutorial prezinta modul de instalare si configurare a unei tablete digitale in distributia Slackware Linux 12.1.

Informatiile au fost testate pe calculatorul personal (Slackware-current, kernel 2.6.24.7-smp), pe un notebook Fujitsu Amilo Pro v3515 (Slackware-current, kernel 2.6.24.7-smp) si pe un calculator virtual (Slackware Linux 12.1, kernel 2.6.24.5-smp), folosind solutia de virtualizare VMware Server, versiunea 2.0.0 Build 116503. Distributia a fost instalata cu optiunea "full". De asemenea, am configurat HAL (Hardware Abstraction Layer) conform CHANGES_AND_HINTS.TXT.

Singurul model de tableta digitala pe care am testat aceste informatii este Genius G-Note 5000, deci este posibil ca pentru alte modele sa existe diferente majore in ceea ce priveste modul de instalare si configurare.

# lsusb
Bus 003 Device 003: ID 5543:6000 UC-Logic Technology Corp.
# cat /proc/bus/input/devices
I: Bus=0003 Vendor=5543 Product=6001 Version=0100
N: Name="UC-LOGIC DIGITAL-Organizer"
P: Phys=usb-0000:00:10.1-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.1/input/input3
U: Uniq=9BA7DCD4832B8
H: Handlers=mouse2 event3
B: EV=1b
B: KEY=c01 0 70001 0 0 0 0 0 0 0 0
B: ABS=100000f
B: MSC=10

Instalarea driver-ului wizardpen

$ wget http://specificcrap.arbitrarycrap.com/wizardpen-0.6.0.2.tar.gz
$ tar -zxvf wizardpen-0.6.0.2.tar.gz
$ cd wizardpen-0.6.0.2
$ ./configure --with-xorg-module-dir=/usr/lib/xorg/modules
$ make
$ su -c make install

Configurarea udev

Crearea fisierului 10-wizardpen.rules:

# touch /etc/udev/rules.d/10-wizardpen.rules

Adaugarea unei noi reguli udev:

### Genius G-Note 5000
BUS=="usb", SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{product}=="DIGITAL-Organizer", NAME="input/%k", SYMLINK+="input/wizardpen", MODE="0666"

Valoarea ATTRS{product} este obtinuta cu ajutorul comenzii:

# cat /sys/bus/usb/devices/*/product
DIGITAL-Organizer
EHCI Host Controller
UHCI Host Controller
UHCI Host Controller
UHCI Host Controller
UHCI Host Controller

Repornirea serviciului udev:

# cd /etc/rc.d
# ./rc.udev restart
# /sbin/udevadm trigger --retry-failed

Configurarea serverului grafic xorg

Calibrarea tabletei digitale:

$ cd /wizardpen-0.6.0.2/calibrate
$ ./wizardpen-calibrate /dev/input/wizardpen
Please, press the stilus at ANY
corner of your desired working area: ok, got 0,0

Please, press the stilus at OPPOSITE
corner of your desired working area: ok, got 3999,3999

According to your input you may put following
lines into your XF86Config file:

        Driver          "wizardpen"
        Option          "Device"        "/dev/input/wizardpen"
        Option          "TopX"          "0"
        Option          "TopY"          "0"
        Option          "BottomX"       "3999"
        Option          "BottomY"       "3999"
        Option          "MaxX"          "3999"
        Option          "MaxY"          "3999"

Modificarea fisierului de configurare /etc/X11/xorg.conf:

Section "InputDevice"
    Identifier 	"WizardPen"
    Option 	"Name" 			"UC-LOGIC DIGITAL-Organizer"
    Option 	"Device" 		        "/dev/input/wizardpen"
    Option 	"SendCoreEvents" 	"true"
    Driver 	        "wizardpen"
    Option 	"Increment"		"0"
    Option         "TopX"          	        "0"
    Option         "TopY"          	        "0"
    Option         "BottomX"       	"3999"
    Option         "BottomY"       	        "3999"
    Option         "MaxX"          	        "3999"
    Option         "MaxY"          	        "3999"                                    
EndSection
 
(...)
 
Section "ServerLayout"
 
(...)
    InputDevice "WizardPen" "SendCoreEvents"
(...)
 
EndSection

Verificarea inregistrarilor din /var/log/Xorg.0.log:

(**) WizardPen: TopX = 0
(**) WizardPen: TopY = 0
(**) WizardPen: BottomX = 3999
(**) WizardPen: BottomY = 3999
(**) Option "Device" "/dev/input/wizardpen"
(--) Wizardpen Tablet MaxX:0 MaxY:0 MaxZ:0
(**) WizardPen is in absolute mode
(**) Option "SendCoreEvents"
(**) WizardPen: always reports core events
(II) evaluating device (WizardPen)
(II) XINPUT: Adding extended input device "WizardPen" (type: WizardPen Tablet)

Aplicatii utile

Xournal - http://xournal.sourceforge.net/
Jarnal - http://www.dklevine.com/general/software/tc1000/jarnal.htm
Gournal - http://www.adebenham.com/gournal/
NoteLab - http://java-notelab.sourceforge.net/

John Doe

Articole publicate de la contributori ce nu detin un cont pe gnulinux.ro. Continutul este verificat sumar, iar raspunderea apartine contributorilor.
  • | 340 articole

Nici un comentariu inca. Fii primul!
  • powered by Verysign