[Bug 8037] gnome-settings-daemon always accesses /dev/mixer

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Sep 21 09:06:46 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=8037
Ubuntu | capplets





------- Additional Comments From droebbel.melta at gmx.de  2005-09-21 10:06 UTC -------
Exactly. This is what I tried:

dm at schlupp:~$ cat /proc/asound/cards
0 [UA5            ]: USB-Audio - UA-5
                     EDIROL UA-5 at usb-0000:00:10.0-1, full speed

**unplug device**

dm at schlupp:~$ cat /proc/asound/cards
--- no soundcards ---

** check if there are any procecces still accessing an audio device - only
gnome-settings-daemon **

dm at schlupp:~$ lsof | grep snd
gnome-set 11449         dm   35u      CHR      116,0              1025295
/dev/snd/controlC0

dm at schlupp:~$ lsof | grep mixer
gnome-set 11449         dm   34u      CHR       14,0              1024941
/dev/mixer (deleted)

**plug device back in and wait a few seconds**

dm at schlupp:~$ cat /proc/asound/cards
--- no soundcards ---
dm at schlupp:~$ killall gnome-settings-daemon
dm at schlupp:~$ cat /proc/asound/cards
0 [UA5            ]: USB-Audio - UA-5
                     EDIROL UA-5 at usb-0000:00:10.0-1, full speed


** Now I tried something else to make sure I'm not mistaken: I made the two
audio-devices inaccessible for g-s-d.**
dm at schlupp:~$ cat /proc/asound/cards
0 [UA5            ]: USB-Audio - UA-5
                     EDIROL UA-5 at usb-0000:00:10.0-1, full speed
dm at schlupp:~$ sudo chmod 600 /dev/snd/controlC0
dm at schlupp:~$ sudo chmod 600 /dev/mixer
dm at schlupp:~$ lsof | grep snd
dm at schlupp:~$ lsof | grep mixer

** plug out ***

dm at schlupp:~$ cat /proc/asound/cards
--- no soundcards ---

** plug in **

dm at schlupp:~$ cat /proc/asound/cards
0 [UA5            ]: USB-Audio - UA-5
                     EDIROL UA-5 at usb-0000:00:10.0-1, full speed

** It worked then. So the two devices being still open are causing the problem.
I had to chmod __both__ devices btw. **

Hope that helps
David (droebbel)

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list