Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220805

Summary: x11-drivers/linuxwacom-0.8.0 udev SYMLINK rule bug
Product: Gentoo Linux Reporter: Oldrich Jedlicka <oldium.pro>
Component: New packagesAssignee: X11 External Driver Maintainers <x11-drivers>
Status: RESOLVED FIXED    
Severity: normal CC: ikelos, rbu
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: updated xserver-xorg-input-wacom.udev from ${FILESDIR}

Description Oldrich Jedlicka 2008-05-07 20:09:34 UTC
The first line of installed 60-wacom.rules states:

KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", SYMLINK="input/wacom"

That means the SYMLINK overwrites any other links made by 60-persistent-input.rules (which is processed first on my system). It needs to be changed to SYMLINK+="input/wacom" (and possibly the number 60 needs to be changed?).

Other problem is that SYSFS is deprecated and should be replaced by ATTRS. See attached document as an example that solves the problems.
Comment 1 Oldrich Jedlicka 2008-05-07 20:12:06 UTC
Created attachment 152367 [details]
updated xserver-xorg-input-wacom.udev from ${FILESDIR}
Comment 2 Mike Auty (RETIRED) gentoo-dev 2008-05-24 17:16:56 UTC
Thanks for this, it's now been pushed into my personal repository (ikelos) and will make it into the tree in a few weeks, after some testing...  5:)
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2008-06-16 08:15:16 UTC
I updated our rules against the version shipped in Debian (new device ids), and included your += and SYSFS->ATTRS transition in linuxwacom-0.8.0_p3-r1.
I also sent the new file to Ron (Debian).