Bug 744507

Summary: No headphones (but wait - they worked in 2.6.36.8-35 - but not since)
Product: [Fedora] Fedora Reporter: Phill <melbcycle>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: gansalmon, itamar, jforbes, jonathan, kernel-maint, madhu.chinakonda, pigetak178, souzace, t.hlavnicka
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-14 16:14:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Phill 2011-10-09 06:15:58 UTC
Description of problem:

No sound from front headphones.
Last worked in 2.6.38.8-35.fc15.x86_64

I downloaded the sources of both 2.6.38.8-35.fc15.x86_64 and 2.6.40.6-0.fc15.x86_64. Looking at ./sound/pci/hda/hda_codec.c, seems to be lots of changes. The patches, however, look much the same.

Version-Release number of selected component (if applicable):

Last kernel update 2.6.40.6-0.fc15.x86_64

How reproducible:
Always


Steps to Reproduce:
1. Boot
2.
3.
  
Actual results:
No headphone sound

Expected results:
headphone sound

Additional info:
Don't know if this helps.

Motherboard:
http://www.ecs.com.tw/ECSWebSite/Product/Product_Detail.aspx?DetailId=1211&DetailName=Feature&MenuID=1&CategoryID=-1&LanID=0

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05)
02:00.0 USB Controller: Device 1b6f:7023 (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

dmesg 2.6.38.8-35:
<<<<<<<<<<<<< snip >>>>>>>>>>>>>>>>
[    9.095025] ALSA sound/pci/hda/patch_realtek.c:1528: SKU: Nid=0x1d sku_cfg=0x4005e601
[    9.095028] ALSA sound/pci/hda/patch_realtek.c:1530: SKU: port_connectivity=0x1
[    9.095030] ALSA sound/pci/hda/patch_realtek.c:1531: SKU: enable_pcbeep=0x0
[    9.095032] ALSA sound/pci/hda/patch_realtek.c:1532: SKU: check_sum=0x00000005
[    9.095033] ALSA sound/pci/hda/patch_realtek.c:1533: SKU: customization=0x000000e6
[    9.095035] ALSA sound/pci/hda/patch_realtek.c:1534: SKU: external_amp=0x0
[    9.095037] ALSA sound/pci/hda/patch_realtek.c:1535: SKU: platform_type=0x0
[    9.095038] ALSA sound/pci/hda/patch_realtek.c:1536: SKU: swap=0x0
[    9.095040] ALSA sound/pci/hda/patch_realtek.c:1537: SKU: override=0x1
[    9.095213] hda_codec: ALC892: BIOS auto-probing.
[    9.095217] ALSA sound/pci/hda/hda_codec.c:4633: autoconfig: line_outs=3 (0x14/0x15/0x16/0x0/0x0)
[    9.095220] ALSA sound/pci/hda/hda_codec.c:4637:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    9.095222] ALSA sound/pci/hda/hda_codec.c:4641:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    9.095224] ALSA sound/pci/hda/hda_codec.c:4642:    mono: mono_out=0x0
[    9.095225] ALSA sound/pci/hda/hda_codec.c:4645:    dig-out=0x11/0x0
[    9.095227] ALSA sound/pci/hda/hda_codec.c:4646:    inputs:
[    9.095228] ALSA sound/pci/hda/hda_codec.c:4652:
[    9.096949] ALSA sound/pci/hda/patch_realtek.c:1585: realtek: No valid SSID, checking pincfg 0x4005e601 for NID 0x1d
[    9.096951] ALSA sound/pci/hda/patch_realtek.c:1601: realtek: Enabling init ASM_ID=0xe601 CODEC_ID=10ec0892
[    9.446469] alsactl[796]: Found hardware: "HDA-Intel" "Intel CougarPoint HDMI" "HDA:10ec0892,10193172,00100302 HDA:80862805,80862805,00100000" "0x1019" "0x3172"
[    9.446477] alsactl[796]: Hardware is initialized using a generic method
[    9.446754] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #1 (No such file or directory)
[    9.446764] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #2 (No such file or directory)
[    9.446773] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #3 (No such file or directory)
[    9.446782] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #4 (No such file or directory)
[    9.446791] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #5 (No such file or directory)
[    9.446800] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #6 (No such file or directory)
[    9.446809] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #7 (No such file or directory)
[    9.446814] alsactl[796]: /sbin/alsactl: set_control:1267: failed to obtain info for control #8 (No such file or directory)
<<<<<<<<<<<<< snip >>>>>>>>>>>>>>>>

and for 2.6.40.6-0
<<<<<<<<<<<<< snip >>>>>>>>>>>>>>>>
[    9.696306] ALSA sound/pci/hda/patch_realtek.c:1752 SKU: Nid=0x1d sku_cfg=0x4005e601
[    9.696310] ALSA sound/pci/hda/patch_realtek.c:1754 SKU: port_connectivity=0x1
[    9.696312] ALSA sound/pci/hda/patch_realtek.c:1755 SKU: enable_pcbeep=0x0
[    9.696314] ALSA sound/pci/hda/patch_realtek.c:1756 SKU: check_sum=0x00000005
[    9.696317] ALSA sound/pci/hda/patch_realtek.c:1757 SKU: customization=0x000000e6
[    9.696319] ALSA sound/pci/hda/patch_realtek.c:1758 SKU: external_amp=0x0
[    9.696321] ALSA sound/pci/hda/patch_realtek.c:1759 SKU: platform_type=0x0
[    9.696323] ALSA sound/pci/hda/patch_realtek.c:1760 SKU: swap=0x0
[    9.696325] ALSA sound/pci/hda/patch_realtek.c:1761 SKU: override=0x1
[    9.696505] hda_codec: ALC892: BIOS auto-probing.
[    9.697425] ALSA sound/pci/hda/hda_codec.c:4707 autoconfig: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    9.697427] ALSA sound/pci/hda/hda_codec.c:4711    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    9.697429] ALSA sound/pci/hda/hda_codec.c:4715    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    9.697430] ALSA sound/pci/hda/hda_codec.c:4716    mono: mono_out=0x0
[    9.697432] ALSA sound/pci/hda/hda_codec.c:4719    dig-out=0x11/0x0
[    9.697433] ALSA sound/pci/hda/hda_codec.c:4720    inputs:
[    9.697435] ALSA sound/pci/hda/hda_codec.c:4724  Rear Mic=0x18
[    9.697436] ALSA sound/pci/hda/hda_codec.c:4724  Front Mic=0x19
[    9.697438] ALSA sound/pci/hda/hda_codec.c:4724  Line=0x1a
[    9.697439] ALSA sound/pci/hda/hda_codec.c:4726
[    9.698561] ALSA sound/pci/hda/patch_realtek.c:1809 realtek: No valid SSID, checking pincfg 0x4005e601 for NID 0x1d
[    9.698563] ALSA sound/pci/hda/patch_realtek.c:1825 realtek: Enabling init ASM_ID=0xe601 CODEC_ID=10ec0892
[    9.783875] HDMI status: Pin=7 Presence_Detect=0 ELD_Valid=0
[    9.788588] input: HDA Intel PCH HDMI/DP as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
[   10.186002] hci_cmd_timer: hci0 command tx timeout
[   10.296837] alsactl[823]: Found hardware: "HDA-Intel" "Intel CougarPoint HDMI" "HDA:10ec0892,10193172,00100302 HDA:80862805,80862805,00100000" "0x1019" "0x3172"
[   10.298887] alsactl[823]: Hardware is initialized using a generic method
[   10.299831] alsactl[823]: /sbin/alsactl: set_control:1267: failed to obtain info for control #3 (No such file or directory)
[   10.300967] alsactl[823]: /sbin/alsactl: set_control:1267: failed to obtain info for control #4 (No such file or directory)
[   10.302129] alsactl[823]: /sbin/alsactl: set_control:1267: failed to obtain info for control #5 (No such file or directory)
[   10.302134] alsactl[823]: /sbin/alsactl: set_control:1267: failed to obtain info for control #6 (No such file or directory)
<<<<<<<<<<<<< snip >>>>>>>>>>>>>>>>

Comment 1 Josh Boyer 2011-10-13 19:36:43 UTC
There are a number of changes to the 3.1 kernel in the hda and realtek_patch files.  Would it be possible for you to boot the F16 Beta live image and see if sound functions in the headphones?

If so, we might be able to narrow down which commits fix the issue.

Comment 2 Solitary 2011-10-15 19:18:56 UTC
Probably the same bug, after upgrading to 2.6.40.6-0.fc15.x86_64 my sound stopped working (not just front output, all of them). But in 2.6.40.4-5.fc15.x86_64 sound still works. 

My motherboard is Asus P8Z68V-PRO, so its the same socket and hardware.

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)

Comment 3 Solitary 2011-10-15 20:38:20 UTC
Ok, I take back some things I wrote just before... front output is actually working with 2.6.40.6-0.fc15.x86_64, rear outputs are not (I have connected 5.1 set back there, stereo out front).

I just tested Fedora 16 Beta live, sound seems to be working fine both ways.

Comment 4 Chuck Ebbert 2011-10-18 04:15:39 UTC
(In reply to comment #3)
> I just tested Fedora 16 Beta live, sound seems to be working fine both ways.

Is it okay if we close this as fixed in F16?

Comment 5 Chuck Ebbert 2011-11-29 08:58:38 UTC
The 2.6.41 update for F15 is the same kernel as the 3.1 kernel in F16, so closing this bug.

Comment 6 Phill 2011-11-29 12:55:40 UTC
If the 2.6.41 update for F15 is the same kernel as the 3.1 kernel in F16 then the bug is still present.

I updated to the latest 2.6.41 in F15 and my headphones stopped working. Reverted to 2.6.38.8-35 to get them working again.

Phill.

Comment 7 Solitary 2012-02-15 14:19:03 UTC
With kernel 2.6.42.3-2.fc15.x86_64 problem still persists. 2.6.40.4-5.fc15.x86_64 still remains as latest working kernel (anything newer is broken). Test with F16 Beta live which I did before is not reliable as I probably tested it wrong (or with wrong kernel) Reason is that I didn't have the behavior of bug (and kernel versions) nailed yet.

Front stereo output is still mute. Back output is partially working -> some range of volume is working, but volume up or down from that range means that sound is broken (some sort of high frequency beeping instead of proper sound)

Comment 8 pigetak178 2012-02-17 22:07:11 UTC
Me also.  Front audio not working at all.  This is bad.  Need audio/mic for work.

kernel-2.6.42.3-2.fc15.x86_64

What can we share to get this fixed SOON?

Comment 9 pigetak178 2012-02-17 22:25:24 UTC
Some diffs I see:

2.6.42.3-2:(not working)

Feb 17 17:00:46 localhost kernel: [   13.939483] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
Feb 17 17:00:46 localhost kernel: [   14.306574] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Feb 17 17:00:46 localhost kernel: [   14.463071] hda_codec: ALC662 rev1: SKU not ready 0x411111f0
Feb 17 17:00:46 localhost kernel: [   15.470672] HDMI status: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=0
Feb 17 17:00:46 localhost kernel: [   15.470810] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
Feb 17 17:00:46 localhost kernel: [   15.471454] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6

2.6.41.10-3 (working):

Feb 17 17:02:39 localhost kernel: [   26.337491] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
Feb 17 17:02:39 localhost kernel: [   26.381872] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Feb 17 17:02:39 localhost kernel: [   26.883746] hda_codec: ALC662 rev1: SKU not ready 0x411111f0
Feb 17 17:02:39 localhost kernel: [   26.883910] hda_codec: ALC662 rev1: BIOS auto-probing.
Feb 17 17:02:39 localhost kernel: [   26.894666] HDMI status: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=0
Feb 17 17:02:39 localhost kernel: [   26.899206] input: HDA Intel PCH HDMI/DP as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
Feb 17 17:02:39 localhost kernel: [   26.899265] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6

Comment 10 Phill 2012-02-18 04:19:30 UTC
Finally got to try out FC16.

kernel is 3.2.2-1.fc16.i686

Same issue. Sound from rear connector, but no sound from from headphones.

Phill.

Comment 11 pigetak178 2012-02-25 11:45:23 UTC
Still broken on new kernel:kernel-2.6.42.7-1.fc15.x86_64

No rear, no front.  WTF?

Comment 12 Phill 2012-03-22 08:04:22 UTC
Linux phillb.home 2.6.42.9-2.fc15.x86_64 #1 SMP Mon Mar 5 20:55:32 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

No sound of any description from any port now. It seems to be getting worse.

On the bright side, someone is working on the code so that's good.

Cheers and good luck.

Phill.

Comment 13 pigetak178 2012-03-22 13:23:08 UTC
In my case I have found that the PulseAudio controls under the new kernel had everything muted.  Try adjusting the volume and states after booting the new kernel.

Comment 14 Phill 2012-03-22 20:17:44 UTC
That fixed it.

I now have sound from the speakers. Still no headphones though.

(Doh, brain the size of planet and I didn't see the mute!)

thanks

Comment 15 pigetak178 2012-03-22 21:51:44 UTC
(In reply to comment #14)
> That fixed it.
> 
> I now have sound from the speakers. Still no headphones though.
> 
> (Doh, brain the size of planet and I didn't see the mute!)
> 
> thanks

But what confused me was why just changing the kernel back and forth made the difference.  Same user level code, just the kernel.  Sound, no sound.  Then on a different thread entirely (I think in an Ubuntu forum) to check PulseAudio.

Comment 16 Josh Boyer 2012-06-07 14:51:17 UTC
Is this still seen with 2.6.43/3.3?

Comment 17 Phill 2012-06-08 23:58:46 UTC
Yes the issue still persists. No sound from the from headphone connector. The fron mic works though.

Phill.

Comment 18 Josh Boyer 2012-06-09 13:38:37 UTC
(In reply to comment #17)
> Yes the issue still persists. No sound from the from headphone connector.
> The fron mic works though.

I'm guessing you mean 3.3 based on your previous comments.

Comment 19 Phill 2012-06-12 02:45:45 UTC
Hi Josh,

Linux mypc.home 2.6.43.5-2.fc15.x86_64 #1 SMP Tue May 8 11:09:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Hope this helps.
Phill

Comment 20 Solitary 2012-06-16 01:44:14 UTC
Has anybody tried Fedora 17 and kernel 3.4 ? Any changes?

Comment 21 Fabio Souza 2012-06-27 11:22:53 UTC
I have the some problem in 16 and 17 (3.4.3-1.fc17.x86_64)

Comment 22 Dave Jones 2012-10-23 15:37:08 UTC
# Mass update to all open bugs.

Kernel 3.6.2-1.fc16 has just been pushed to updates.
This update is a significant rebase from the previous version.

Please retest with this kernel, and let us know if your problem has been fixed.

In the event that you have upgraded to a newer release and the bug you reported
is still present, please change the version field to the newest release you have
encountered the issue with.  Before doing so, please ensure you are testing the
latest kernel update in that release and attach any new and relevant information
you may have gathered.

If you are not the original bug reporter and you still experience this bug,
please file a new report, as it is possible that you may be seeing a
different problem. 
(Please don't clone this bug, a fresh bug referencing this bug in the comment is sufficient).

Comment 23 Justin M. Forbes 2012-11-14 16:14:03 UTC
With no response, we are closing this bug under the assumption that it is no longer an issue. If you still experience this bug, please feel free to reopen the bug report.