headphone connection does not switch off speakers

When my headphones are plugged in, the speakers do not mute.
This occurs when they are plugged in from power up, and when the are plugged in after power up.

This used to work fine with opensuse 11.4 (64 bit).

System details
opensuse 12.2 (64bit) with the following modifications:

  1. add packman repo and upgrade all system packages to this repo
  2. add kde 4.9 repo, and upgrade all system packagesto this repo

> /sbin/lspci | grep -iP ‘(sound|audio)’
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC’97 Audio Controller (rev 02)

> rpm -qa | grep -iP ‘(phonon|alsa|pulse)’

Differences with opensuse 11.4

  1. xine backend
    I note that on 11.4 I had a xine backend shown in the phonon config gui.
    I also note that with 11.4 there was a phonon-backend-xine package installed. No such package exists in 12.2.
    I do not know if this is relevant
  2. There are differences in asound-pulse.conf, but it is not obvious to me that they are relevant…

/etc> cat asound-pulse.conf

PulseAudio plugin configuration

pcm.!default {
type pulse
hint {
show on
description “Default ALSA Output (currently PulseAudio Sound Server)”
fallback “sysdefault”

ctl.!default {
type pulse
fallback “sysdefault”

and for opensuse 11.4…

/opensuse_11_4/etc> cat asound-pulse.conf

PulseAudio plugin configuration

Let’s create a virtual device “pulse” for mixer and PCM

pcm.pulse {
type pulse

ctl.pulse {
type pulse

Let’s make it the default!

pcm.!default {
type plug
slave.pcm {
type pulse

ctl.!default {
type pulse

I can reboot into 11.4 to compare things.

So, can anyone explain how to configure the sound system to work aswell for me as it did in 11.4?
(Apart from this, 12.2 is great!).

Thanks in advance…

Jon B

This could be part of the issue:

  1. add packman repo and upgrade all system packages to this repo
  2. add kde 4.9 repo, and upgrade all system packagesto this repo

By performing step 2, you also replace packages that were coming from the packman repo, by those coming from the kde49 repo. To correct that, repeat step 1, logout, log back in.

No - this made no difference.
Only amarok, strigi and something else apparently irrelevant got downgraded.
Thanks anyway.

I don’t know that structure of the various sound packages/drivers/processes, and which is in charge of switching between speakers/headphones. If anyone does know this, please let me know!

Which desktop are you on? GNOME? KDE?

KDE (version 4.9)

OK, solved it. I spotted this bug report

which had the solution: use alsamixer to toggle the headphone jack sense.
By default it is off.
And for some reason none of the kde guis show this.

Anyway, life is good again :slight_smile: