Patchwork [2/2] pulseaudio: The audio over Adipts ALC888 audio effect chip on Sabino does not work

mail settings
Submitter jackie huang
Date Nov. 22, 2012, 6:46 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/39455/
State New
Headers show


jackie huang - Nov. 22, 2012, 6:46 a.m.
From: Jackie Huang <>

root cause:

the default settings for audio devices are installed by the udev script
90-alsa-restore.rules.  This script is installed into /lib/udev/rules.d,
but a recent change moved the udev files to /usr/lib*, so the alsa script
doesn't get run.

the configure of package pulseaudio set the udev rules default directory to
"/lib/udev/rules.d", while its bb file specifies "${base_libdir}/udev"
as udev rules directory. So the file in "/lib/udev/rules.d" will be missing when
packaging on 64bit platforms.

solution: set parameter "udevrulesdir" to "${libdir}/udev/rules.d" for configure
of pulseaudio

Signed-off-by: Shiqun Lin <>
Signed-off-by: Jackie Huang <>
 .../pulseaudio/                   |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/meta/recipes-multimedia/pulseaudio/ b/meta/recipes-multimedia/pulseaudio/
index 35137a8..b41addb 100644
--- a/meta/recipes-multimedia/pulseaudio/
+++ b/meta/recipes-multimedia/pulseaudio/
@@ -1,6 +1,6 @@ 
-PR = "r15"
+PR = "r16"
 DEPENDS += "libjson gdbm speex libxml-parser-perl-native \
   ${@base_contains('DISTRO_FEATURES', 'x11', 'libxrandr', '', d)}"
@@ -15,6 +15,9 @@  SRC_URI = "${PV}.
 SRC_URI[md5sum] = "33e85023259d530f0a763d5204e8bad9"
 SRC_URI[sha256sum] = "ef6b347bf47abfb98080795f1583018ac959b4aeb4df916b879f9e1eaba0ca7f"
+EXTRA_OECONF += "--with-udev-rules-dir=${libdir}/udev/rules.d"
+FILES_${PN}-server += " ${libdir}/udev/rules.d/*.rules"
 do_compile_prepend() {
     cd ${S}
     mkdir -p ${S}/libltdl