Genius Wizardpen Tablet 4"x3"

Uputstva, saveti i trikovi

Moderator: Urednik


offline

Post Napisano: 20 Apr 2010, 11:22


Kako osposobiti ovaj tablet za rad pod slackware-om.
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.gz

Code: Select all

$ patch -p0 -i ./patch0 

Code: Select all

$ cd wizardpen-0.7.0-alpha2

Code: Select all

$ ./configure --prefix=/usr

Code: Select all

$ make 

Code: Select all

$ make install 

Code: Select all

$ cd ..

Code: Select all

$ cp 99-geniuspen.fdi /usr/share/hal/fdi/policy/10osvendor
Sledece je potrebno odraditi kalibraciju

Code: Select all

$ cd wizardpen-0.7.0-alpha2

Code: Select all

$ cd calibrate
Potrebno je da znate gde se nalazi vas uredjaj, kako bi ste ovo proverili, uredjaj mora biti prikljucen u USB port

Code: Select all

$ cat /proc/bus/input/devices

Code: 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
Kalibracija

Code: Select all

$ ./wizardpen-calibrate  /dev/input/event6
Pratite uputstva za kalibraciju, i dobicete potrebna podesavanja za xorg.conf

Code: 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
Jos par stvari je potrebno dodati
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"
EndSection
I u ServerLayouts

Code: Select all

InputDevice    "WizardPen Tablet" "SendCoreEvents"
Restartujte X i vas Tablet treba da radi, i ponasa se kao ulazni uredjaj ;)
Last edited by branko on 20 Apr 2010, 11:27, edited 1 time in total.


Who is online

Users browsing this forum: Claude User [Bot], Google [Bot 8] and 0 guests