Bug 9338 - snd_hda_intel doesn't mute front speakers when headset is plugged in
Summary: snd_hda_intel doesn't mute front speakers when headset is plugged in
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-09 05:22 UTC by Pablo Yaggi
Modified: 2012-05-17 15:04 UTC (History)
6 users (show)

See Also:
Kernel Version: 2.6.23.1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description Pablo Yaggi 2007-11-09 05:22:10 UTC
Most recent kernel where this bug did not occur:2.6.23
Distribution:Mandriva Cooker
Hardware Environment:Vaio VGN-FZ19VN

Hi, this bug was fixed in 2.6.23 and come again in 2.6.23.1, when i plugged the
headset in the front panel speakers are not mutted, even there's no mixer option to control channels independly.

Bests !

here's my lspci:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 16)
09:03.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
09:03.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
09:03.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
Comment 1 Anonymous Emailer 2007-11-09 08:38:32 UTC
Reply-To: akpm@linux-foundation.org

On Fri,  9 Nov 2007 05:22:13 -0800 (PST) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=9338
> 
>            Summary: snd_hda_intel doesn't mute front speakers when headset
>                     is plugged in
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.23.1
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Sound(ALSA)
>         AssignedTo: perex@perex.cz
>         ReportedBy: pyaggi@alsurdelsur.com
> 
> 
> Most recent kernel where this bug did not occur:2.6.23

Are you sure?  2.6.23 worked OK and 2.6.23.1 does not?
Comment 2 Pablo Yaggi 2007-11-09 10:16:42 UTC
positive, i'm stilling using 2.6.23 because of that, even when i can't put to hibernate the lap with it. I can hibernate with 2.6.23.1 (so i think is bug fixed) but mute doesn't work.
I'm using the option model=vaio for snd_hda_intel module.
Comment 3 Takashi Iwai 2007-12-14 09:32:29 UTC
There is no change regarding sound between 2.6.23 and 2.6.23.1 at all.  So it must be something else.
Comment 4 Gustavo Padovan 2008-01-10 08:22:53 UTC
I have a HDA NVidia that uses snd_hda_intel running on ubuntu kernel 2.6.22.14 and the front speakers doesn't mute when the headset is plugged in.

lspci output:

00:00.0 RAM memory: nVidia Corporation Unknown device 0547 (rev a2)
00:01.0 ISA bridge: nVidia Corporation Unknown device 0548 (rev a2)
00:01.1 SMBus: nVidia Corporation Unknown device 0542 (rev a2)
00:01.2 RAM memory: nVidia Corporation Unknown device 0541 (rev a2)
00:01.3 Co-processor: nVidia Corporation Unknown device 0543 (rev a2)
00:02.0 USB Controller: nVidia Corporation Unknown device 055e (rev a2)
00:02.1 USB Controller: nVidia Corporation Unknown device 055f (rev a2)
00:04.0 USB Controller: nVidia Corporation Unknown device 055e (rev a2)
00:04.1 USB Controller: nVidia Corporation Unknown device 055f (rev a2)
00:06.0 IDE interface: nVidia Corporation Unknown device 0560 (rev a1)
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation Unknown device 0561 (rev a2)
00:09.0 IDE interface: nVidia Corporation Unknown device 0550 (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation Unknown device 054c (rev a2)
00:0c.0 PCI bridge: nVidia Corporation Unknown device 0563 (rev a2)
00:0d.0 PCI bridge: nVidia Corporation Unknown device 0563 (rev a2)
00:12.0 VGA compatible controller: nVidia Corporation Unknown device 0531 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
01:09.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
01:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
01:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
01:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
04:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02)

lsmod output

snd                    69288  13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              10272  1 snd
Comment 5 Thoralf Dassler 2008-01-18 04:14:13 UTC
Same here on Toshiba Satellite P200: speakers do not disengage when headset is plugged in. I am on 2.6.24-rc7, which has Intel HD Audio newly included.

(Had it fixed with 2.6.23.x and snd_hda_intel built externally. But even there, when I changed the volume, the speakers would engage again. To disengage, I had to unplug and replug the headset.) 

Relevant lspci:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Relevant lsmod:
snd_seq_dummy           2884  0
snd_seq_oss            26048  0
snd_seq_midi_event      5824  1 snd_seq_oss
snd_seq                40784  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6092  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            31584  0
snd_mixer_oss          12736  1 snd_pcm_oss
snd_hda_intel          46172  7
snd_pcm                54020  4 snd_pcm_oss,snd_hda_intel
snd                    38884  18 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
soundcore               5664  1 snd
snd_page_alloc          7368  2 snd_hda_intel,snd_pcm
Comment 6 Takashi Iwai 2008-01-18 04:18:13 UTC
The latter two cases are apparently different.  Don't mix up please.
Comment 7 Gustavo Padovan 2008-01-29 08:55:28 UTC
Now, with the kernel 2.6.24 my HDA Nvidia works fine! Bug solved.
Comment 8 Anthony Awtrey 2008-03-05 08:10:31 UTC
Howdy,

Got a Panasonic Toughbook CF-74 and CF-19 Mark II that have this issue running 2.6.24.2. Here is the CF-19 info:

# lsmod | grep snd
snd_hda_intel         272412  0
snd_pcm                72324  1 snd_hda_intel
snd_timer              21892  1 snd_pcm
snd_page_alloc         11016  2 snd_hda_intel,snd_pcm
snd_hwdep               9860  1 snd_hda_intel
snd                    49508  4 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore               8544  1 snd

# lspci -v -s 00:1b.0
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
        Subsystem: Matsushita Electric Industrial Co., Ltd. Unknown device 8338
        Flags: bus master, fast devsel, latency 0, IRQ 23
        Memory at fc904000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [70] Express Unknown type IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)

I'll be happy to run any patches or provide additional info if you need it.
Comment 9 Takashi Iwai 2008-03-06 09:05:16 UTC
Again, a different machine, a different codec, a different problem.

Try the latest 2.6.25-rc*.

I have a test patch for CF-74 that requires a GPIO setup for enabling speaker output, but apparently you seem not having this problem.  Anyway, the patches can be found on
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable-2.6.git

Note You need to log in before you can comment on or make changes to this bug.