Ubuntu

[HP Z200] Internal Audio not muted

Reported by Marc Legris on 2011-04-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
David Henningsson

Bug Description

When plugging a headset into the back audio port, the internal speaker is not muted. Instead both speakers are active. The front headphone does mute the internal speaker when pluggin in.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic-pae 2.6.38-8.41
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
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: ubuntu 1248 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf3020000 irq 43'
   Mixer name : 'Realtek ALC262'
   Components : 'HDA:10ec0262,103c170b,00100202'
   Controls : 31
   Simple ctrls : 19
Date: Fri Apr 8 15:22:44 2011
HibernationDevice: RESUME=UUID=d99c460c-5572-4124-8815-528fb4edb830
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110329)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Hewlett-Packard HP Z200 Workstation
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic-pae root=UUID=6fe96277-ddfa-4ce8-9771-7a3acb593079 ro quiet splash initcall_debug vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic-pae N/A
 linux-backports-modules-2.6.38-8-generic-pae N/A
 linux-firmware 1.49
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/18/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786H3 v01.11
dmi.board.asset.tag: 2UA04121R9
dmi.board.name: 0B40h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: 2UA04121R9
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr786H3v01.11:bd10/18/2010:svnHewlett-Packard:pnHPZ200Workstation:pvr:rvnHewlett-Packard:rn0B40h:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP Z200 Workstation
dmi.sys.vendor: Hewlett-Packard

David Henningsson (diwic) wrote :

I'm actually unsure on upstream policy on this one. I think I've seen both variants.

David Henningsson (diwic) wrote :

Actually, the very latest alsa drivers might contain a setting for auto-mute. Would it be possible for you to follow these instructions:
https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules , reboot, start alsamixer and see if you have an "auto-mute" setting, and if so, make sure the setting is right, then test again?

Thanks!

Changed in alsa-driver (Ubuntu):
status: New → Incomplete

David -- I don't see an an auto-mute setting when installing the latest drives. However, it is possible to mute the internal speaker by selecting "Analog Output" rather then the default "Analog Speaker" in Output settings

Changed in alsa-driver (Ubuntu):
status: Incomplete → Confirmed
David Henningsson (diwic) wrote :

Hmm, I think this patch will help.

David Henningsson (diwic) wrote :

I've made a debian package for easy testing of the above patch. Could you please
1) uninstall the latest alsa driver. Confirm by checking "modinfo snd-hda-codec | grep ilename" which should not say anything with "updates" in it.
2) download and install http://people.canonical.com/~diwic/temp/alsa-hda-dkms-hpz200_0.1_all.deb
3) reboot and test. If successful, alsamixer should now have a switch "Auto-mute mode" which should be set to "Line Out+Speaker" and that should enable all automuting: HP -> Speaker, HP -> Line out and Line out -> Speaker.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
tags: added: patch

David -- I have follow your instructions and found the patch is working correctly. The internal speaker is now muted when the front or rear audio ports are used.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Fix Committed
David Henningsson (diwic) wrote :

Thanks, I have now sent a patch upstream.

affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → David Henningsson (diwic)
status: Fix Committed → In Progress
David Henningsson (diwic) wrote :

Upstream accepted patch.

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
madbiologist (me-again) wrote :

This patch has been included upstream in kernel 3.0-rc5. A PPA of of this kernel is available at http://kernel.ubuntu.com/~kernel-ppa/mainline/

As noted in comment #10, the patch to resolve this issue was included upstream as ov v3.0-rc5:

ubuntu-oneiric$ git describe --contains d2a19da79d3ea5b7859248b0f132c479ed4505e2
v3.0-rc5~33^2~2

We've already rebased and uploaded the latest Oneiric 3.0.0-7.8 linux kernel which was rebased on the final v3.0 upstream kernel. As such this patch should already be included in the latest Oneiric kernel upload. Thus, I'm marking the actively developed linux task from Fix Committed to Fix Released. Thanks.

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

Other bug subscribers