OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Android => Topic started by: jpmatrix on January 19, 2008, 08:47:48 am

Title: Binderdev Messages
Post by: jpmatrix 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...
Title: Binderdev Messages
Post by: Android Zaurus 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,