Re: [gentoo-user] Two users, two soundcards. How ?
Well, I asked on ALSA-user and there is still no response. I will try linux-audio-user. Thanks. On Wed, 2005-04-06 at 00:10 +0200, Christoph Eckert wrote: Thanks for the info, but what are the files I need to chown/chmod ? I am using ALSA, no OSS emulation layer. phew, that's too much for me ;-) . This is concerning ALSA sequencer, and I'd recommend to join the ALSA user mailing list or the linux audio user mailinglist. AFAIK, asoundrc does not contain any section about user priviledges, but maybe I'm wrong. Best regards ce -- gentoo-user@gentoo.org mailing list -- Ivan Yosifov. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Two users, two soundcards. How ?
On Wed, Apr 06, 2005 at 12:56:05AM +, Ivan Yosifov wrote: Thanks for the info, but what are the files I need to chown/chmod ? I am using ALSA, no OSS emulation layer. To use the soundcard you have to be in the sound group in the default gentoo setup. The easiest would be to make a sound1 group and put the second sound card in that group (cleaner solution: two groups sound1/sound2), then put each user in only one of the groups. What you need to modify to change the permissions of the devices depends on your device management (devfs/udev/none). Devfs and udev pretty much set the permissions everytime on boot. Greetz, Bjrn -- Bjrn Michaelsen pub 1024D/C9E5A256 2003-01-21 Bjrn Michaelsen [EMAIL PROTECTED] Key fingerprint = D649 8C78 1CB1 23CF 5CCF CA1A C1B5 BBEC C9E5 A256 pgp08ZVFXWDRH.pgp Description: PGP signature
Re: [gentoo-user] Two users, two soundcards. How ?
Thanks for the help everyone. FYI, this is the reply I ( eventually ) got from alsa-user: ___ A pc has two soundcards, and two users. I want one soundcard to be accessible ONLY to one of the users, the other - ONLY to the other user. The device files in /dev/snd/ with a C in their name are card- specific (the digit following the C is the card number). Can this be done through .asoundrc ? Probably not. You could create user-specific .asoundrc files that redefine the default device, but those wouldn't prevent the users from accessing other cards directly. HTH Clemens ___ On Tue, 2005-04-05 at 21:34 -0700, Robert Persson wrote: If you use udev you will have a directory called /etc/udev/permissions.d where device permissions are determined at each boot. Robert On April 5, 2005 03:10 pm, quoth Christoph Eckert: Thanks for the info, but what are the files I need to chown/chmod ? I am using ALSA, no OSS emulation layer. phew, that's too much for me ;-) . This is concerning ALSA sequencer, and I'd recommend to join the ALSA user mailing list or the linux audio user mailinglist. AFAIK, asoundrc does not contain any section about user priviledges, but maybe I'm wrong. Best regards ce -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Two users, two soundcards. How ?
A pc has two soundcards, and two users. I want one soundcard to be accessible ONLY to one of the users, the other - ONLY to the other user. How do I do this ? Can this be done through .asoundrc ? How ? Or do I need to change device file permissions ? On what files ? Most distros use PAM for setting the device permissions at login time, so manually setting device permissions will be reset after the next login. If PAM is running on your system, it's the first point to check if it can give different permissions to the cards. Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Two users, two soundcards. How ?
Thanks for the info, but what are the files I need to chown/chmod ? I am using ALSA, no OSS emulation layer. On Tue, 2005-04-05 at 23:42 +0200, Christoph Eckert wrote: A pc has two soundcards, and two users. I want one soundcard to be accessible ONLY to one of the users, the other - ONLY to the other user. How do I do this ? Can this be done through .asoundrc ? How ? Or do I need to change device file permissions ? On what files ? Most distros use PAM for setting the device permissions at login time, so manually setting device permissions will be reset after the next login. If PAM is running on your system, it's the first point to check if it can give different permissions to the cards. Best regards ce -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Two users, two soundcards. How ?
Thanks for the info, but what are the files I need to chown/chmod ? I am using ALSA, no OSS emulation layer. phew, that's too much for me ;-) . This is concerning ALSA sequencer, and I'd recommend to join the ALSA user mailing list or the linux audio user mailinglist. AFAIK, asoundrc does not contain any section about user priviledges, but maybe I'm wrong. Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Two users, two soundcards. How ?
If you use udev you will have a directory called /etc/udev/permissions.d where device permissions are determined at each boot. Robert On April 5, 2005 03:10 pm, quoth Christoph Eckert: Thanks for the info, but what are the files I need to chown/chmod ? I am using ALSA, no OSS emulation layer. phew, that's too much for me ;-) . This is concerning ALSA sequencer, and I'd recommend to join the ALSA user mailing list or the linux audio user mailinglist. AFAIK, asoundrc does not contain any section about user priviledges, but maybe I'm wrong. Best regards ce -- gentoo-user@gentoo.org mailing list -- Robert Persson No matter how much ye shake yer peg The last wee drap rins doon yer leg. -- gentoo-user@gentoo.org mailing list