sound output via headphone is not working correctly (alsa doesn't distinguish between speaker and front channel)

Bug #498829 reported by Charon
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I have a Fujitsu Siemens Esprimo Mobile Laptop (X9525) with a docking station. After I updated to Ubuntu 9.10 I encountered problems with the sound system. When I plug a headphone to the laptop, I can still hear sound via the speakers. I am not able to get rid of the sound of the speaker when plugging the headphone to the laptop. However, when I plug the headphone to the docking station, everything works as expected and the speakers are switched off automatically.
When using the audio applet in the taskbar and setting sound output to "analog headphone" I only have sound via the docking station but not via the laptop headphone jack or the speakers. Only when setting the sound output to "analog output" I have sound via the laptop headphone jack (and also via the speakers).

lspci says:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
---
AlsaVersion:
 Advanced Linux Sound Architecture Driver Version 1.0.23.
 Compiled on Apr 30 2010 for kernel 2.6.32-22-generic (SMP).
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: charon 1765 F.... pulseaudio
                      charon 2299 F.... rhythmbox
 /dev/snd/pcmC0D0p: charon 2299 F...m rhythmbox
 /dev/snd/timer: charon 2299 f.... rhythmbox
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc320000 irq 31'
   Mixer name : 'Realtek ALC262'
   Components : 'HDA:10ec0262,17341146,00100202 HDA:11c11040,11c10001,00100200'
   Controls : 15
   Simple ctrls : 11
CheckboxSubmission: 6b302700689f45b5d1182760a259b919
CheckboxSystem: 331fbefb4b1f6727f4a8261fee7507c9
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=32928a36-4157-43e2-8b2e-b8a2fcabbc69
MachineType: FUJITSU SIEMENS ESPRIMO Mobile X9525
NonfreeKernelModules: nvidia
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=674a7a90-80c8-4126-8127-5eba7399a224 ro quiet splash
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=(custom, no user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
Tags: lucid audio regression-release needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin cdrom dialout lp lpadmin plugdev sambashare
WpaSupplicantLog:

dmi.bios.date: 09/25/2009
dmi.bios.vendor: Phoenix
dmi.bios.version: Z118D3FR.111 - R080 - 3D13
dmi.board.asset.tag: Tag 12345
dmi.board.name: Z118M3A
dmi.board.vendor: FUJITSU SIEMENS
dmi.board.version: 20
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU SIEMENS
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnPhoenix:bvrZ118D3FR.111-R080-3D13:bd09/25/2009:svnFUJITSUSIEMENS:pnESPRIMOMobileX9525:pvr1.0:rvnFUJITSUSIEMENS:rnZ118M3A:rvr20:cvnFUJITSUSIEMENS:ct10:cvr1.0:
dmi.product.name: ESPRIMO Mobile X9525
dmi.product.version: 1.0
dmi.sys.vendor: FUJITSU SIEMENS

Revision history for this message
Charon (charon030) wrote :

output of lspci -vvv:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Fujitsu Technology Solutions Device 1146
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 30
        Region 0: Memory at fe320000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in linux.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

apport-collect -p alsa-base 498829

This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report. Thanks in advance!

tags: added: audio
Revision history for this message
Charon (charon030) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: charon 2211 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe320000 irq 30'
   Mixer name : 'Realtek ALC262'
   Components : 'HDA:10ec0262,17341146,00100202 HDA:11c11040,11c10001,00100200'
   Controls : 16
   Simple ctrls : 11
CheckboxSubmission: 6b302700689f45b5d1182760a259b919
CheckboxSystem: 331fbefb4b1f6727f4a8261fee7507c9
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 LANGUAGE=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
Uname: Linux 2.6.31-17-generic i686
UserGroups: adm admin cdrom dialout lp lpadmin plugdev sambashare
XsessionErrors:
 (gnome-settings-daemon:2242): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:2270): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (firefox:2591): GLib-WARNING **: g_set_prgname() called multiple times
 (thunderbird-bin:2665): GLib-WARNING **: g_set_prgname() called multiple times

Revision history for this message
Charon (charon030) wrote : AlsaDevices.txt
Revision history for this message
Charon (charon030) wrote : BootDmesg.txt
Revision history for this message
Charon (charon030) wrote : Card0.Amixer.values.txt
Revision history for this message
Charon (charon030) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
Charon (charon030) wrote : Card0.Codecs.codec.1.txt
Revision history for this message
Charon (charon030) wrote : CurrentDmesg.txt
Revision history for this message
Charon (charon030) wrote : Dependencies.txt
Revision history for this message
Charon (charon030) wrote : PciMultimedia.txt
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
Charon (charon030) wrote : Re: sound output via headphone is not working correctly

I further investigated this issue. It seems to be a problem of ALSA 1.0.20. It does not distinguish between speaker and front channel, only a front channel is listed for both. The additional headphone channel seems to be used for the docking station.

I updated manually to alsa 1.0.22 and a speaker channel becomes available. The audio control in the panel, however, still sees the old "scenario" of alsa 1.0.20. But at least I can now use the alsamixer in the console to mute the speaker.

Charon (charon030)
summary: - sound output via headphone is not working correctly
+ sound output via headphone is not working correctly (alsa doesn't
+ distinguish between speaker and front channel)
Andy Whitcroft (apw)
tags: added: karmic
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Charon,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 498829

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-sound
tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Charon (charon030) wrote : AlsaDevices.txt

apport information

tags: removed: needs-upstream-testing
description: updated
Revision history for this message
Charon (charon030) wrote : BootDmesg.txt

apport information

Revision history for this message
Charon (charon030) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Charon (charon030) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Charon (charon030) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
Charon (charon030) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Charon (charon030) wrote : IwConfig.txt

apport information

Revision history for this message
Charon (charon030) wrote : Lspci.txt

apport information

Revision history for this message
Charon (charon030) wrote : Lsusb.txt

apport information

Revision history for this message
Charon (charon030) wrote : PciMultimedia.txt

apport information

Revision history for this message
Charon (charon030) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Charon (charon030) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Charon (charon030) wrote : ProcModules.txt

apport information

Revision history for this message
Charon (charon030) wrote : RfKill.txt

apport information

Revision history for this message
Charon (charon030) wrote : UdevDb.txt

apport information

Revision history for this message
Charon (charon030) wrote : UdevLog.txt

apport information

Revision history for this message
Charon (charon030) wrote : WifiSyslog.txt

apport information

Revision history for this message
Charon (charon030) wrote :

I checked with latest upstream kernels (2.6.33 and 2.6.34-rc6), but the issue remains. I now installed the latest version of alsa manually (1.0.23). Like that I have the possibility to switch off the speaker without switching off the headphones. Auto-mute still doesn't work and the channels seem to be mixed. The headphones are to be found as front, while the channel headphones does nothing (perhaps the channel for the docking station??).

tags: added: lucid
tags: removed: needs-kernel-logs
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Medium
Gary M (garym)
tags: added: hda-jack-sense
Revision history for this message
penalvch (penalvch) wrote :

Charon, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. As well, please comment on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing
removed: audio hda-jack-sense
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Gary M (garym)
tags: added: hda-jack-sense
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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