Comment 18 for bug 871582

Revision history for this message
Alvaro Leal (Effenberg0x0) (effenberg0x0) wrote :

Here's what I did:

TEST #1 - No sound Playing
No headphones plugged in:
$sudo cat /proc/asound/SB/codec#0 > ~/alsa/codec#0.NoHeadphones.Test1.txt

Plug Headphones:
$sudo cat /proc/asound/SB/codec#0 > ~/alsa/codec#0.WithHeadphones.Test1.txt

$ ls -lha ~/alsa/codec#0.*
-rw-rw-r-- 1 al al 16K 2011-10-17 14:42 /home/al/alsa/codec#0.NoHeadphones.Test1.txt
-rw-rw-r-- 1 al al 16K 2011-10-17 14:44 /home/al/alsa/codec#0.WithHeadphones.Test1.txt

$ diff ~/alsa/codec#0.NoHeadphones.Test1.txt ~/alsa/codec#0.WithHeadphones.Test1.txt
$

TEST #2 - Sound Playing
No headphones plugged in:
$ sudo cat /proc/asound/SB/codec#0 > ~/alsa/codec#0.NoHeadphones.Test2.txt

Plug Headphones:
$ sudo cat /proc/asound/SB/codec#0 > ~/alsa/codec#0.WithHeadphones.Test2.txt

$ ls -lha ~/alsa/codec#0.*
-rw-rw-r-- 1 al al 16K 2011-10-17 14:54 /home/al/alsa/codec#0.NoHeadphones.Test2.txt
-rw-rw-r-- 1 al al 16K 2011-10-17 14:42 /home/al/alsa/codec#0.NoHeadphones.txt
-rw-rw-r-- 1 al al 16K 2011-10-17 14:54 /home/al/alsa/codec#0.WithHeadphones.Test2.txt
-rw-rw-r-- 1 al al 16K 2011-10-17 14:44 /home/al/alsa/codec#0.WithHeadphones.txt

$ diff ~/alsa/codec#0.NoHeadphones.Test2.txt ~/alsa/codec#0.WithHeadphones.Test2.txt
$

$ diff ~/alsa/codec#0*
$

Auto-mute is enabled in Alsamixer. There's no change in the file when headphone is plugged in or not, playing music or not.
I have attached the files if you want to have a look at them.