FS#22249 - [xf86-input-wacom] Package should provide udev rules for multiple tablets

Attached to Project: Arch Linux
Opened by Andrzej Giniewicz (Giniu) - Wednesday, 29 December 2010, 18:35 GMT
Last edited by Allan McRae (Allan) - Saturday, 02 June 2012, 12:23 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Current set of rules in xf86-input-wacom is quite limited. For example it doesn't work too well with tablets that support more than one pointing devices (like touch and pen in 2nd generation Bamboo) or more than one tablet device in system. Upstream suggests using rules made by Debian - check http://linuxwacom.sourceforge.net/index.php/howto/newwacom - they are tested and work well on Arch too, it is used by https://aur.archlinux.org/packages.php?ID=31540 package for quite some time. I suggest that xf86-input-wacom should use it too, to make the whole procedure easier. Attached file should work, some others too if you prefer - using this setup guarantees same device names as on Debian based distros including Ubuntu and more that use same rules, and allows multiple devices to work out of box.
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 02 June 2012, 12:23 GMT
Reason for closing:  Upstream
Additional comments about closing:  Should be implemented upstream
Comment by Andrzej Giniewicz (Giniu) - Wednesday, 29 December 2010, 20:57 GMT
btw, the rules file comes from http://ubuntuforums.org/showthread.php?t=1515562 - it is slightly extended version of http://git.debian.org/?p=users/ron/wacom-tools.git;a=blob;f=debian/xserver-xorg-input-wacom.udev to support 13 newer tablets: 8 second generation Bamboo tablets (Touch, Pen, Pen&Touch, Craft, Fun, Comic Medium, Pen&Touch Special Edition Small and Medium), 3 with screens (DTU 2231, DTU 1631 and Cintiq 21UX) and 2 integrated with Tablet PCs (2 finger versions, with and without pen) - this list makes for most currently sold (and supported in the driver) models.
Comment by Andrzej Giniewicz (Giniu) - Sunday, 02 January 2011, 14:53 GMT
I found some troubles in Debian 10-wacom.rules, that's why I made new set of rules based on that. There were multiple issues: 0x97 isn't handled by driver, 0xC2 was missing, 0xC0 and 0xC4 were switched around. Also, naming was inconsistent. That's why I decided to fix those issues and unify with what is available in driver, that's why if now xinput --list reports to you device named "Wacom Bamboo 2FG 4x5 SE", it will be converted to "/dev/input/tablet-bamboo-2fg-4x5-se". That way it will be easier to pick one we need.

This set of rules is used in packages linuxwacom-bamboo-cth-ctl and xf86-input-wacom-git.

edit: I'm attaching newer version of rules file, with another 2 new models. (it's the second one, 9.2KiB - should have renamed the file to some kind of .v2, but wasn't aware that it wouldn't replace previous one).
Comment by Tom Gundersen (tomegun) - Monday, 11 July 2011, 10:39 GMT
I think this should be taken up with upstream, and we should just follow whatever they do. Is there any reason why they are not carrying these rules?

Loading...