[karmic regression] jack sensing doesn't trigger toggle of Headphone/Speaker automatically upon insertion/removal 8086:284b Codec Analog Devices AD1984

Bug #410769 reported by Krzysztof Klimonda
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Daniel T Chen
pulseaudio (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I can switch between headphones and internal speakers easily by using pavucontrol but when I connect headphones switch isn't done completely or to be more exact speakers are muted but headphones jack isn't unmuted - the same happens other way when I disconnect headphones.

ProblemType: Bug
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kklimonda 3589 F.... pulseaudio
 /dev/snd/pcmC0D0p: kklimonda 3589 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe220000 irq 17'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,17aa20d7,00100400'
   Controls : 29
   Simple ctrls : 18
Date: Sat Aug 8 19:02:50 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu4
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB.UTF-8
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic-pae
SourcePackage: alsa-driver
Uname: Linux 2.6.31-5-generic-pae i686

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :
Daniel T Chen (crimsun)
affects: alsa-driver (Ubuntu) → linux (Ubuntu)
summary: - Cant switch automatically between internal speakers and headphones
+ jack sensing doesn't trigger toggle of Headphone/Speaker automatically
+ upon insertion/removal
summary: - jack sensing doesn't trigger toggle of Headphone/Speaker automatically
- upon insertion/removal
+ [karmic regression] jack sensing doesn't trigger toggle of
+ Headphone/Speaker automatically upon insertion/removal
Andy Whitcroft (apw)
tags: added: regression-potential
Revision history for this message
Andy Whitcroft (apw) wrote : Re: [karmic regression] jack sensing doesn't trigger toggle of Headphone/Speaker automatically upon insertion/removal

This appears to be a codec specific failure, as I have working headphone detection on the 2.6.31-5.24 kernel, this is with a HDA ALC272 codec.

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

Found, fixed, will push to my git tree in a bit.

Changed in linux (Ubuntu):
assignee: nobody → Daniel T Chen (crimsun)
status: New → In Progress
Revision history for this message
Krzysztof Klinikowski (kkszysiu) wrote :

God bless you ^^

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote : apport-collect data

Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kklimonda 4109 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe220000 irq 17'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,17aa20d7,00100400'
   Controls : 29
   Simple ctrls : 18
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=26da969b-fb11-49f0-a5aa-23a3f795ac67
MachineType: LENOVO 766315G
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-6-generic-pae root=UUID=d89fe26d-1520-46bc-bece-163d48827f90 ro crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-6.25-generic-pae
RelatedPackageVersions: linux-firmware 1.15
Uname: Linux 2.6.31-6-generic-pae i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 11/14/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETC5WW (2.25 )
dmi.board.name: 766315G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7LETC5WW(2.25):bd11/14/2008:svnLENOVO:pn766315G:pvrThinkPadT61:rvnLENOVO:rn766315G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766315G
dmi.product.version: ThinkPad T61
dmi.sys.vendor: LENOVO

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

@Daniel: I have compiled kernel from your git repository - commit 9818bf47c7e0d7851e608390ede218b7a76ee359 and it doesn't work.
First after I have booted new kernel pulseaudio sound applet was displaying that my sound card supports only Digital Stereo Output and Audio Stereo Input. I got no sound at all - neither from speakers nor from HPs.
Then I've decided to kill pulseaudio (autospawn = no in ~/.pulse/client.conf, killall pulseaudio lsof /dev/snd/* to be sure) and everything started working when I was using alsa. I got sound and fully working jack sensing.
At last I have switched pulseaudio back on to prepare a report and after I started pulseaudio everything went back to normal - i.e. sound working but no full jack sensing on BOTH pulseaudio and alsa.
I've tried to send an apport-collect report then and lost connection to the internet (router's fault). I have removed partially uploaded apport-collect report for now.

summary: [karmic regression] jack sensing doesn't trigger toggle of
- Headphone/Speaker automatically upon insertion/removal
+ Headphone/Speaker automatically upon insertion/removal 8086:284b Codec
+ Analog Devices AD1984
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Andres Mujica (andres.mujica) wrote :

I believe this could be a higher level issue. e.g. Pulse Audio

with pavucontrol, output devices, there's a port: selection list giving Analog Output, Analog Headphones as options.

Some new bugs are being reported with the same symptom, same pci id different codec.

Revision history for this message
Andres Mujica (andres.mujica) wrote :

err. forgot to say, selecting analog headphones you get audio output via headphones

Revision history for this message
Andres Mujica (andres.mujica) wrote :

the only difference with bug #412807 is codec, so i'm leaving them apart for the moment.

Revision history for this message
beudbeud (beudbeud) wrote :

i have a same bugs

lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #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.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (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)
01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400M GS] (rev a1)
06:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:05.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
08:05.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
08:05.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)

Revision history for this message
Andres Mujica (andres.mujica) wrote :

must be solved with

pulseaudio (1:0.9.16~test5-0ubuntu2) karmic; urgency=low

  [ Daniel T Chen ]
  * debian/patches/0051-leave-hp-enabled.patch: Leave
    headphones enabled in the default analog mixer profiles

In case that you still experience this issue after update, please let us now

Changed in linux (Ubuntu):
status: In Progress → Invalid
Changed in pulseaudio (Ubuntu):
status: New → Fix Released
Revision history for this message
autostatic (autostatic) wrote :

My notebook (DV7-1070ED) still has this issue with Karmic Koala.

pulseaudio --version
pulseaudio 0.9.19

lspci | grep -i audio && aplay -l && cat /proc/asound/card*/codec* | grep -i codec
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Codec: IDT 92HD71B7X
Codec: Nvidia MCP78 HDMI

cat /etc/modprobe.d/alsa-base.conf | grep -i snd-hda-intel
options snd-hda-intel power_save=10 power_save_controller=N
options snd-hda-intel model=hp-dv5

uname -a
Linux soushi 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 410769] Re: [karmic regression] jack sensing doesn't trigger toggle of Headphone/Speaker automatically upon insertion/removal 8086:284b Codec Analog Devices AD1984

@AutoStatic Yours isn't a PA issue; please remove the model quirk from
/etc/modprobe.d/alsa-base.conf, install
linux-backports-modules-alsa-karmic-generic, and reboot.

Revision history for this message
autostatic (autostatic) wrote :

Will do, thanks for the prompt reply!

Revision history for this message
autostatic (autostatic) wrote :

Did so and jack sensing now works. Thanks!

Best,

Jeremy

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.