Hi All,

Thanks for the input. But I am currently writing a module for Android.
In module programming there is only printk but is it possible to show
the kernel messages to the users? Meaning the user who will be using
the Android phone with the module will be shown the kernel messages.

Regards,
Perumal

On Jan 6, 9:45 am, dmitriy moskvitin <juffin.hal...@gmail.com> wrote:
> "cat /proc/kmsg", if you have root-privileges
>
> On Jan 6, 6:37 am, hedwin <hedwin.kon...@gmail.com> wrote:
>
> > Perumal
>
> > Within the android emulation check if you have a "dev tools" package. That
> > has a "terminal emulation" inside. Starting this will
> > open a shell. This way you should be able to a dmesg within the emulation
> > itself
>
> > Hedwin
>
> > On Tue, Jan 5, 2010 at 9:10 PM, Tim Bird <tim.b...@am.sony.com> wrote:
> > > perumal316 wrote:
> > > > Hi,
>
> > > > Currently when I printk kernel messages it is only viewable through
> > > > the terminal, but if in a phone/emulator any idea how do I view the
> > > > kernel messages?
>
> > > Use dmesg.  The kernel printk messages are stored in a ring
> > > buffer, and are accessible after boot using this standard linux
> > > tool.  Toolbox provides 'dmesg', as does busybox.
> > >  -- Tim
>
> > > =============================
> > > Tim Bird
> > > Architecture Group Chair, CE Linux Forum
> > > Senior Staff Engineer, Sony Corporation of America
> > > =============================
>
> > > --
> > > unsubscribe: 
> > > android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
> > > website:http://groups.google.com/group/android-kernel
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to