Hello community,
here is the log from the commit of package alsa
checked in at Tue Mar 11 18:07:35 CET 2008.
--------
--- alsa/alsa.changes 2008-03-03 10:16:52.000000000 +0100
+++ /mounts/work_src_done/STABLE/alsa/alsa.changes 2008-03-10 13:19:01.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Mar 10 13:09:16 CET 2008 - tiwai@suse.de
+
+- HG snapshot 20080310:
+ * fix build with older glibc
+ * fix the silence at the beginning of dmix playback
+ * hdmi pcm definition (experimental)
+ * fix name listing for non-existing devices
+- improved/fixed alsa-info.sh for non-HD devices
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ alsa.spec ++++++
--- /var/tmp/diff_new_pack.t28283/_old 2008-03-11 18:06:24.000000000 +0100
+++ /var/tmp/diff_new_pack.t28283/_new 2008-03-11 18:06:24.000000000 +0100
@@ -22,7 +22,7 @@
AutoReqProv: on
Summary: Advanced Linux Sound Architecture
Version: 1.0.16
-Release: 16
+Release: 18
Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
Source8: 40-alsa.rules
Source11: alsasound
@@ -250,6 +250,13 @@
%{_datadir}/alsa
%changelog
+* Mon Mar 10 2008 tiwai@suse.de
+- HG snapshot 20080310:
+ * fix build with older glibc
+ * fix the silence at the beginning of dmix playback
+ * hdmi pcm definition (experimental)
+ * fix name listing for non-existing devices
+- improved/fixed alsa-info.sh for non-HD devices
* Mon Mar 03 2008 tiwai@suse.de
- fix a typo in configure option --enable-symbolic-functions
- HG version (20080228):
++++++ alsa-info.sh ++++++
--- alsa/alsa-info.sh 2008-02-25 17:16:23.000000000 +0100
+++ /mounts/work_src_done/STABLE/alsa/alsa-info.sh 2008-03-10 13:18:34.000000000 +0100
@@ -1,6 +1,6 @@
#!/bin/bash
-SCRIPT_VERSION=0.4.36
+SCRIPT_VERSION=0.4.41
CHANGELOG="http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh"
#################################################################################
@@ -98,8 +98,8 @@
echo "!!Amixer output" >> $FILE
echo "!!-------------" >> $FILE
echo "" >> $FILE
- for i in `seq 0 $LAST_CARD`;do
- CARD_NAME=`grep "^ $i" /tmp/alsainfo/alsacards.tmp|awk {'print $2'}`
+ for i in `grep "]: " /proc/asound/cards | awk -F ' ' '{ print $1} '` ; do
+ CARD_NAME=`grep "^ *$i " /tmp/alsainfo/alsacards.tmp|awk {'print $2'}`
echo "!!-------Mixer controls for card $i $CARD_NAME]" >> $FILE
echo "" >>$FILE
amixer -c$i>> $FILE
@@ -123,7 +123,9 @@
exe=`whereis alsactl | cut -d ' ' -f 2`
fi
$exe -f /tmp/alsainfo/alsactl.tmp store
+ echo "--startcollapse--" >> $FILE
cat /tmp/alsainfo/alsactl.tmp >> $FILE
+ echo "--endcollapse--" >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
@@ -188,19 +190,36 @@
QUESTION="yes"
PROCEED="yes"
+NOUPLOAD=""
+REPEAT=""
+while [ -z "$REPEAT" ]; do
+REPEAT="no"
case "$1" in
--update|--help|--about)
QUESTION="no"
PROCEED="no"
;;
+ --no-upload)
+ NOUPLOAD="yes"
+ ;;
+ --no-dialog)
+ DIALOG=""
+ REPEAT=""
+ shift
+ ;;
esac
+done
#Script header output.
if [ "$QUESTION" = "yes" ]; then
if [[ -n "$DIALOG" ]]
then
+if [ -z "NOUPLOAD" ]; then
dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nBy default, this script will AUTOMATICALLY UPLOAD your information to a pastebin site.\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0
+else
+ dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0
+fi
DIALOG_EXIT_CODE=$?
if [ $DIALOG_EXIT_CODE != 0 ]; then
echo "Thank you for using the ALSA-Info Script"
@@ -213,6 +232,7 @@
echo ""
echo "This script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem."
echo ""
+if [ -z "$NOUPLOAD" ]; then
if [[ -n "$TPUT" ]]; then
tput bold
echo "By default, the collected information will be AUTOMATICALLY uploaded to a pastebin site."
@@ -223,9 +243,10 @@
echo "If you do not wish for this to occur, run the script with the --no-upload argument"
fi
echo ""
+fi # NOUPLOAD
echo -n "Do you want to run this script? [y/n] : "
read -e CONFIRM
-if [ $CONFIRM != "y" ]; then
+if [ "$CONFIRM" != "y" ]; then
echo ""
echo "Thank you for using the ALSA-Info Script"
exit 0;
@@ -265,8 +286,12 @@
cat /proc/asound/cards >/tmp/alsainfo/alsacards.tmp
lspci |grep -i "multi\|audio">/tmp/alsainfo/lspci.tmp
-#Check for HDA-Intel cards codec#0
-cat /proc/asound/card0/codec\#* > /tmp/alsainfo/alsa-hda-intel.tmp 2> /dev/null
+#Check for HDA-Intel cards codec#*
+cat /proc/asound/card*/codec\#* > /tmp/alsainfo/alsa-hda-intel.tmp 2> /dev/null
+
+#Check for AC97 cards codec
+cat /proc/asound/card*/codec97\#0/ac97\#0-0 > /tmp/alsainfo/alsa-ac97.tmp 2> /dev/null
+cat /proc/asound/card*/codec97\#0/ac97\#0-0+regs > /tmp/alsainfo/alsa-ac97-regs.tmp 2> /dev/null
#Fetch the info, and put it in $FILE in a nice readable format.
echo "name=$USER&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=" > $FILE
@@ -353,12 +378,29 @@
then
echo "!!HDA-Intel Codec information" >> $FILE
echo "!!---------------------------" >> $FILE
+ echo "--startcollapse--" >> $FILE
echo "" >> $FILE
cat /tmp/alsainfo/alsa-hda-intel.tmp >> $FILE
+ echo "--endcollapse--" >> $FILE
+ echo "" >> $FILE
+ echo "" >> $FILE
+fi
+
+if [ -s "/tmp/alsainfo/alsa-ac97.tmp" ]
+then
+ echo "!!AC97 Codec information" >> $FILE
+ echo "!!---------------------------" >> $FILE
+ echo "--startcollapse--" >> $FILE
+ echo "" >> $FILE
+ cat /tmp/alsainfo/alsa-ac97.tmp >> $FILE
+ echo "" >> $FILE
+ cat /tmp/alsainfo/alsa-ac97-regs.tmp >> $FILE
+ echo "--endcollapse--" >> $FILE
echo "" >> $FILE
echo "" >> $FILE
fi
+
#If no command line options are specified, then run as though --with-all was specified
if [[ -z "$1" ]]
then
@@ -370,7 +412,7 @@
withalsactl
withlsmod
#Workaround, while we sort out pastebin location, since pastebin.ca blocked us.
- #NOUPLOAD="1"
+ #NOUPLOAD="yes"
fi
@@ -387,7 +429,7 @@
exit
;;
--no-upload)
- NOUPLOAD="1"
+ NOUPLOAD="yes"
KEEP_FILES="yes"
withdevices
withconfigs
@@ -565,6 +607,7 @@
dialog --backtitle "$BGTITLE" --textbox /tmp/alsainfo/uploaded.txt 0 0
fi
fi
+fi
clear
if [[ -n $NOUPLOAD ]]; then
echo "You requested that your information was NOT automatically uploaded to the pastebin"
@@ -577,7 +620,6 @@
echo "Please inform the person helping you."
echo ""
fi
-fi
#We posted the file to pastebin.ca , so we dont need it anymore. delete it.
if [ -z $KEEP_FILES ]
then
++++++ alsa-lib-hg-fixes.diff ++++++
--- /var/tmp/diff_new_pack.t28283/_old 2008-03-11 18:06:24.000000000 +0100
+++ /var/tmp/diff_new_pack.t28283/_new 2008-03-11 18:06:24.000000000 +0100
@@ -1,6 +1,6 @@
diff -r b1dfac5a4d55 configure.in
--- a/configure.in Tue Feb 05 10:08:09 2008 +0100
-+++ b/configure.in Mon Mar 03 10:13:04 2008 +0100
++++ b/configure.in Mon Mar 10 13:08:39 2008 +0100
@@ -575,8 +575,8 @@ if test ! -L "$srcdir"/include/alsa ; th
ln -sf . "$srcdir"/include/alsa
fi
@@ -14,7 +14,7 @@
src/rawmidi/Makefile src/timer/Makefile \
diff -r b1dfac5a4d55 doc/Makefile.am
--- a/doc/Makefile.am Tue Feb 05 10:08:09 2008 +0100
-+++ b/doc/Makefile.am Mon Mar 03 10:13:04 2008 +0100
++++ b/doc/Makefile.am Mon Mar 10 13:08:39 2008 +0100
@@ -5,6 +5,7 @@ INCLUDES=-I$(top_srcdir)/include
INCLUDES=-I$(top_srcdir)/include
@@ -148,7 +148,7 @@
-#FILTER_SOURCE_FILES = YES
diff -r b1dfac5a4d55 doc/doxygen.cfg.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
-+++ b/doc/doxygen.cfg.in Mon Mar 03 10:13:04 2008 +0100
++++ b/doc/doxygen.cfg.in Mon Mar 10 13:08:39 2008 +0100
@@ -0,0 +1,119 @@
+PROJECT_NAME = "ALSA project - the C library reference"
+OUTPUT_DIRECTORY = doxygen
@@ -271,7 +271,7 @@
+#FILTER_SOURCE_FILES = YES
diff -r b1dfac5a4d55 include/asoundef.h
--- a/include/asoundef.h Tue Feb 05 10:08:09 2008 +0100
-+++ b/include/asoundef.h Mon Mar 03 10:13:04 2008 +0100
++++ b/include/asoundef.h Mon Mar 10 13:08:39 2008 +0100
@@ -121,6 +121,14 @@ extern "C" {
#define IEC958_AES3_CON_CLOCK_1000PPM (0<<4) /**< 1000 ppm */
#define IEC958_AES3_CON_CLOCK_50PPM (1<<4) /**< 50 ppm */
@@ -289,7 +289,7 @@
diff -r b1dfac5a4d55 include/iatomic.h
--- a/include/iatomic.h Tue Feb 05 10:08:09 2008 +0100
-+++ b/include/iatomic.h Mon Mar 03 10:13:04 2008 +0100
++++ b/include/iatomic.h Mon Mar 10 13:08:39 2008 +0100
@@ -1010,6 +1010,75 @@ static __inline__ void atomic_clear_mask
#endif /* __arm__ */
@@ -368,7 +368,7 @@
* non supported architecture.
diff -r b1dfac5a4d55 include/pcm.h
--- a/include/pcm.h Tue Feb 05 10:08:09 2008 +0100
-+++ b/include/pcm.h Mon Mar 03 10:13:04 2008 +0100
++++ b/include/pcm.h Mon Mar 10 13:08:39 2008 +0100
@@ -1105,6 +1105,8 @@ int snd_pcm_sw_params_get_xfer_align(con
int snd_pcm_sw_params_get_xfer_align(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val) __attribute__((deprecated));
int snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, unsigned int val) __attribute__((deprecated));
@@ -389,7 +389,7 @@
diff -r b1dfac5a4d55 include/seq.h
--- a/include/seq.h Tue Feb 05 10:08:09 2008 +0100
-+++ b/include/seq.h Mon Mar 03 10:13:04 2008 +0100
++++ b/include/seq.h Mon Mar 10 13:08:39 2008 +0100
@@ -152,6 +152,11 @@ void snd_seq_client_info_set_broadcast_f
void snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_t *info, int val);
void snd_seq_client_info_set_error_bounce(snd_seq_client_info_t *info, int val);
@@ -412,7 +412,7 @@
diff -r b1dfac5a4d55 include/sound/asound.h
--- a/include/sound/asound.h Tue Feb 05 10:08:09 2008 +0100
-+++ b/include/sound/asound.h Mon Mar 03 10:13:04 2008 +0100
++++ b/include/sound/asound.h Mon Mar 10 13:08:39 2008 +0100
@@ -59,6 +59,7 @@
#ifndef __KERNEL__
#include