Genius Tablet

From ArchWiki
Jump to: navigation, search

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=18158

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:

cat /proc/bus/input/devices

There should be at least one device that is recognizably a tablet. For example:

I: Bus=0003 Vendor=5543 Product=0005 Version=0100
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 Genius Wizardpen with Intrepid Ibex. Create a new file with the name Template:Filename 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>
<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.