Author Topic: Binderdev Messages  (Read 9801 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Binderdev Messages
« on: January 19, 2008, 08:47:48 am »
when you switch from android to a console , there are a lot of binder_open / binder_release messages.
how can we suppress them ?

i tried to launch init with 2> /dev/null with no luck...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

Android Zaurus

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://androidzaurus.seesaa.net
Binderdev Messages
« Reply #1 on: January 22, 2008, 10:27:04 pm »
Quote from: jpmatrix
when you switch from android to a console , there are a lot of binder_open / binder_release messages.
how can we suppress them ?

i tried to launch init with 2> /dev/null with no luck...

binderdev.ko outputs those messages using printk(KERN_WARING). If they annoy you, modify /etc/init.d/syslog manually.

line 50
start-stop-daemon -S -b -n klogd -a /sbin/klogd -- -n

Add loglevel, say 4 (KERN_NOTICE). Any number less than 5 (KERN_WARNING) suppresses them.
start-stop-daemon -S -b -n klogd -a /sbin/klogd -- -n -c 4

After save the file, restart syslogs and kernlogd
/etc/init.d/syslog restart

I'm not sure how Debian confiures syslogd/kernlogd, but as long as it uses busybox version, this way could work.

Cheers,