Difference between revisions of "Genius Tablet"

From ArchWiki
Jump to: navigation, search
(Removing out-of-date stuff and updating with new info)
Line 7: Line 7:
 
=Installation=
 
=Installation=
  
First, you need to install the X11 drivers. the wizardpen package in aur provides them:
+
First, you need to install the X11 drivers. The wizardpen package in aur provides them:
  
http://aur.archlinux.org/packages.php?ID=18158
+
http://aur.archlinux.org/packages.php?ID=42671
  
 
=Configuration=
 
=Configuration=
  
Next we need to configure Xorg. The driver package also comes with a utility called wizardpen-calibrate, which will aid you in finding appropriate settings, but first we need to know what device to run it on. Open a terminal and type:
+
The package will create {{Filename|/etc/X11/xorg.conf.d/70-wizardpen.conf}} file which you can access for configuration if required.
  
cat /proc/bus/input/devices
+
Most likely you will also need to disable ABI version checking in Xorg since otherwise wizardpen driver module will not load because of ABI version mismatch. Do it by adding the following to your {{Filename|/etc/X11/xorg.conf}}:
  
There should be at least one device that is recognizably a tablet. For example:
+
Section "ServerFlags"
 +
    Option "IgnoreABI" "True"
 +
EndSection
  
I: Bus=0003 Vendor=5543 Product=0005 Version=0100
+
After this, reboot or restart your X server.
N: Name="UC-LOGIC Tablet WP8060U"               
+
P: Phys=usb-0000:00:13.1-1/input0               
+
S: Sysfs=/class/input/input4                   
+
U: Uniq=                                       
+
H: Handlers=mouse1 event4                       
+
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
+
 
+
Then, run wizardpen calibrate as root on the appropriate device. in this case we would do:
+
 
+
wizardpen-calibrate /dev/input/event4
+
 
+
The event4 comes from the "Handlers" line of the output above. if yours is event7, use that instead. Then follow the on-screen instructions. you will be asked to touch the stylus to two oppisite corners of the tablet, and then will be given settings to use in your xorg.conf for example:
+
 
+
Please, press the stilus at ANY
+
corner of your desired working area: ok, got 743,2241
+
+
Please, press the stilus at OPPOSITE
+
corner of your desired working area: ok, got 32747,32762
+
+
According to your input you may put following
+
lines into your XF86Config file:
+
+
        Driver          "wizardpen"
+
        Option          "Device"        "/dev/input/event4"
+
        Option          "TopX"          "743"
+
        Option          "TopY"          "2241"
+
        Option          "BottomX"      "32747"
+
        Option          "BottomY"      "32762"
+
        Option          "MaxX"          "32747"
+
        Option          "MaxY"          "32762"
+
 
+
These settings are for a MousePen 8x6 tablet. They may or may not be appropriate for your tablet.
+
 
+
=Xorg input hotplugging setup=
+
Thanks to [http://digitalbluewave.blogspot.com/2008/10/genius-wizardpen-with-intrepid-ibex.html Genius Wizardpen with Intrepid Ibex].
+
Create a new file with the name {{Filename|/etc/hal/fdi/policy/99-x11-wizardpen.fdi}} and following contents ( don't forget to adjust properties for the ones you got from calibration in previous step ) :
+
 
+
<?xml version="1.0" encoding="ISO-8859-1" ?>
+
<deviceinfo version="0.2">
+
<device>
+
<!-- This MUST match with the name of your tablet -->
+
<match key="info.product" contains="NAME OF YOUR TABLE OBTAINED FROM PREVIOUS STEP">
+
<merge key="input.x11_driver" type="string">wizardpen</merge>
+
<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
+
<merge key="input.x11_options.TopX" type="string">5619</merge>
+
<merge key="input.x11_options.TopY" type="string">6554</merge>
+
<merge key="input.x11_options.BottomX" type="string">29405</merge>
+
<merge key="input.x11_options.BottomY" type="string">29671</merge>
+
<merge key="input.x11_options.MaxX" type="string">29405</merge>
+
<merge key="input.x11_options.MaxY" type="string">29671</merge>
+
</match>
+
</device>
+
</deviceinfo>
+
 
+
Reboot.
+
 
+
For troubles with Xorg 1.8.1 look [http://bbs.archlinux.org/viewtopic.php?pid=783502]
+

Revision as of 00:37, 15 December 2010

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Genius Tablet#)

Introduction

This is a guide to getting a Genius Wizardpen or MousePen tablet set up in Arch Linux.

Installation

First, you need to install the X11 drivers. The wizardpen package in aur provides them:

http://aur.archlinux.org/packages.php?ID=42671

Configuration

The package will create Template:Filename file which you can access for configuration if required.

Most likely you will also need to disable ABI version checking in Xorg since otherwise wizardpen driver module will not load because of ABI version mismatch. Do it by adding the following to your Template:Filename:

Section "ServerFlags"
   Option "IgnoreABI" "True"
EndSection

After this, reboot or restart your X server.