Thread (5 messages) flat view 5 messages, 3 authors, 2014-08-15

Re: smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_init_late())

From: Simon Horman <horms@verge.net.au>
Date: 2014-08-14 21:17:16
Also in: linux-sh

On Thu, Aug 14, 2014 at 10:52:30AM +0200, Geert Uytterhoeven wrote:
Hi Simon,

(taking this to netdev for the crash in smsc911x_suspend())

On Thu, Aug 14, 2014 at 8:16 AM, Simon Horman [off-list ref] wrote:
quoted
while this may be part of the puzzle my light testing shows
that suspend-to-ram does not appear to work with this patch applied.
Thanks for testing!
quoted
My procedure is as followw.

1. Apply this patch on top of renesas-devel-v3.16-20140811
2. make bockw_defconfig
3. Select CONFIG_SUSPEND
4. Update r8a7778-bockw.dts to include no_console_suspend in bootargs
Alternative:

echo 0 > /sys/module/printk/parameters/console_suspend
Thanks, I didn't know that.
quoted
4. Boot and then:

   i. echo enabled > /sys/devices/platform/sh-sci.0/tty/ttySC0/power/wakeup
   ii. echo mem > /sys/power/wakeup_count
Uh?

echo mem > /sys/power/state
quoted
root@debian:~# echo mem > /sys/power/wakeup_count
-bash: echo: write error: Invalid argument
I guess there's an "echo mem > /sys/power/state" here?
Yes, sorry about that noise. I had some stray commands in my test-run
and edited out the correct one.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help