Saturday, November 29, 2008

Genius G-Pen 560 Tablet on Ubuntu Linux 8.10 Intrepid

This tablet is detected as "Aiptek" and successfully managed by aiptek kernel driver. However, for X11 you'll need a recent wizardpen_drv (0.6.x)

1) Find in "wizardpen.c" lines with case BTN_LEFT etc. and add BTN_STYLUS, BTN_STYLUS2 and BTN_TOUCH where appropriate. Compile and install as described in the README.

2) Do not add tablet description to xorg.conf, instead comment the mouse definition in the layout section of the config and add file "99-x11-wizardpen.fdi" to "/etc/hal/fdi/policy"

---

<?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="Aiptek">
<merge key="input.x11_driver" type="string">wizardpen</merge>

<!-- <merge key="input.x11_driver" type="string">wacom</merge>
<merge key="input.x11_options.Type" type="string">stylus</merge> -->



<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
<merge key="input.x11_options.TopX" type="string">185</merge>
<merge key="input.x11_options.TopY" type="string">372</merge>
<merge key="input.x11_options.BottomX" type="string">11811</merge>
<merge key="input.x11_options.BottomY" type="string">8793</merge>
<merge key="input.x11_options.MaxX" type="string">11811</merge>
<merge key="input.x11_options.MaxY" type="string">8793</merge>


<merge key="input.x11_options.TopZ" type="string">32</merge>
<merge key="input.x11_options.MaxZ" type="string">1023</merge>
<merge key="input.x11_options.BottomZ" type="string">1023</merge>


</match>
</device>
</deviceinfo>
---

3 comments:

David Richfield said...

Hi, this is a very encouraging post, and I have managed to compile the driver, but I didn't know what to change on the BTN_STYLUS and BTN_TOUCH events. How do I know what's appropriate?

Warlock said...

Thank you, very much! It is the only method, helped me!

skater said...

Я вчера убунту 9.10 поставил, честно ничерта не понимаю, но вот этот самый таблет оч хочу заставить работать, что сделать-то надо?