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

Beholder TV tuner 507 on Ubuntu Linux 8.10 Intrepid

Create new file, e.g. "beholder.conf" in /etc/modprobe.d/
with the following text:

-----

options tuner secam=d
options tda9887 secam=d
options saa7134 tuner=38 card=67 gbuffers=4
alias char-major-89-* i2c-dev
options i2c-algo-bit bit_test=1

----

Now reboot.