[systemd-bugs] [Bug 66861] Missing uaccess rule for /dev/snd/seq

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 12 10:38:57 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66861

--- Comment #2 from Alain Kalker <a.c.kalker at gmail.com> ---
Thanks for the tip and quick reply!

I don't think that udev picking up the device at module load time is the
problem, the device does get set to group "audio" by udev (see a looong way
below).
I realize that I may have worded the bug subject wrong: it's possibly not a
problem with uaccess but with adding the device to a seat. Sorry for that ;-)

In 71-seat.rules, sound devices are handled specially:
71-seat.rules:10:TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat"
71-seat.rules:11:SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat"

i.e. anything that does _not_ have KERNEL=="card*" is filtered out for some
reason, and doesn't get the "seat" tag.

The trouble is, /dev/snd/seq is a virtual device (alas, without an entry in
/sys/devices/virtual/sound , is this an ALSA bug?), and is handled yet
elsewhere in:

50-udev-default.rules:33:SUBSYSTEM=="sound", GROUP="audio", \
50-udev-default.rules:34:  OPTIONS+="static_node=snd/seq",
OPTIONS+="static_node=snd/timer"

i.e. it most probably doesn't have KERNEL=="card*", so does not get "seat" tag.

How do I get /dev/snd/seq added to a seat, given that it has this strange
"static_node=" option?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130712/39d08fe9/attachment.html>


More information about the systemd-bugs mailing list