Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223379 - x11-drivers/linuxwacom - add USB TabletPC support
Summary: x11-drivers/linuxwacom - add USB TabletPC support
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robert Buchholz (RETIRED)
URL: http://sourceforge.net/mailarchive/fo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 19:08 UTC by Michal Pytasz
Modified: 2008-06-01 18:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for development linuxwacom driver (linuxwacom-0.7.9_p11.ebuild,3.32 KB, text/plain)
2008-05-23 19:09 UTC, Michal Pytasz
Details
Wacom module patch for linuxwacom by Andrew Zappacky (wacom-tpc-usb.patch,6.58 KB, patch)
2008-05-23 19:10 UTC, Michal Pytasz
Details | Diff
Rules to create /dev/input/wacom0 and wacom1 - Debian based (60-wacom.rules,5.87 KB, text/plain)
2008-05-24 09:01 UTC, Michal Pytasz
Details
New name - since ebuild already does support it (xserver-xorg-input-wacom.udev,5.81 KB, text/plain)
2008-05-24 09:19 UTC, Michal Pytasz
Details
Working xorg.conf - used with this ebuild (xorg.conf,4.91 KB, text/plain)
2008-05-24 09:19 UTC, Michal Pytasz
Details
Works also with the latest stable linuxwacom-0.8.0-3 (linuxwacom-0.8.0_p3.ebuild,3.32 KB, text/plain)
2008-05-24 09:42 UTC, Michal Pytasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Pytasz 2008-05-23 19:08:56 UTC
Ebuild to introduce USB TabletPC for linuxwacom

Reproducible: Always



Expected Results:  
Provide kernel and X11 support for USB Wacom tabletPC like HP Pavilion tx2000z series

Ebuild needs some more work before inclusion:

1. Check if kernel has enabled wacom module, if so - do not build
2. Add udev rules: kernel driver creates 2 event devices, one for stylus related events, the other for finger touch - unfortunately they are random... Unfortunately product & vendor ID may be (but in some devices, like Asus are not) identical, have to find a way to to distinguish them for easy xorg.conf config
Comment 1 Michal Pytasz 2008-05-23 19:09:53 UTC
Created attachment 154087 [details]
Ebuild for development linuxwacom driver
Comment 2 Michal Pytasz 2008-05-23 19:10:56 UTC
Created attachment 154091 [details, diff]
Wacom module patch for linuxwacom by Andrew Zappacky
Comment 3 Michal Pytasz 2008-05-23 19:18:30 UTC
This ebuild does work (for me) on amd64 gentoo, HP Pavilion tx2010eo, yet there is a problem with event devices. They tend to change (in most cases for touch is event7, stylus event8, but they take random - following values between 5 and 10).
I have no idea for udev rules to make symlinks line /dev/input/wacom-tpc-finger and wacom-tpc, or at least wacom-tpc0 and wacom-tpc1 (since in terms of xorg.conf they ar identical to configure.

In my case both are 056a:0093 - but 2 event devices are created. (I read on google, that some devices there are 2 product id-s, always 0093 + sometimes 0090 or 0094)
Comment 4 Michal Pytasz 2008-05-23 21:40:25 UTC
Also, I can confirm it working on x86 gentoo (same tabletPC).
Comment 5 Michal Pytasz 2008-05-24 09:01:49 UTC
Created attachment 154113 [details]
Rules to create /dev/input/wacom0 and wacom1 - Debian based
Comment 6 Michal Pytasz 2008-05-24 09:19:00 UTC
Created attachment 154119 [details]
New name - since ebuild already does support it
Comment 7 Michal Pytasz 2008-05-24 09:19:56 UTC
Created attachment 154121 [details]
Working xorg.conf - used with this ebuild
Comment 8 Michal Pytasz 2008-05-24 09:42:39 UTC
Created attachment 154123 [details]
Works also with the latest stable linuxwacom-0.8.0-3
Comment 9 Michal Pytasz 2008-06-01 18:35:11 UTC
Hi again,

Well I talked to Ping (linuxwacom) and Ron (60-wacom.rules). 
The patch is working in most cases, but uses some hard coded values that should be replaced with querying device - to make it more user-configuration-proof. 
This (changed) e-build (in my opinion) if as a temporary workaround ever makes it into portage tree - should be hard masked since the experimental patch - even though running stable - will be added upstream (stable linuxwacom and kernel) as soon as it is user-proof - at the moment it is not.