[pulseaudio-tickets] [Bug 90959] Missing device detection with module-udev-detect with multiple server

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 14 23:44:13 PDT 2015


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

--- Comment #11 from Tanu Kaskinen <tanuk at iki.fi> ---
(In reply to Raymond from comment #9)
> how can logind/udev limit the access of card to specific user ?

logind keeps track of what sessions exist, what "seats" exist, and which
session is the active one on each seat, and based on that information, udev
gives access to the active user for hardware that has been assigned to the seat
that the user is on. All sound cards are assigned to "seat0" by default.

> desktop have more the one usb ports and user may put usb audio on different
> usb port
> 
> two users may put two usb audio of same model on different usb port

If the two users are using the computer at the same time, you're talking about
a multiseat system. That requires configuring udev so that it knows which sound
cards belong to which seat.

(In reply to Raymond from comment #10)
> the drawback of limit the access of card to one user is
> 
> those 7.1+2 hda codec used by desktop usually have three audio inputs  and
> three input pins:rear mic, front mic and line in , can these three captures
> devices assign to different users

If the three inputs appear as separate devices under /dev/snd, then I think
udev could in theory assign them to different users. The mixer device
(controlCx) would have to be accessible to all users. Configuring this would
require much bigger changes to the udev configuration than just assigning a
sound card to a particular seat. PulseAudio would most likely have to be
adapted too.

-- 
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/pulseaudio-bugs/attachments/20150815/9f7a687f/attachment.html>


More information about the pulseaudio-bugs mailing list