Comment 36 for bug 1236965

Revision history for this message
The_Letter_J (the-letter-j) wrote :

Rrr. Methinks that using ubuntu-software-update overwrote my manually-applied dotconf patches.
I have re-applied the workaround from bug#946232 comment#32, and the patch from bug#1236965 comment#13.

j@j-P180HMx:~$ ls -l /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
-rw-r--r-- 1 root root 3261 Sep 26 04:06 /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
j@j-P180HMx:~$ ls -l /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
-rw-r--r-- 1 root root 3231 Sep 26 04:06 /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
j@j-P180HMx:~$ cp /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf ~/tmpUspapaos2.bak
j@j-P180HMx:~$ grep -v "required-any = any" /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf > ~/tmpUspapaos2.conf
j@j-P180HMx:~$ sudo cp ~/tmpUspapaos2.conf /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
j@j-P180HMx:~$ grep "required-any = any" /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
j@j-P180HMx:~$ cp /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf ~/tmpUspapaiim2.bak
j@j-P180HMx:~$ grep -v "required-any = any" /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf > ~/tmpUspapaiim2.conf
j@j-P180HMx:~$ sudo cp ~/tmpUspapaiim2.conf /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
j@j-P180HMx:~$ grep "required-any = any" /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
j@j-P180HMx:~$ ps aux | grep pulse | grep -v grep
j 2749 0.1 0.0 418188 6136 ? S<l 13:12 0:00 pulseaudio --start
j 2753 0.0 0.0 95956 2980 ? S 13:12 0:00 /usr/lib/pulseaudio/pulse/gconf-helper
j@j-P180HMx:~$ pulseaudio -k
j@j-P180HMx:~$ ps aux | grep pulse | grep -v grep
j@j-P180HMx:~$ pulseaudio --start
j@j-P180HMx:~$ ps aux | grep pulse | grep -v grep
j 2836 3.6 0.0 418172 5644 ? S<l 13:22 0:00 pulseaudio --start
j 2840 0.0 0.0 95956 2980 ? S 13:22 0:00 /usr/lib/pulseaudio/pulse/gconf-helper
j@j-P180HMx:~$ pulseaudio -k
j@j-P180HMx:~$ ps aux | grep pulse | grep -v grep
j@j-P180HMx:~$ sudo nano /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
(apply patch#13)
j@j-P180HMx:~$ pulseaudio --start
j@j-P180HMx:~$ speaker-test -D default -t wav -c 6 -l 1
(frontLeft/Center/FrontRight loud, rearLeft/RearRight quieter, LFE dead silent)
j@j-P180HMx:~$ ls -l /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
-rw-r--r-- 1 root root 3943 Oct 10 13:25 /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
j@j-P180HMx:~$ ls -l /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
-rw-r--r-- 1 root root 3060 Oct 10 13:22 /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf

So, we are back to where we are supposed to be. Built-in-spkrs *do* show in sound-settings again.
Sorry about the noise. Is there a way to pin these dotconfs so that ubuntu-auto-update will leave them be?