$ 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
$ 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
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.
Here's what I did:
TEST #1 - No sound Playing SB/codec# 0 > ~/alsa/ codec#0. NoHeadphones. Test1.txt
No headphones plugged in:
$sudo cat /proc/asound/
Plug Headphones: SB/codec# 0 > ~/alsa/ codec#0. WithHeadphones. Test1.txt
$sudo cat /proc/asound/
$ ls -lha ~/alsa/codec#0.* alsa/codec# 0.NoHeadphones. Test1.txt alsa/codec# 0.WithHeadphone s.Test1. txt
-rw-rw-r-- 1 al al 16K 2011-10-17 14:42 /home/al/
-rw-rw-r-- 1 al al 16K 2011-10-17 14:44 /home/al/
$ diff ~/alsa/ codec#0. NoHeadphones. Test1.txt ~/alsa/ codec#0. WithHeadphones. Test1.txt
$
TEST #2 - Sound Playing SB/codec# 0 > ~/alsa/ codec#0. NoHeadphones. Test2.txt
No headphones plugged in:
$ sudo cat /proc/asound/
Plug Headphones: SB/codec# 0 > ~/alsa/ codec#0. WithHeadphones. Test2.txt
$ sudo cat /proc/asound/
$ ls -lha ~/alsa/codec#0.* alsa/codec# 0.NoHeadphones. Test2.txt alsa/codec# 0.NoHeadphones. txt alsa/codec# 0.WithHeadphone s.Test2. txt alsa/codec# 0.WithHeadphone s.txt
-rw-rw-r-- 1 al al 16K 2011-10-17 14:54 /home/al/
-rw-rw-r-- 1 al al 16K 2011-10-17 14:42 /home/al/
-rw-rw-r-- 1 al al 16K 2011-10-17 14:54 /home/al/
-rw-rw-r-- 1 al al 16K 2011-10-17 14:44 /home/al/
$ 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.