[alsa-devel] [RFC PATCH] hda_intel: ratelimit "spurious response" message

Takashi Iwai tiwai at suse.de
Thu Nov 14 18:28:50 CET 2013


At Fri, 08 Nov 2013 20:41:34 -0800,
Joe Perches wrote:
> 
> (dropping lkml from cc's)
> 
> On Fri, 2013-11-08 at 11:59 +0100, Takashi Iwai wrote:
> > At Thu, 07 Nov 2013 12:28:18 -0800,
> > Joe Perches wrote:
> > > On Thu, 2013-11-07 at 21:23 +0100, Takashi Iwai wrote:
> > > > At Thu, 07 Nov 2013 11:55:15 -0800,
> > > > Joe Perches wrote:
> > > > > dmesg here has a 100+ consecutive lines of:
> > > > > [ 1464.219446] hda-intel 0000:00:14.2: spurious response 0x0:0x0, last cmd=0x170500
> > > > > [ 1464.219451] hda-intel 0000:00:14.2: spurious response 0x0:0x0, last cmd=0x170500
> > > > > [ 1464.219454] hda-intel 0000:00:14.2: spurious response 0x0:0x0, last cmd=0x170500
> > > > > ...
> > > > > Ratelimit the message to reduce the dmesg log noise.
> > > > > Coalesce the format while at it.
> > > > Thanks, applied.
> > > > BTW, which hardware shows this problem?
> > > > I'm interested rather in that...
> > > It's a little Acer netbook AO725
> > > # lspci -v -v -s0:14.2
> > > 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
> > > 	Subsystem: Acer Incorporated [ALI] Device 0740
> > Could you give alsa-info.sh output (maybe better to get it after
> > applying your patch)?  It'll show more comprehensive information.
> 
> upload=true&script=true&cardinfo=
> !!################################
> !!ALSA Information Script v 0.4.62
> !!################################
> 
> !!Script ran on: Sat Nov  9 04:36:16 UTC 2013
> 
> 
> !!Linux Distribution
> !!------------------
> 
> Ubuntu 13.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 13.10" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 13.10" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
> 
> 
> !!DMI Information
> !!---------------
> 
> Manufacturer:      Acer
> Product Name:      AO725
> Product Version:   V2.12
> Firmware Version:  V2.12
> 
> 
> !!Kernel Information
> !!------------------
> 
> Kernel release:    3.12.0
> Operating System:  GNU/Linux
> Architecture:      i686
> Processor:         athlon
> SMP Enabled:       Yes
> 
> 
> !!ALSA Version
> !!------------
> 
> Driver version:     k3.12.0
> Library version:    1.0.27.2
> Utilities version:  1.0.27.1
> 
> 
> !!Loaded ALSA modules
> !!-------------------
> 
> snd_hda_intel
> 
> 
> !!Sound Servers on this system
> !!----------------------------
> 
> Pulseaudio:
>       Installed - Yes (/usr/bin/pulseaudio)
>       Running - Yes
> 
> 
> !!Soundcards recognised by ALSA
> !!-----------------------------
> 
>  0 [Generic        ]: HDA-Intel - HD-Audio Generic
>                       HD-Audio Generic at 0xf0244000 irq 45
> 
> 
> !!PCI Soundcards installed in the system
> !!--------------------------------------
> 
> 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio
> 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
> 
> 
> !!Advanced information - PCI Vendor/Device/Subsystem ID's
> !!-------------------------------------------------------
> 
> 00:01.1 0403: 1002:1314
> 	Subsystem: 1025:0740
> --
> 00:14.2 0403: 1022:780d (rev 01)
> 	Subsystem: 1025:0740
> 
> 
> !!Modprobe options (Sound related)
> !!--------------------------------
> 
> snd_atiixp_modem: index=-2
> snd_intel8x0m: index=-2
> snd_via82xx_modem: index=-2
> snd_usb_audio: index=-2
> snd_usb_caiaq: index=-2
> snd_usb_ua101: index=-2
> snd_usb_us122l: index=-2
> snd_usb_usx2y: index=-2
> snd_cmipci: mpu_port=0x330 fm_port=0x388
> snd_pcsp: index=-2
> snd_usb_audio: index=-2
> 
> 
> !!Loaded sound module options
> !!---------------------------
> 
> !!Module: snd_hda_intel
> 	align_buffer_size : -1
> 	bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
> 	beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
> 	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
> 	enable_msi : -1
> 	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
> 	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
> 	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
> 	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
> 	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
> 	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
> 	power_save : 1
> 	power_save_controller : Y
> 	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
> 	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
> 	single_cmd : N
> 	snoop : Y
> 
> 
> !!HDA-Intel Codec information
> !!---------------------------
> --startcollapse--
> 
> Codec: ATI ID aa01

You didn't enable CONFIG_SND_HDA_CODEC_HDMI, right?
Build with it, at least.

> Address: 0
> AFG Function Id: 0x1 (unsol 0)
> Vendor Id: 0x1002aa01
> Subsystem Id: 0x00aa0100
> Revision Id: 0x100200
> No Modem Function Group found
> Default PCM:
>     rates [0x70]: 32000 44100 48000
>     bits [0x2]: 16
>     formats [0x1]: PCM
> Default Amp-In caps: N/A
> Default Amp-Out caps: N/A
> State of AFG node 0x01:
>   Power states:  D0 D3
>   Power: setting=D0, actual=D0
> GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
> Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
>   Control: name="IEC958 Playback Con Mask", index=0, device=0
>   Control: name="IEC958 Playback Pro Mask", index=0, device=0
>   Control: name="IEC958 Playback Default", index=0, device=0
>   Control: name="IEC958 Playback Switch", index=0, device=0
>   Device: name="ID aa01 Digital", type="HDMI", device=3
>   Converter: stream=0, channel=0
>   Digital: Enabled
>   Digital category: 0x0
>   IEC Coding Type: 0x0
> Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
>   Control: name="HDMI Jack", index=0, device=0
>   Pincap 0x00000094: OUT Detect HDMI
>   Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
>     Conn = Digital, Color = Unknown
>     DefAssociation = 0x1, Sequence = 0x0
>   Pin-ctls: 0x40: OUT
>   Unsolicited: tag=01, enabled=1
>   Connection: 1
>      0x02
> --endcollapse--

Hrm, the codec proc for the analog audio isn't seen here.
Maybe the codec communication was already screwed up at this point.

Can you have a good output by any chance (showing the right contents
of /proc/asound/card1/codec#*)?


Takashi


More information about the Alsa-devel mailing list