We can use the following command to get dmesg print's over ADB.

$adb shell dmesg
~
Abhishek


On Mon, Jun 21, 2010 at 2:23 AM, Pavan Savoy <[email protected]> wrote:

> not even cat /proc/kmsg ?
> hnm ... don't use much of adb .. have to check it out ...
>
> On Mon, Jun 21, 2010 at 12:39 PM, Deva R <[email protected]> wrote:
> >>echo 7 > /proc/sys/kernel/printk
> > how will this help for a device without serial port??
> > all bubbyyby got is adb connection., 'm also curious to know, if
> possible,
> > how to redirect printk traces to adb.
> >
> > On Mon, Jun 21, 2010 at 12:07 PM, Pavan Savoy <[email protected]>
> wrote:
> >>
> >> echo 7 > /proc/sys/kernel/printk ?
> >> the kernel debug message level for shells ?
> >>
> >> On Mon, Jun 21, 2010 at 11:48 AM, Deva R <[email protected]> wrote:
> >> > you can get android logs by "adb logcat"
> >> >
> >> > printk traces might be tricky., as its kernel side, 'm not sure if we
> >> > can
> >> > grab it over adb.
> >> > try "adb dmesg" -> it can give last kernel printk buffer copy.,
> >> >
> >> >
> >> > On Sun, Jun 20, 2010 at 4:49 PM, B.Y <[email protected]> wrote:
> >> >>
> >> >> i have a device, and i want to port android to it.
> >> >> now i can boot android on this device, and connect to it with adb,
> but
> >> >> the device doesn't have a Serial output. so how do i make printk
> print
> >> >> debug messages to adb shell?
> >> >>
> >> >> thanks
> >> >>
> >> >> --
> >> >> unsubscribe: 
> >> >> [email protected]<android-porting%[email protected]>
> >> >> website: http://groups.google.com/group/android-porting
> >> >
> >> > --
> >> > unsubscribe: 
> >> > [email protected]<android-porting%[email protected]>
> >> > website: http://groups.google.com/group/android-porting
> >> >
> >>
> >>
> >>
> >> --
> >> --Pavan Savoy
> >
> >
>
>
>
> --
> --Pavan Savoy
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to