On Monday 28 of June 2004 09:41, Daniel Eckl wrote:
Hi Bojan!
That's because this audio chip cannot handle multiple opens. So only one alsa application can connect to the card at one time, and that's the arts daemon from your first session.
There should be a possibility to configure alsa to use the so called dmix plugin, so alsa handles the multiple opens in software and mixes the streams. I was able to get this to work on an older SuSE with updated alsa, but with the alsa from SuSE 9.1 I wasn't able to get this working.
Can anybody help here?
One starting point: http://alsa.opensrc.org/index.php?page=DmixPlugin
Greets, Daniel
Zitat von Bojan Hribernik <bojan.hribernik@siol.net>:
SuSE Linux 9.1 personal, kernel 2.6.xx, KDE 3.2.1... I have Intel 82801DB-ICH4 sound card. It works, I can hear the sound. I have 3 users: root, first_user, second_user. Now here's the problem.
CASE 1: for example, if I start first session as first_user I can hear the sound, there's KAMix in systray and everything is fine. Then if I start new (second) session as second_user the sound is gone. If I try to open KAMix it gives me error: "direct access to sound device not possible" no soundcard available or sound not configured yet. In control center - sound system, the sound is enabled ... but... then if I start another (third) session as root everything is ok. KAMix loads, sound works, I can change configuration, mute sound....
CASE 2: if i start first session as root everything is ok. then if i start second session eather as first or second user... sound does not work.
both users are members of audio group. what's the catch??? what am I missing here???
thanx for your answers
-- To unsubscribe, email: suse-kde-unsubscribe@suse.com For additional commands, email: suse-kde-help@suse.com Please do not cross-post to suse-linux-e
How come if I start first session as normal user and for example start playing mp3s, then start second session as super user, I can still access my soundcard, but as a normal user I cannot.
If normal user is logged in at session1, super user can still access the sound card, but the normal user cannot.
I don't get it... with SuSE 9.0 everything was fine. After fresh 9.1 install it's not.
I´ve successfully configured dmix plugin on SuSE 9.1. Here are my steps: 1)su root 2)cp /etc/asoundrc.dmix /etc/asound.conf 2.1) My asound.conf looks like pcm.ossmix { type dmix ipc_key 1027 # must be unique! slave { pcm "hw:0,0" # you cannot use a "plug" device here, darn. period_time 0 period_size 1024 buffer_size 4096 #format "S32_LE" #periods 128 # dito. rate 44100 # with rate 8000 you *will* hear, # if ossmix is used :) } bindings { 0 0 # from 0 => to 0 1 1 # from 1 => to 1 } } pcm.!default { type plug slave.pcm "ossmix" } # mixer0 like above ctl.mixer0 { type hw card 0 } 2.2) My asound.conf differs from asoundrc.dmix, but original asoundrc.dmix should be OK. 3)/etc/init.d/alsasound restart That´s all. Some strange things: play(console) doesn´t work when xmms plays via ALSA so i´setted up xmms to play via aRts and switched from play to aplay WBR, Victor Galkin.