From 2ab6aaca4dfe1265006dae3f3cd0fd838f9bf2af Mon Sep 17 00:00:00 2001 From: Dmitry Sutyagin Date: Sat, 5 Nov 2016 13:54:12 -0700 Subject: [PATCH] kernel: add SND_PCM_TIMER to kmod-sound-core FS#256 Fix audio not working due to unset SND_PCM_TIMER. CONFIG_SND_PCM_TIMER is required for ALSA to work (at least for some audio devices), otherwise applications using sound may fail. Can be reproduced by installing "alsa-utils-tests" and running "speaker-test": ... ALSA lib pcm_direct.c:1159:(snd1_pcm_direct_initialize_poll_fd) unable to open timer 'hw:CLASS=3,SCLASS=0,CARD=0,DEV=0,SUBDEV=0' ALSA lib pcm_dmix.c:1106:(snd_pcm_dmix_open) unable to initialize poll_fd Playback open error: -19,No such device The kernel size does not increase, only the size of the kernel module increases. Signed-off-by: Dmitry Sutyagin --- package/kernel/linux/modules/sound.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 1a2d4f6d32..71765ed293 100644 --- a/package/kernel/linux/modules/sound.mk +++ b/package/kernel/linux/modules/sound.mk @@ -49,6 +49,7 @@ define KernelPackage/sound-core CONFIG_SND_RAWMIDI \ CONFIG_SND_TIMER \ CONFIG_SND_PCM \ + CONFIG_SND_PCM_TIMER \ CONFIG_SND_SEQUENCER \ CONFIG_SND_VIRMIDI \ CONFIG_SND_SEQ_DUMMY \ -- 2.25.1