openbouffalo / buildroot_bouffalo

Linux Image for the BL808 CPU by Bouffalo Lab
126 stars 33 forks source link

Support for on-chip audio DAC/ADC #26

Open luizete opened 1 year ago

luizete commented 1 year ago

Hi. I installed some Alsa packages, but looks like there is no playback device listed on Linux. speaker-test speaker-test 1.2.8 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default Playback open error: -2,No such file or directory

There is some audio driver files on the Linux Sdk: https://github.com/sipeed/M1s_BL808_Linux_SDK/tree/main/bl_mcu_sdk_bl808/drivers/bl808_driver/regs Sadly, I don't know what to do with it.

Fishwaldo commented 1 year ago

Unfortunately no one is currently (afaik) working on a any sound driver for Linux. So #helpwanted!