[alsa-devel] writing an alsa driver

Michele Curti michele.curti at gmail.com
Thu Jun 25 09:39:14 CEST 2015


On Thu, Jun 25, 2015 at 08:54:07AM +0530, Vinod Koul wrote:
> On Wed, Jun 24, 2015 at 08:21:20PM +0200, Michele Curti wrote:
> > > > There are a lot of errors about missing backend dai:
> > > > [    7.195570]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
> > > So in this driver we use DPCM, which means that you have to route Front End
> > > to a BackEnd and then only you can open a device. Without linking to BE it
> > > will fail
> > >
> > 
> > Yes, when Liam wrote about that I started to try to understand how to find the
> > right audio route/path, but I think it will take a while eheh :p
> > 
> > 
> > Thanks!  So for now I tried to blindy launch these commands (apart for the 
> > "Speaker L" and "Speaker R" controls, not present in the rt5645 codec) and 
> > I got about a minute freeze at every boot and some new errors:
> > 
> > [    2.700127] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 0 doesn't have DAPM widget!!!
> > [    2.700177] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 1 doesn't have DAPM widget!!!
> > [    2.700226] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 2 doesn't have DAPM widget!!!
> > [    2.700276] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 3 doesn't have DAPM widget!!!
> > [    2.700321] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in0_0 doesn't have DAPM widget!!!
> > [    2.700368] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in0_1 doesn't have DAPM widget!!!
> > [    2.700417] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in1_0 doesn't have DAPM widget!!!
> > [    2.700468] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in1_1 doesn't have DAPM widget!!!
> this is unexpected, I will check on this
> 
> > ...
> > [    7.970937] intel_sst_acpi 80860F28:00: Wait timed-out condition:0x0, msg_id:0x1 fw_state 0x3
> > [    7.970964] intel_sst_acpi 80860F28:00: fw returned err -16
> Yes this is a problem, which FW are you using
> 
> I am expecting you should be on
> http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/commit/intel?id=d562a3b636325e969d4fdf60ec5e418a510f3510

Yes, I confirm it's the firmware I'm using, I did a diff to be sure :)

Thanks,
Michele

> 
> > ...
> > [   53.538117]  Baytrail Audio Port: sst: error code = -22
> > [   53.541909] bytx205_rt5645 bytx205_rt5645: BUG: pcmC0D0p:0, pos = -22, buffer size = 203830, period size = 1199
> This is impact of FW timeout
> 
> -- 
> ~Vinod


More information about the Alsa-devel mailing list