Prvo sto nam je potrebno je preuzeti driver sa ove adrese, patch i hal .fdi config file
U ovom slucaju file-ovi ce se nalaziti u ~/build
Code: Select all
$ cd ~/build Code: Select all
$ tar zxvf wizardpen-0.7.0-alpha2.tar.gzCode: Select all
$ patch -p0 -i ./patch0 Code: Select all
$ cd wizardpen-0.7.0-alpha2Code: Select all
$ ./configure --prefix=/usrCode: Select all
$ make Code: Select all
$ make install Code: Select all
$ cd ..Code: Select all
$ cp 99-geniuspen.fdi /usr/share/hal/fdi/policy/10osvendorCode: Select all
$ cd wizardpen-0.7.0-alpha2Code: Select all
$ cd calibrateCode: Select all
$ cat /proc/bus/input/devicesCode: Select all
I: Bus=0003 Vendor=5543 Product=0003 Version=0100
N: Name="UC-LOGIC Tablet WP4030U"
P: Phys=usb-0000:00:02.0-9/input0
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-9/2-9:1.0/input/input6
U: Uniq=
H: Handlers=mouse2 event6
B: EV=1f
B: KEY=c01 0 3f0001 0 0 0 0 0 0 0 0
B: REL=303
B: ABS=100000f
B: MSC=10
Code: Select all
$ ./wizardpen-calibrate /dev/input/event6Code: Select all
Section "InputDevice"
Identifier "WizardPen Tablet"
Option "Name" "UC-LOGIC Tablet WP4030U"
# generisani deo
Driver "wizardpen"
Option "Device" "/dev/input/event6"
Option "TopX" "2595"
Option "TopY" "2610"
Option "BottomX" "32541"
Option "BottomY" "30510"
Option "MaxX" "32541"
Option "MaxY" "30510"
# generisani deo
EndSection
Bez sledeceg dela pravi problem i pravi sam vise uredjaja, ovo ce resiti taj problem, ali vam nece raditi hotplug za druge input uredjaje
Code: Select all
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSectionCode: Select all
InputDevice "WizardPen Tablet" "SendCoreEvents"