rpms/kernel/F-8 linux-2.6-alsa-kill-annoying-messages.patch, NONE, 1.1 config-ia64-generic, 1.4, 1.5 config-x86-generic, 1.19, 1.20 config-x86_64-generic, 1.18, 1.19 kernel.spec, 1.350, 1.351

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Mon Feb 18 02:30:16 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11675

Modified Files:
	config-ia64-generic config-x86-generic config-x86_64-generic 
	kernel.spec 
Added Files:
	linux-2.6-alsa-kill-annoying-messages.patch 
Log Message:
* Sun Feb 17 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.2-5
- Disable ACPI power information in sysfs (ACPI_SYSFS_POWER).
- Kill annoying audio driver messages.


linux-2.6-alsa-kill-annoying-messages.patch:

--- NEW FILE linux-2.6-alsa-kill-annoying-messages.patch ---
From: Adel Gadllah <adel.gadllah at gmail.com>

snd-hda-intel: don't print using snd_printdd on device open

When CONFIG_SND_DEBUG_DETECT is set the hda-intel driver prints verbose
info like this:

ALSA sound/pci/hda/hda_intel.c:1259: azx_pcm_prepare: bufsize=0x4400,
fragsize=0x1100, format=0x11
ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x7,
stream=0x5, channel=0, format=0x11
ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x3,
stream=0x5, channel=0, format=0x11
ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x3,
stream=0x0, channel=0, format=0x0
ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x7,
stream=0x0, channel=0, format=0x0
ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x3,
stream=0x0, channel=0, format=0x0

Don't print anything in functions that get called when the device gets
opened/prepared for output.

Signed-off-by: Adel Gadllah <adel.gadllah at gmail.com>
Signed-off-by: Chuck Ebbert <cebbert at redhat.com>
CC: Takashi Iwai <tiwai at suse.de>

---

Orignal patch was mangled by sender's mail software.

diff -upNr linux-2.6.24.2.orign/sound/pci/hda/hda_codec.c linux-2.6.24.2/sound/pci/hda/hda_codec.c
--- linux-2.6.24.2.orign/sound/pci/hda/hda_codec.c    2008-02-11 06:51:11.000000000 +0100
+++ linux-2.6.24.2/sound/pci/hda/hda_codec.c    2008-02-17 11:08:58.000000000 +0100
@@ -677,9 +677,6 @@ void snd_hda_codec_setup_stream(struct h
 	if (!nid)
 		return;
 
-	snd_printdd("hda_codec_setup_stream: "
-		    "NID=0x%x, stream=0x%x, channel=%d, format=0x%x\n",
-		    nid, stream_tag, channel_id, format);
 	snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CHANNEL_STREAMID,
 			    (stream_tag << 4) | channel_id);
 	msleep(1);
diff -upNr linux-2.6.24.2.orign/sound/pci/hda/hda_intel.c linux-2.6.24.2/sound/pci/hda/hda_intel.c
--- linux-2.6.24.2.orign/sound/pci/hda/hda_intel.c    2008-02-11 06:51:11.000000000 +0100
+++ linux-2.6.24.2/sound/pci/hda/hda_intel.c    2008-02-17 11:10:16.000000000 +0100
@@ -1249,9 +1249,6 @@ static int azx_pcm_prepare(struct snd_pc
 		return -EINVAL;
 	}
 
-	snd_printdd("azx_pcm_prepare: bufsize=0x%x, fragsize=0x%x, "
-		    "format=0x%x\n",
-		    azx_dev->bufsize, azx_dev->fragsize, azx_dev->format_val);
 	azx_setup_periods(azx_dev);
 	azx_setup_controller(chip, azx_dev);
 	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)


Index: config-ia64-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/config-ia64-generic,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- config-ia64-generic	15 Feb 2008 23:58:52 -0000	1.4
+++ config-ia64-generic	18 Feb 2008 02:29:40 -0000	1.5
@@ -115,7 +115,7 @@
 CONFIG_ACPI_AC=m
 # CONFIG_ACPI_ASUS is not set
 CONFIG_ACPI_PROCFS_POWER=y
-CONFIG_ACPI_SYSFS_POWER=y
+# CONFIG_ACPI_SYSFS_POWER is not set
 # CONFIG_ACPI_BAY is not set
 # CONFIG_ACPI_BATTERY is not set
 CONFIG_ACPI_BLACKLIST_YEAR=0


Index: config-x86-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/config-x86-generic,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- config-x86-generic	15 Feb 2008 23:58:52 -0000	1.19
+++ config-x86-generic	18 Feb 2008 02:29:40 -0000	1.20
@@ -126,7 +126,7 @@
 CONFIG_ACPI_AC=m
 # CONFIG_ACPI_ASUS is not set
 CONFIG_ACPI_PROCFS_POWER=y
-CONFIG_ACPI_SYSFS_POWER=y
+# CONFIG_ACPI_SYSFS_POWER is not set
 CONFIG_ACPI_BATTERY=m
 CONFIG_ACPI_BAY=m
 CONFIG_ACPI_BLACKLIST_YEAR=1999


Index: config-x86_64-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/config-x86_64-generic,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- config-x86_64-generic	15 Feb 2008 23:58:52 -0000	1.18
+++ config-x86_64-generic	18 Feb 2008 02:29:40 -0000	1.19
@@ -72,7 +72,7 @@
 CONFIG_ACPI_AC=m
 # CONFIG_ACPI_ASUS is not set
 CONFIG_ACPI_PROCFS_POWER=y
-CONFIG_ACPI_SYSFS_POWER=y
+# CONFIG_ACPI_SYSFS_POWER is not set
 CONFIG_ACPI_BATTERY=m
 CONFIG_ACPI_BAY=m
 CONFIG_ACPI_BLACKLIST_YEAR=0


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.350
retrieving revision 1.351
diff -u -r1.350 -r1.351
--- kernel.spec	16 Feb 2008 15:06:09 -0000	1.350
+++ kernel.spec	18 Feb 2008 02:29:40 -0000	1.351
@@ -593,6 +593,7 @@
 Patch88: linux-2.6-alsa-drivers-set-device-links.patch
 Patch89: linux-2.6-alsa-hda-fix-waitloop.patch
 Patch90: linux-2.6-alsa-hda-stac-add-delay.patch
+Patch91: linux-2.6-alsa-kill-annoying-messages.patch
 
 Patch100: linux-2.6-libata-pegasos-fix.patch
 Patch117: linux-2.6-pasemi-for-2.6.25.patch
@@ -1036,6 +1037,8 @@
 ApplyPatch linux-2.6-alsa-hda-fix-waitloop.patch
 # some STAC codecs need longer delay
 ApplyPatch linux-2.6-alsa-hda-stac-add-delay.patch
+# kill annoying messages
+ApplyPatch linux-2.6-alsa-kill-annoying-messages.patch
 
 # drm-mm catchup (modesetting, ...)
 ApplyPatch linux-2.6-agp-mm.patch
@@ -1920,6 +1923,10 @@
 
 
 %changelog
+* Sun Feb 17 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.2-5
+- Disable ACPI power information in sysfs (ACPI_SYSFS_POWER).
+- Kill annoying audio driver messages.
+
 * Fri Feb 15 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.2-4
 - Bump version.
 




More information about the fedora-extras-commits mailing list