diff mbox

[OpenWrt-Devel] modules/sound: enable ALSA PCM timer and procfs interface

Message ID 20160316130124.GA18534@makrotopia.org
State Changes Requested
Headers show

Commit Message

Daniel Golle March 16, 2016, 1:02 p.m. UTC
pcm-timer and /proc/asound/* is needed for basic things (e.g. aplay).
Without those two symbols set, only OSS emulation works.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 package/kernel/linux/modules/sound.mk | 2 ++
 1 file changed, 2 insertions(+)

Comments

John Crispin March 20, 2016, 2:39 p.m. UTC | #1
On 16/03/2016 14:02, Daniel Golle wrote:
> pcm-timer and /proc/asound/* is needed for basic things (e.g. aplay).
> Without those two symbols set, only OSS emulation works.
> 

are you certain ? i am sure i tried alsa 3-4 months ago and aplay worked
even without this fix. i dont mind adding the patch, however i want ot
make sure the description is correct.

	John

> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
> ---
>  package/kernel/linux/modules/sound.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
> index d09cf21..9f6923b 100644
> --- a/package/kernel/linux/modules/sound.mk
> +++ b/package/kernel/linux/modules/sound.mk
> @@ -49,6 +49,8 @@ define KernelPackage/sound-core
>  	CONFIG_SND_RAWMIDI \
>  	CONFIG_SND_TIMER \
>  	CONFIG_SND_PCM \
> +	CONFIG_SND_PCM_TIMER=y \
> +	CONFIG_SND_PROC_FS=y \
>  	CONFIG_SND_SEQUENCER \
>  	CONFIG_SND_VIRMIDI \
>  	CONFIG_SND_SEQ_DUMMY \
>
diff mbox

Patch

diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index d09cf21..9f6923b 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -49,6 +49,8 @@  define KernelPackage/sound-core
 	CONFIG_SND_RAWMIDI \
 	CONFIG_SND_TIMER \
 	CONFIG_SND_PCM \
+	CONFIG_SND_PCM_TIMER=y \
+	CONFIG_SND_PROC_FS=y \
 	CONFIG_SND_SEQUENCER \
 	CONFIG_SND_VIRMIDI \
 	CONFIG_SND_SEQ_DUMMY \