[alsa-devel] Baytrail init file for alsa-utils

Bastien Nocera hadess at hadess.net
Thu Nov 20 05:56:56 CET 2014


On Tue, 2014-11-18 at 14:41 +0200, Jarkko Nikula wrote:
> Hi
> 
> On 11/18/2014 02:05 PM, Bastien Nocera wrote:
> > On Mon, 2014-11-03 at 14:03 +0100, Bastien Nocera wrote:
> >> On Mon, 2014-11-03 at 11:11 +0000, Liam Girdwood wrote:
> >>> On Mon, 2014-11-03 at 10:51 +0100, Bastien Nocera wrote:
> >>>> Hey,
> >>>>
> >>>> I've done some work on the community generated "alsa state" file for
> >>>> Baytrail tablets, and shrunk it massively:
> >>>> https://github.com/AdamWill/baytrail-m/blob/master/alsa/t100_B.state
> >>>>
> >>>> Are there any tools, or hints as to how I might convert that to an
> >>>> "init" file that alsactl could run to set the default state of the
> >>>> mixer?
> >>>
> >>> "alsactl store" should write it to the correct system directory.
> >>
> >> alsactl store doesn't use a format similar to the files installed
> >> in /usr/lib/alsa/init though, which is what I'm looking for.
> >>
> >>>> Or have any Intel folks already done that work?
> >>>>
> >>>
> >>> Jarkko has been working on Baytrail so best for him to answer.
> >>
> >> OK, thanks
> >
> > Jarkko?
> >
> Ah, sorry. No I have used just the alsamixer and alsactl.

Could you answer this couple of questions though?

* Is this trimmed down ALSA init state correct, can we trim more?
https://github.com/AdamWill/baytrail-m/blob/master/alsa/t100_B.state
If you have access to more hardware than me, I would appreciate if you
could test it so I can be sure I didn't break anything, before writing
the init file for alsactl.

* Jack sensing doesn't seem to work, though I can switch manually to the
headphones and Headphones Left and Right are inverted.

Are those hardware issues (that could be quirked in the driver), driver
issues or configuration issues?

Cheers



More information about the Alsa-devel mailing list