old blog,

Genius G-Pen 4500 and Fedora

Izhar Firdaus Izhar Firdaus Follow Support Sep 25, 2009 · 2 mins read
Genius G-Pen 4500 and Fedora
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
Just bought a Genius G-Pen 4500 digitizer tablet for myself. Mainly for drawing simple sketches and diagrams. Got it for MYR160 (~=USD50), which is relatively cheap compared to other tablets (Wacom and Genius) I found at LowYat plaza which averages at MYR400-800 (~=USD115-230).

The driver for the tablet is not available in the Fedora and RPMFusion repos, so I had to grab the sources from LinuxGenius GoogleCode page and compile it. (I've put together a RPM here : http://izhar.fedorapeople.org/wizardpen/).

After installation of the driver, a HAL FDI configuration is required for it to work. Here's the default one I'm using for this tablet. (Save it as /etc/hal/fdi/policy/99-wizardpen.fdi)

<?xml version="1.0" encoding="ISO-8859-1" ?>
<deviceinfo version="0.2">
<!-- This MUST match with the name of your tablet -->
<match key="info.product" contains="UC-LOGIC Tablet WP5540U">
<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">0</merge>
<merge key="input.x11_options.TopY" type="string">0</merge>
<merge key="input.x11_identifier" type="string">stylus</merge>
<merge key="input.x11_options.BottomX" type="string">32739</merge>
<merge key="input.x11_options.BottomY" type="string">32745</merge>
<merge key="input.x11_options.MaxX" type="string">32739</merge>
<merge key="input.x11_options.MaxY" type="string">32745</merge>

(copy paste that or download it here : 99-wizardpen.fdi)

Afterward restart Xorg, and connect the tablet, and it worked quite easily.

Reference: http://digitalbluewave.blogspot.com/2008/10/genius-wizardpen-with-intrepid-ibex.html

Aspect Ratio

By default, the driver utilizes the whole tablet for input, stretching X and Y axis to match the screen shape, thus breaking the aspect ratio. Might still be ok on small screens, but on dualscreen, the ratio stretched too far causing difficulty to draw/write.

Unlike the Wacom driver which have this feature by default, LinuxGenius doesnt have it, but the options in the FDI is enough to allow us to configure it manually. I've written a simple script for this (get it here: wizardpen-ratiocalc.py).

Edit the script and change the resolution value, and run it. The script will output a fdi config that uses the aspect ratio of your screen.

The result?

Sketched on Inkscape.

My initial overall view of this tablet?. Cheap, relatively easy enough to get it working based on my requirement, so I guess this should be good enough for my purposes.

Written by Izhar Firdaus Follow Support
I'm a system architect, data engineer and developer advocate with passion in Free / Open Source software, entrepreneurship, community building, education and martial art. I take enjoyment in bridging and bringing together different FOSS technologies to help businesses and organizations utilize IT infrastructure to aid and optimize their business and organizational process.

"CSL G2" Android Phone ??? - New Toy in Town?

UPDATE: I have checked out this phone at a shop just recently, apparently, its only a UI imitation (which is not even close to the re...

In old blog, Sep 15, 2009

« Previous Post

FOSS.My 2009 Early Bird Registration Ends TODAY!!!

Heads up to everyoneFOSS.My 2009 Early Bird Registration prices are ending TODAY!!If you havent registered, register now or you will ...

In old blog, Oct 15, 2009

Next Post »