Hi,
since linux-3.9.0 (and until the very last stable 3.10.1) I can not use
sound on my lenovo thinkstation s20. On early system boot (I guess when
snd_hda_intel module gets loaded) I have a very annoying high pitched
noise and I have to turn off my speakers (I recorded a small video with
my phone:
https://dl.dropboxusercontent.com/u/2909401/fpirisp.snd_hda_intel.mp4 ).
As sound is not critical at all on this box, I had’nt bothered trying to
figure out what was the cause until recently.
I have googled quite a bit and haven’t been able to figure at all if
it’s a bug in the kernel or a configuration problem on my side.
So, as sound was working ok on 3.8.9 and it began failing on 3.9.0; git
bisect tells me that the first bad comit is this one:
| commit 352f7f914ebb8fe19f9b3f03e7767b04eedf5be3
| Author: Takashi Iwai <[email protected]>
| Date: Wed Dec 19 12:52:06 2012 +0100
|
| ALSA: hda - Merge Realtek parser code to generic parser
|
| Finally the whole generic parser code in Realtek driver is moved into
| hda_generic.c so that it can be used for generic codec driver.
| The old dumb generic driver is replaced. Yay.
|
| The future plan is to adapt this generic parser for other codecs,
| i.e. the codec driver calls the exported functions in generic driver
| but adds some codec-specific fixes and setups.
|
| As of this commit, the complete driver code is still duplicated in
| Realtek codec driver. The big code reduction will come from now on.
|
| Signed-off-by: Takashi Iwai <[email protected]>
|
| :040000 040000 2867443771a2186b8c7c34764980e6f6de3c9f76 d02bec8f7843d13101de888f21cfe172537b4534 M sound
Could anyone, please help me figure out what is the problem?
Following is some information about my system. Please, let me know if I
need to provide any additional information.
This is the output of lspci of my audio card(s):
| $ lspci | egrep -i "snd|sound|audio"
| 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
| 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
|
| $ sudo lspci -s 00:1b.0 -v ; sudo lspci -s 03:00.1 -v
| 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
| Subsystem: Lenovo Device 1022
| Flags: bus master, fast devsel, latency 0, IRQ 51
| Memory at f0400000 (64-bit, non-prefetchable) [size=16K]
| Capabilities: [50] Power Management version 2
| Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
| Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
| Capabilities: [100] Virtual Channel
| Capabilities: [130] Root Complex Link
| Kernel driver in use: snd_hda_intel
|
| 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
| Subsystem: Lenovo Device aa38
| Flags: bus master, fast devsel, latency 0, IRQ 53
| Memory at cfeec000 (64-bit, non-prefetchable) [size=16K]
| Capabilities: [50] Power Management version 3
| Capabilities: [58] Express Legacy Endpoint, MSI 00
| Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
| Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
| Kernel driver in use: snd_hda_intel
And I’m attaching my kernel config.
Thank you in advance.
--
Kiko
At Wed, 17 Jul 2013 12:17:42 +0200,
Kiko Piris wrote:
>
> Hi,
>
> since linux-3.9.0 (and until the very last stable 3.10.1) I can not use
> sound on my lenovo thinkstation s20. On early system boot (I guess when
> snd_hda_intel module gets loaded) I have a very annoying high pitched
> noise and I have to turn off my speakers (I recorded a small video with
> my phone:
> https://dl.dropboxusercontent.com/u/2909401/fpirisp.snd_hda_intel.mp4 ).
>
> As sound is not critical at all on this box, I had’nt bothered trying to
> figure out what was the cause until recently.
>
> I have googled quite a bit and haven’t been able to figure at all if
> it’s a bug in the kernel or a configuration problem on my side.
>
> So, as sound was working ok on 3.8.9 and it began failing on 3.9.0; git
> bisect tells me that the first bad comit is this one:
>
> | commit 352f7f914ebb8fe19f9b3f03e7767b04eedf5be3
> | Author: Takashi Iwai <[email protected]>
> | Date: Wed Dec 19 12:52:06 2012 +0100
> |
> | ALSA: hda - Merge Realtek parser code to generic parser
> |
> | Finally the whole generic parser code in Realtek driver is moved into
> | hda_generic.c so that it can be used for generic codec driver.
> | The old dumb generic driver is replaced. Yay.
> |
> | The future plan is to adapt this generic parser for other codecs,
> | i.e. the codec driver calls the exported functions in generic driver
> | but adds some codec-specific fixes and setups.
> |
> | As of this commit, the complete driver code is still duplicated in
> | Realtek codec driver. The big code reduction will come from now on.
> |
> | Signed-off-by: Takashi Iwai <[email protected]>
> |
> | :040000 040000 2867443771a2186b8c7c34764980e6f6de3c9f76 d02bec8f7843d13101de888f21cfe172537b4534 M sound
>
>
> Could anyone, please help me figure out what is the problem?
>
> Following is some information about my system. Please, let me know if I
> need to provide any additional information.
>
> This is the output of lspci of my audio card(s):
>
> | $ lspci | egrep -i "snd|sound|audio"
> | 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
> | 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
> |
> | $ sudo lspci -s 00:1b.0 -v ; sudo lspci -s 03:00.1 -v
> | 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
> | Subsystem: Lenovo Device 1022
> | Flags: bus master, fast devsel, latency 0, IRQ 51
> | Memory at f0400000 (64-bit, non-prefetchable) [size=16K]
> | Capabilities: [50] Power Management version 2
> | Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
> | Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> | Capabilities: [100] Virtual Channel
> | Capabilities: [130] Root Complex Link
> | Kernel driver in use: snd_hda_intel
> |
> | 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
> | Subsystem: Lenovo Device aa38
> | Flags: bus master, fast devsel, latency 0, IRQ 53
> | Memory at cfeec000 (64-bit, non-prefetchable) [size=16K]
> | Capabilities: [50] Power Management version 3
> | Capabilities: [58] Express Legacy Endpoint, MSI 00
> | Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
> | Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
> | Kernel driver in use: snd_hda_intel
>
> And I’m attaching my kernel config.
Could you give alsa-info.sh outputs on both working and non-working
kernels? This will give more detailed information.
Run alsa-info.sh with --no-upload option and attach the results.
thanks,
Takashi
On 17/07/2013 at 12:31 +0200, Takashi Iwai wrote:
> Could you give alsa-info.sh outputs on both working and non-working
> kernels? This will give more detailed information.
> Run alsa-info.sh with --no-upload option and attach the results.
Here they are.
Thanks!
--
Kiko
At Wed, 17 Jul 2013 12:47:51 +0200,
Kiko Piris wrote:
>
> On 17/07/2013 at 12:31 +0200, Takashi Iwai wrote:
>
> > Could you give alsa-info.sh outputs on both working and non-working
> > kernels? This will give more detailed information.
> > Run alsa-info.sh with --no-upload option and attach the results.
>
> Here they are.
Looks like CONFIG_SND_HDA_CODEC_ANALOG=y is missing.
Takashi
On Wed, Jul 17, 2013 at 1:51 PM, Takashi Iwai <[email protected]> wrote:
> Looks like CONFIG_SND_HDA_CODEC_ANALOG=y is missing.
That was it!!
At last I’ve got sound again!
Thank you very much for your help! Much appreciated.
Cheers!
--
Kiko