Basically: alsactl -f downloaded/asound.state.txt restore 1 (where 1 is the number of the ALSA device) should set the settings required so audio works.
- Speakers are working
- Headset is working (detection does not work)
- Internal mic is working
- the rest is still untested (headset microphone)
Now that it works, what do we need to get this shipped?
A solution was found at GitHub https:/ /github. com/GalliumOS/ galliumos- distro/ issues/ 317#issuecommen t-322658720 to make the sound work on CYAN hardware. I tested for my computer and it works.
Basically there is a patch needed to the kernel, sound codec ts3a227e and intel board cht_bsw_ max98090_ ti:
https:/ /github. com/GalliumOS/ galliumos- distro/ files/1226989/ cyan-audio- driver- fix.patch. txt
(basically there should be nothing new here compared to other patchs posted here previously)
Then ALSA UCM files from ChromiumOS tree should be used:
https:/ /chromium. googlesource. com/chromiumos/ third_party/ adhd/+/ master/ ucm-config/ cyan/chtmax9809 0
They should be put in /usr/share/ alsa/ucm/ chtmax98090/
A patch is needed in the UCM files:
https:/ /github. com/GalliumOS/ galliumos- distro/ files/1226991/ ucm-mod- to-enable- audio.patch. txt
Then, the hardware is recognized but audio doesn't work. Tweaking the ALSA settings makes it work.
Here:
https:/ /github. com/GalliumOS/ galliumos- distro/ issues/ 317#issuecommen t-323477943
There is a asound.state file to download to set the mixer settings of the audio card to the correct settings so audio works:
https:/ /github. com/GalliumOS/ galliumos- distro/ files/1235825/ asound. state.txt
Basically: alsactl -f downloaded/ asound. state.txt restore 1 (where 1 is the number of the ALSA device) should set the settings required so audio works.
- Speakers are working
- Headset is working (detection does not work)
- Internal mic is working
- the rest is still untested (headset microphone)
Now that it works, what do we need to get this shipped?