On 05/03/12 05:08, Tom H wrote: > On Sun, Mar 4, 2012 at 12:16 PM, Stephen Powell <zlinux...@wowway.com> wrote: >> >> I am using Debian wheezy i386 with an Nvidia video card and the default >> nouveau driver. �Everytime I switch back and forth between the X console >> (tty7) and a text console (such as tty1), tty1 gets spammed with messages >> like this: >> >> [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0) >> [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0) >> [drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A >> >> I assume that mode 3 is graphics mode (X server) and mode 0 is text mode >> (frame buffer simulated text console). >> >> Similar messages occur if I stay in a text console long enough for the >> power management feature to turn off the display and then I re-activate the >> display again (such as by pressing the Shift key by itself). �Apparently, >> when power management kicks in, I get dmps mode 1; and when I re-activate >> the console it switches back to dpms mode 0. �I do not get these results >> on another computer which uses the Nvidia proprietary driver (nvidia), >> nor did I get such results using this computer back when I used >> the older free nvidia driver (nv), which has since been dropped from the >> distribution. >> >> I consider these messages to be noise messages and I wish to suppress them. >> I don't mind if they are written to the kernel log, but I don't ever want to >> see them written to the console itself (except maybe during boot). >> >> I tried searching the internet, but I didn't find anything useful. �Is there >> a way to suppress these messages without suppressing true error messages? >> Maybe there's a module option that I can set in /etc/modprobe.d/local.conf, >> or something along those lines? �Any help will be appreciated. > > Isn't this a "/proc/sys/kernel/printk" issue? > > You can set "kernel.printk = 3 4 1 3" in "/etc/sysctl.conf".
Yes - *that* should work (I haven't tested as I don't run the open driver - but I've used it to suppress other annoying messages) Won't apply until reboot though. For immediate effect:- echo "3 4 1 3" > /proc/sys/kernel/printk >> Where can I find documentation on this? /usr/src/linux-source-2.6.32/Documentation/sysctl/kernel.txt (adjust to suit your kernel) Kind regards -- "Oh sorry, I was taking life seriously." — Bill Hicks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f541948.4050...@gmail.com