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
Quoted 9 lines · Bastien Nocera
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.stateAre 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.
Quoted 3 lines
Or have any Intel folks already done that work?
Jarkko has been working on Baytrail so best for him to answer.
Quoted 7 lines
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
Quoted 7 lines · Liam Girdwood
Quoted 6 lines · Bastien Nocera
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
Quoted 5 lines
Quoted 3 lines
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.
Quoted 4 lines
Quoted 2 lines
Or have any Intel folks already done that work?
Jarkko has been working on Baytrail so best for him to answer.
OK, thanks
Quoted 17 lines · Bastien Nocera
Quoted 7 lines · Liam Girdwood
Quoted 6 lines · Bastien Nocera
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.stateQuoted 5 lines
Quoted 3 lines
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/initthough, which is what I'm looking for.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
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
Quoted 18 lines · Bastien Nocera
Quoted 17 lines · Bastien Nocera
Quoted 7 lines · Liam Girdwood
Quoted 6 lines · Bastien Nocera
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.stateQuoted 5 lines
Quoted 3 lines
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/initthough, which is what I'm looking for.
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
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.
Signature · 9 lines
Jarkko --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Quoted 24 lines · Jarkko Nikula
Hi
Quoted 21 lines · Bastien Nocera
Quoted 20 lines · Bastien Nocera
Quoted 7 lines · Liam Girdwood
Quoted 6 lines · Bastien Nocera
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.stateQuoted 5 lines
Quoted 3 lines
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/initthough, which is what I'm looking for.Quoted 3 lines
Quoted 2 lines
Or have any Intel folks already done that work?
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
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