I installed Batocera on my Chromebook because I had no use for the ChromeOS that was on it.
I am able to get audio through its HDMI port, but I am unable to get its speakers working for some reason.
Below are my audio playback devices. I see that in my dmesg there are no errors from what I can tell about my audio devices. I heard audio when I was in the settings menu CTRL+ALT+F4 editing some settings for my chtmax98090 device, which seems to be the audio device for speakers and the headphone jack.
I enabled every single setting in there, but I still get no audio from the laptop speakers. Not sure what really else to do because I have created the audio config file: /userdata/system/.asoundrc with the below wget command.
wget -O /userdata/system/.asoundrc https://www.batocera.org/users/lbrpdx/asoundrc
At the very least HDMI 0 works when I am running the Chromebook on my TV over HDMI, but I really wish I could get the built-in speakers working.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: chtmax98090 [chtmax98090], device 0: Audio () []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: chtmax98090 [chtmax98090], device 1: Deep-Buffer Audio () []
Subdevices: 1/1
Subdevice #0: subdevice #0
I tried all the combinations of card # and device #. 0,3 0,7 1,0 1,1 and nothing works. In the /userdata/system/.asoundrc file below on my machine.
vi /userdata/system/.asoundrc
pcm.!default {
type plug
slave.pcm “dmixer”
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm “hw:0,3”
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.!default { type hw card 0 }