Probably not relevant for the jack sense I guess, but concerning the mute button I mentioned, there's a difference in /proc/asound/card0/codec#0 when the button is pressed:
jensi@tp:~$ diff -U 2 unmuted muted --- unmuted 2010-05-13 16:52:49.520209649 +0200 +++ muted 2010-05-13 16:52:54.276207621 +0200 @@ -65,5 +65,5 @@ Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 - Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00] + Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 5 0x18 0x19 0x1a 0x1b 0x1d
Probably not relevant for the jack sense I guess, but concerning the mute button I mentioned, there's a difference in /proc/asound/ card0/codec# 0 when the button is pressed:
jensi@tp:~$ diff -U 2 unmuted muted
--- unmuted 2010-05-13 16:52:49.520209649 +0200
+++ muted 2010-05-13 16:52:54.276207621 +0200
@@ -65,5 +65,5 @@
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
- Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00]
+ Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 5
0x18 0x19 0x1a 0x1b 0x1d