All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] 2.5.44 Stop bttv_driver.c from flooding /var/log/messages
@ 2002-10-22 20:02 Bongani
  2002-10-22 21:04 ` Bjoern A. Zeeb
  0 siblings, 1 reply; 3+ messages in thread
From: Bongani @ 2002-10-22 20:02 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, kraxel

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

Hi Alan

I have sent this patch to Gerd and I did not get any reply from him, so...
The bttv drivers are/were filling up my /var/log/messages file with the
following output

Oct 20 04:03:01 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=no 
mux=4/1 irq=yes
Oct 20 04:03:01 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=yes 
mux=1/1 irq=yes
Oct 20 04:03:08 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=no 
mux=4/1 irq=yes

(Which seems to repeat three times a second for three seconds and waits 7 
second before printing the message again)

The following patch quites them down.

Thanx

[-- Attachment #2: bttv.patch --]
[-- Type: text/x-diff, Size: 610 bytes --]

--- linux-2.5/drivers/media/video/bttv-driver.c.old	2002-10-21 00:08:50.000000000 +0200
+++ linux-2.5/drivers/media/video/bttv-driver.c	2002-10-21 00:09:17.000000000 +0200
@@ -813,7 +813,7 @@
 	i2c_mux = mux = (btv->audio & AUDIO_MUTE) ? AUDIO_OFF : btv->audio;
 	if (btv->opt_automute && !signal && !btv->radio_user)
 		mux = AUDIO_OFF;
-	printk("bttv%d: amux: mode=%d audio=%d signal=%s mux=%d/%d irq=%s\n",
+	dprintk(KERN_DEBUG "bttv%d: amux: mode=%d audio=%d signal=%s mux=%d/%d irq=%s\n",
 	       btv->nr, mode, btv->audio, signal ? "yes" : "no",
 	       mux, i2c_mux, in_interrupt() ? "yes" : "no");
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-23  7:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 20:02 [Patch] 2.5.44 Stop bttv_driver.c from flooding /var/log/messages Bongani
2002-10-22 21:04 ` Bjoern A. Zeeb
2002-10-23  6:39   ` Gerd Knorr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.