Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: Linux4sbc on November 11, 2013, 12:45:50 PM

Title: a20 suspend problem
Post by: Linux4sbc on November 11, 2013, 12:45:50 PM
Hi,

I have problem width a20 suspend mode (battery powered).
Linux image: ULTIMATE A20 Debian release 5.

Board not wake'ups, when press power (or any other) button for 1,2,3
seconds.
If keep pressed power button longer, board goes completely to OFF.

Problem may by in sleep mode because power consumption in sleep mode
is the same as in working mode: ~ 0.2A.

The same problem is when suspend from XFCE4 or bash
"echo -n mem >/sys/power/state" or "echo -n standby >/sys/power/state" or "rtcwake -s 10 -m mem"

Some diagnostic:
# cat /sys/power/state
standby mem
# cat /sys/module/pm/parameters/standby_axp_enable
1

Please help to resolve this problem.

Thank You.

Sorry for my English.
Title: Re: a20 suspend problem
Post by: Linux4sbc on November 12, 2013, 04:03:36 PM
Hi,

Can somebody confirm, that exist some one OLinuXino product with working (in real) suspend mode for battery application in Linux?

Thanks.
Title: Re: a20 suspend problem
Post by: misterzu on December 09, 2013, 01:51:58 AM
Same problem: after suspend (hibernate and ram.conf only enabled in hibernate.conf) I unable to awake board by any button. Only power-off/on works after suspend to RAM :(
And BTW power off/reboot also works buggy - sometimes 'halt' command works but sometimes it causes board to reboot just after shutdown
Title: Re: a20 suspend problem
Post by: Jox on December 09, 2013, 11:54:49 AM
Same problem happens when the board is connected to mains.

The graphical interface can't wake up from suspension, although the board is reachable from ssh.

Disabled every power saving feature through the graphical interface and mine has been working 24/7 for 5 days now: torrent, amule and DLNA server. So far, so good.
Title: Re: a20 suspend problem
Post by: misterzu on December 10, 2013, 05:14:58 PM
Hm, thanks. This (reboot instead of powerdown) really happens when powered from mains supply. When working from battery - halt does powerdown as expected.
As I understand this is by-design behaviour? Anyway this is also OK for me.
Title: Re: a20 suspend problem
Post by: AzHofi on October 23, 2014, 07:29:59 PM
Was born any solution for this wake up unability? I think this is a serious problem, I am very curious to the olimex official position about this issue.
Title: Re: a20 suspend problem
Post by: JohnS on October 23, 2014, 07:52:29 PM
Isn't it a software issue?  May even not be supported fully in current A20 Linux, but if it is then the challenge is to fight Linux to find what needs changing/configuring.

Do Olimex offer such software support?

Maybe it works on other A20/A10 hardware in which case you might find how the software is set up for it.

John
Title: Re: a20 suspend problem
Post by: alex_zeleny on February 24, 2015, 09:59:41 AM
Hi all,
I've found solution:
In FEX file switch off PMU:
pmu_used = 0

After this my Olimex A20 works about 3 days.