[alsa-devel] Baytrail init file for alsa-utils
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?
Or have any Intel folks already done that work?
I'll have a few more sound-related questions for that tablet, for which I could do with a few hints as to where to direct the questions/bug reports: - no jack sensing support (driver problem?) - left/right headphones output is inverted (another driver bug?) - HDMI audio is not detected (Intel video driver bug?)
Cheers
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.
Or have any Intel folks already done that work?
Jarkko has been working on Baytrail so best for him to answer.
I'll have a few more sound-related questions for that tablet, for which I could do with a few hints as to where to direct the questions/bug reports:
- no jack sensing support (driver problem?)
- left/right headphones output is inverted (another driver bug?)
- HDMI audio is not detected (Intel video driver bug?)
Liam
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
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?
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.
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
participants (3)
-
Bastien Nocera
-
Jarkko Nikula
-
Liam Girdwood