question about ALSA devices not showing up in buildroot build
Pavel Hofman
pavel.hofman at ivitera.com
Tue Feb 2 19:57:14 CET 2021
Dne 02. 02. 21 v 19:32 Bert Schiettecatte napsal(a):
> Hi Pavel
>> Do you have the /usr/share/alsa configs?
>
> [root at rockchip:/usr/share/alsa]# ls -las
> 1 drwxr-xr-x 6 root root 1024 Dec 21 2020 .
> 1 drwxr-xr-x 24 root root 1024 Jan 23 2021 ..
> 10 -rw-r--r-- 1 root root 9876 Dec 21 2020 alsa.conf
> 2 drwxr-xr-x 2 root root 2048 Dec 21 2020 cards
> 1 drwxr-xr-x 2 root root 1024 Dec 21 2020 init
> 1 drwxr-xr-x 2 root root 1024 Dec 21 2020 pcm
> 1 drwxr-xr-x 2 root root 1024 Dec 21 2020 speaker-test
> [root at rockchip:/usr/share/alsa]#
>
Sometimes strace has been of help to me, to see which file is being
tried to open:
strace aplay -L 2>&1 | grep 'open('
The PCM devices are defined in the pcm/ and cards/ configs, with help of
/usr/share/alsa/cards/aliases.conf . Maybe for your new driver no config
is being used, but I think even an unknown card should have the very
basic PCM devices defined.
Pavel.
More information about the Alsa-devel
mailing list