ALSA simple sound card on BB AI via mcasp (i2s)

14 views
Skip to first unread message

Joseph

unread,
Feb 11, 2020, 10:26:06 AM2/11/20
to BeagleBoard
Hello,
   Does the latest Linux image for BB AI have the kernel compiled with enabled option "Asoc simple sound card support"? I have some problems with loading driver for the section \{sound {compatible = "simple-audio-card";  ..., declared in dts file. How can I check that this option is enabled?
   Joseph

Hugo van den Brand

unread,
Feb 11, 2020, 1:10:57 PM2/11/20
to beagl...@googlegroups.com
Hi, 

You might be able to get it from /proc/config or/boot/config as described here: https://superuser.com/questions/287371/obtain-kernel-config-from-currently-running-linux-system
That should give the list of the options used when building the kernel.

I would download the kernel sources for the kernel you are running and look up the configuration item you are interested in the menu from make menuconfig. The help text mentions the specific kernel option that will be set. 

The following details you might not need but just for completeness:
The compatible fields are mentioned in the source code. So by a recursive grep (grep -r) you will find the source files for the driver that can be used for the hardware. You can then look at the Makefile and the Kconfig file in that directory. 
That should also give you the kernel option. 

Best wishes, 
Hugo

Op di 11 feb. 2020 16:25 schreef Joseph <jbpo...@gmail.com>:
Hello,
   Does the latest Linux image for BB AI have the kernel compiled with enabled option "Asoc simple sound card support"? I have some problems with loading driver for the section \{sound {compatible = "simple-audio-card";  ..., declared in dts file. How can I check that this option is enabled?
   Joseph

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/2c7559aa-1104-4626-ab91-7d5cd08bc294%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages