Hi,

it took me some time to figure out, that the alsa subsystem is broken due
missing configuration files in /usr/share/alsa. I have no idea, how this
should work for others. If the problem can be solved otherwise, please
let me know.

Test system was ASUS WL-500gP with Kamikaze 07.09, Linux 2.4. USB soundcard
was Speedlink with C-Media Chipset. Patch modifies OpenWrt alsa-lib Makefile
(packages/libs/alsa-lib) to copy the subdirectories cards and pcm to
/usr/share/alsa.

Signed-off-by: Michael Conrad <open...@aprs4r.org>


Greetings

    Micha



Index: packages/libs/alsa-lib/Makefile
===================================================================
--- packages/libs/alsa-lib/Makefile	(Revision 13954)
+++ packages/libs/alsa-lib/Makefile	(Arbeitskopie)
@@ -10,7 +10,7 @@
 
 PKG_NAME:=alsa-lib
 PKG_VERSION:=1.0.13
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/lib/
@@ -68,6 +68,8 @@
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libasound.so.* $(1)/usr/lib/
 	$(INSTALL_DIR) $(1)/usr/share/alsa/
 	$(CP) $(PKG_INSTALL_DIR)/usr/share/alsa/alsa.conf $(1)/usr/share/alsa/
+	$(CP) -r $(PKG_INSTALL_DIR)/usr/share/alsa/cards $(1)/usr/share/alsa/
+	$(CP) -r $(PKG_INSTALL_DIR)/usr/share/alsa/pcm $(1)/usr/share/alsa/
 endef
 
 $(eval $(call BuildPackage,alsa-lib))
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to