[Sound-open-firmware] [External] Re: Whiskeylake support and kernel version

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Sep 12 15:53:23 CEST 2019


Hi Mark,

On 9/12/19 8:34 AM, Mark Pearson wrote:
> I just realized how useless my response was...a bit lacking in specifics
> 
> When running 'speaker-test -D hw:0,0 -c 2' I get "playback open error: -22 Invalid argument"

I always use -r 48000, maybe that helps

> And similarly with 'arecord -f dat -D hw:0,6 -d 5 test.wav' we get: " arecord: main:828: audio open error: Invalid argument"

It could also be that this is due to the format, IIRC for DMIC you need 
to use S32_LE. I think we added some checks recently, and we did change 
the device names to make them self-explanatory.

> These commands are all working on my cometlake based system (admittedly with the 5.3 kernel) and the devices  all show up with arecord/aplay.
> 
> Reviewing the dmesg (and I can attach the log if it's helpful) it starts off well but I noticed these messages:
> 	[    3.003833] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-5dd9a
> 	[    3.003834] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:7:0 Kernel ABI 3:6:0
> 	[    3.003835] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel
> 	[    3.005845] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:7:0 Kernel ABI 3:6:0
> 	[    3.005846] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel
> 
> Which makes me wonder if I should be using an older firmware/topology version? Any thoughts and where would I get 'compatible' versions to try out?
> 
> I also see further down still:
> 	[ 1116.759684] sof-audio-pci 0000:00:1f.3: error: volume get failed to idle -16
> 	[ 1209.452223] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
> 	[ 1212.452605] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
> 	[ 1212.452628] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
> 	[ 1212.452633] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
> 	[ 1212.452637] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware after resume -110
> 	[ 1212.452655] sof-audio-pci 0000:00:1f.3: error: pcm open failed to resume -22
> 	[ 1212.452658] sof-audio-pci 0000:00:1f.3: ASoC: can't open component 0000:00:1f.3: -22
> 	[ 1212.452662]  HDA Analog: ASoC: failed to start FE -22
> 
> But at this point I'm assuming it's all gone rather wrong.

I would try with the latest kernel (topic/sof-dev on GitHub) and 1.3 
firmware. We've done quite a few improvements for suspend/resume 
robustness and I am not sure they are all in 5.3. That error message was 
familiar a couple of months ago, I haven't seen it in a while. if it 
helps I can share the kernel config we use, you don't have to spend time 
recompiling useless stuff just to test audio. Also the autodetect for 
DMIC is not in 5.3, it was added later and is queued for 5.4

In terms of topologies, you probably want a recent version. Seppo added 
a filter to remove the DC component and boost the DMIC volume, the 
initial releases were 20dB too low. If this helps you can get the ones 
we tested at https://bugzilla.kernel.org/show_bug.cgi?id=201251, where 
DMIC issues were solved with others.

Soonish we will have packages and distros will be able to use stable 
releases and auto updates, please bear with the delays, the Summer has 
been quite busy.

-Pierre


More information about the Sound-open-firmware mailing list