Dist-upgrading from Ubuntu Hoary to Breezy incorrectly removes the 'Headphone' ALSA mixer element

Bug #24172 reported by Adriaan Peeters
14
Affects Status Importance Assigned to Milestone
ALSA driver
New
Unknown
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Since upgrading my kernel from linux-image-2.6.10-5-386 (2.6.10-34.7, from
hoary) to linux-image-2.6.12-9-386 (2.6.12-9.23, breezy), the headphone mixer
disappeared. Switching back to 2.6.10 works, but this is not the default kernel
for breezy.

Machine: Dell D505
The following output is from the 2.6.12 kernel:

$cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
                     Intel 82801DB-ICH4 with STAC9750,51 at 0xfaeff800, irq 7
$cat /proc/asound/card0/codec97#0/ac97#0-0
0-0/0: SigmaTel STAC9750,51

Capabilities : -headphone out-
DAC resolution : 20-bit
ADC resolution : 20-bit
3D enhancement : SigmaTel 3D Enhancement

Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Extended ID : codec=0 rev=1 AMAP DSA=0 SPDIF VRA
Extended status : SPCV SPDIF=10/11 VRA
PCM front DAC : 48000Hz
PCM ADC : 8000Hz
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
$cat /proc/asound/card0/codec97#0/ac97#0-0+regs
0:00 = 6a90
0:02 = 9f1f
0:04 = 9f1f
0:06 = 801f
0:08 = 0000
0:0a = 001e
0:0c = 0016
0:0e = 801f
0:10 = 9f1f
0:12 = 1616
0:14 = 1616
0:16 = 1616
0:18 = 1313
0:1a = 0000
0:1c = 0a0a
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 0605
0:2a = 0431
0:2c = bb80
0:2e = 0000
0:30 = 0000
0:32 = 1f40
0:34 = 0000
0:36 = 0000
0:38 = 0000
0:3a = 2824
0:3c = 0000
0:3e = 0100
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0003
0:4e = ffff
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0002
0:6e = 1000
0:70 = 0000
0:72 = 0000
0:74 = 0800
0:76 = 0000
0:78 = 0000
0:7a = 0000
0:7c = 8384
0:7e = 7650

Revision history for this message
Thomas Hood (jdthood) wrote :

And the output of "amixer"? :)

Revision history for this message
Adriaan Peeters (apeeters) wrote :
Download full text (4.7 KiB)

Here you go :)
Output when running the 2.6.12 kernel:

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 8 [26%] [on]
  Front Right: Playback 8 [26%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 7 [23%] [on]
  Front Right: Playback 7 [23%] [on]
Simple mixer control 'PCM Out Path & Mute',0
  Capabilities:
  Mono:
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 9 [29%] [on] Capture [off]
  Front Right: Playback 9 [29%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 9 [29%] [on] Capture [off]
  Front Right: Playback 9 [29%] [on] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 9 [29%] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch...

Read more...

Revision history for this message
Thomas Hood (jdthood) wrote :

(In reply to comment #2)
> Here you go :)

And running the amixer command under the more ancient kernel?
There is a control named "Headphone"?

Revision history for this message
Adriaan Peeters (apeeters) wrote :
Download full text (5.3 KiB)

(In reply to comment #3)
> There is a control named "Headphone"?

Yes, there is a control named Headphone.

> And running the amixer command under the more ancient kernel?

$ uname -a
Linux twiadria 2.6.10-5-386 #1 Mon Oct 10 11:15:41 UTC 2005 i686 GNU/Linux
$ cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
                     Intel 82801DB-ICH4 with STAC9750/51 at 0xfaeff800, irq 7
$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 7 [23%] [on]
  Front Right: Playback 7 [23%] [on]
Simple mixer control 'PCM Out Path & Mute',0
  Capabilities:
  Mono:
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 9 [29%] [on] Capture [off]
  Front Right: Playback 9 [29%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Fron...

Read more...

Revision history for this message
Thomas Hood (jdthood) wrote :
Revision history for this message
Thomas Hood (jdthood) wrote :

Upstream writes "The bug regarding STAC9751 should have been already fixed in
the recent version."

Revision history for this message
Adriaan Peeters (apeeters) wrote :

> Upstream writes "The bug regarding STAC9751 should have been already fixed in
> the recent version."

The bug persists in a pristine 2.6.14 kernel. Added information in upstream
bugtrack.

Revision history for this message
Thomas Hood (jdthood) wrote :

Upstream has provided a patch for the submitter to try.

Revision history for this message
Ben Collins (ben-collins) wrote :

Upstream's patch doesn't fix the submitters problem:

If possible, please upgrade to Dapper's 2.6.15-7 kernel. If you do not want to
upgrade to Dapper, then you can also wait for the Dapper Flight 2 CD's, which
are due out within the next few days.

Let me know if this bug still exists with this kernel

Revision history for this message
Adriaan Peeters (apeeters) wrote :

I just loaded up to Dapper Flight 2 live cd and this bug still exists.

Revision history for this message
Adriaan Peeters (apeeters) wrote :

The Dapper Flight 6 cd does not yet fix the problem. Upstream apparently didn't look at it anymore.

Revision history for this message
Adriaan Peeters (apeeters) wrote :

It is not critical, but annoying. Shouldn't we try to get this fixed for Dapper?

Changed in linux-source-2.6.15:
status: Unconfirmed → Confirmed
Revision history for this message
Daniel T Chen (crimsun) wrote :

Please unload snd_intel8x0, then reload it with the ac97_quirk=hp_only parameter:

$ sudo modprobe -r snd_intel8x0
$ sudo modprobe snd_intel8x0 ac97_quirk=hp_only

If the above sequence restores proper control, please attach (don't inline) the output from ``lspci -nv''.

Revision history for this message
Adriaan Peeters (apeeters) wrote : lspci

The above does _not_ fix the problem.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: headphone control disappeared

Does volume control function at all (using any of the mixer elements)? If so, which?

Moreover, if it it does work, I'm inclined to think the element names have simply shifted between major releases (an annoying but innocuous feature of many ALSA releases).

Revision history for this message
Adriaan Peeters (apeeters) wrote :

Yes, the volume control works. The master control changes both the speaker and headphone volume.

On hoary these were two different controls.

Changed in alsa-driver:
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this linux-source-2.6.15 kernel bug to the new "linux" package. We appreciate your patience and understanding as we make this transition. Also, if you would be interested in testing the upcoming Intrepid Ibex 8.10 release, it is available at http://www.ubuntu.com/testing . Please let us know your results. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Daniel T Chen (crimsun) wrote :

(Mixer element strings are not guaranteed stable - unsetting importance.)

Changed in linux:
importance: Medium → Undecided
Revision history for this message
Adriaan Peeters (apeeters) wrote :

The mixer element is not renamed, it is _gone_.

Revision history for this message
Przemek K. (azrael) wrote :

Is this bug still valid given that so many things have changed in ALSA and Linux since it was reported?
Does it appear in a new installation of Ubuntu Karmic?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Adriaan Peeters (apeeters) wrote :

I don't have access to the machine anymore but the bug was valid up to 8.10 Intrepid.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Unassigned Ben Collins. Marking Invalid unless someone encounters this in Karmic or preferably Lucid. Please open a new bug in that case and attach the apport logs.

-JFo

Changed in linux (Ubuntu):
assignee: Ben Collins (ben-collins) → nobody
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.