Hi, The attached patch makes two small changes to soundon on Linux: 1) Don't install libsalsa unless $OSSLIBDIR/.libsalsa_installed exists. libsalsa is usually more trouble than it's worth, and this matches the cuckoo install check. 2) Add '-v' for savemixer -L line. Newest savemixer print the name of the file used to restore mixer settings, and it may be useful in the log.
Yours, Yair K.
diff -r aec0679fae45 setup/Linux/sbin/soundon --- a/setup/Linux/sbin/soundon Sun May 04 00:33:42 2008 +0300 +++ b/setup/Linux/sbin/soundon Wed May 07 08:50:27 2008 +0300 @@ -207,7 +207,8 @@ cat /proc/opensound/devfiles >> $LOG 2>&1 ls -l /dev/dsp* /dev/mixer* /dev/midi* /dev/oss/*/* >> $LOG 2>&1 -/usr/sbin/savemixer -L >> $LOG 2>&1 +echo >> $LOG +/usr/sbin/savemixer -L -v >> $LOG 2>&1 # Setup ALSA emulation @@ -226,7 +227,8 @@ head -10 /proc/asound/version >> $LOG 2>&1 lsmod|grep snd >> $LOG echo "**************************************" >> $LOG -else +elif test -f $OSSLIBDIR/.libsalsa_installed +then # Use library based ALSA compatibility if test -f $OSSLIBDIR/lib/libsalsa.so.2.0.0
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel