<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Missing uaccess rule for /dev/snd/seq"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66861#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Missing uaccess rule for /dev/snd/seq"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66861">bug 66861</a>
from <span class="vcard"><a class="email" href="mailto:a.c.kalker@gmail.com" title="Alain Kalker <a.c.kalker@gmail.com>"> <span class="fn">Alain Kalker</span></a>
</span></b>
<pre>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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>