[alsa-devel] WM5102 - Help to make baytrail machine driver work

Paulo Sergio pstglia at gmail.com
Tue May 9 16:45:52 CEST 2017


>>> How are you setting up the I2S? As in which side is master, what
>>> format are you using? Also do you see any over/underflow error,
>>> does the system complain with "Error playing sample".
>>
>>
>> The only part where I2S is explicity used on machine driver is this
>> setting on backend DAI (SSP0-Codec)
>>
>> dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
>> | SND_SOC_DAIFMT_CBS_CFS,
>>
>> And after setting the routes using routes mentioned on [3], I have no
>> errors, but no sound
>>
>> Note: Based on Lenovo code, I concluded this device uses ssp0, so I'm
>> using a fw file "fw_sst_0f28_ssp0.bin" posted another thread.
>> Could use the hacks used on kernel 4.11, but as I'm still testing with
>> kernel 4.4, using this fw would make things easier
>
>
> nope. I don't know how many issues we've fixed since 4.4 but it's not a
> matter of just swapping out one firmware with another. You'll have better
> luck with plain vanilla 4.11 + regular firmware and restarting modifying one
> of the latest machine drivers.

Ok, I'll use 4.11 and post the results later

Should I have any special care about I2S other than setting the format
um backend DAI?
Some module should be loaded?

Regards
Pstglia


More information about the Alsa-devel mailing list