<p><br />Hi,<br /> <br />Can you tell me where is the log file of the debug mode ?<br />I've edited /etc/pulse/daemon.conf and uncommented log-level=debug but I can't find the log file :S<br /> <br />Lennart : concerning the card indexes, I'm not sure how to use the control device name, like you said.<br />One of my problem is that I use darkice for recording and broadcasting and its conf file is set up to record hw(1,0). If I don't edit /etc/modprobe.d/alsa-base.conf to fix the sound card order, darkice will record the wrong audio card after a reboot or suspend, because the card order changes.<br />Thx</p>
<div>--------------</div>
<div>> Hello,<br />><br />> I'm using ubuntu karmic 9.10 with 2 sound cards and a webcam listed<br />> below :</div>
<div><br />Next time, please follow this if you have problems with Ubuntu:</div>
<div><a href="http://pulseaudio.org/wiki/UbuntuBugs">http://pulseaudio.org/wiki/UbuntuBugs</a></div>
<div><br />> To explain things better, I've made some screenshots :<br />> <a href="http://box10.pulsradio.com/~pim2/pulseaudiout1.png">http://box10.pulsradio.com/~pim2/pulseaudiout1.png</a> => my settings for<br />> output before suspend (default output = SB0404 ==> what I want). These<br />> settings seem to be retained after suspend or reboot.<br />> <a href="http://box10.pulsradio.com/~pim2/pulseaudioin1.png">http://box10.pulsradio.com/~pim2/pulseaudioin1.png</a> => my settings for<br />> input before suspend (default input = Audio intern - Line In= ==> What I<br />> want.<br />> <a href="http://box10.pulsradio.com/~pim2/pulseaudioin2.png">http://box10.pulsradio.com/~pim2/pulseaudioin2.png</a> => my settings for<br />> input after suspend (default input changed to EMU404 - Microphone)<br />> This is just an exemple because sometimes after reboot, default input is<br />> still Intel but switched to mic-in instead of line-in.</div>
<div><br />Hmm, my educated guess is that some weird suspend script might<br />unload some device/driver on suspend and reload it afterwards. In PA<br />this might cause a different default device to be chosen.</div>
<div>You might be able to find out more by enabling debug logging in PA and<br />then checking syslog. (log-level=debug in /etc/pulse/daemon.conf)</div>
<div><br />> Maybe it has nothing to do with this problem but I've<br />> edited /etc/modprobe.d/alsa-base.conf in order to have always the same<br />> order :<br />> options snd-emu10k1 index=0<br />> options snd-hda_intel index=1<br />> options snd-usb_audio index=2</div>
<div><br />That is definitely a bad idea, but probably not the cause of this<br />issue. Stable card indexes are a thing of the past, as it breaks<br />hotplugging. There is also no need for it, as you can use card names<br />(as listed in /proc/asound/cards in the []), or you can use the<br />control device name, such as<br />hw:/dev/snd/by-path/pci-0000\:00\:1b.0. Both of which are way more descriptive.</div>
<div>Lennart</div>