root@beaglebone:/home/william# echo mem > /sys/power/state
bash: echo: write error: Invalid argument
root@beaglebone:/home/william# uname -r
4.1.22-ti-rt-r59

Replacing "mem", with "disk" pretends to work, but it does not.

william@beaglebone:~$ time sudo rtcwake -m disk -s 60 && ls
rtcwake: wakeup from "disk" using /dev/rtc0 at Wed May  4 02:52:15 2016

william@eee-pc:~$* sudo screen /dev/ttyUSB0 115200*
*( serial debug *)
[  223.71] Kernel pan

However, /dev/rtc0 *does* work as a rtc timer aside from sleep.

william@beaglebone:~$ *zcat /proc/config.gz | grep CONFIG_HOTPLUG_CPU*
CONFIG_HOTPLUG_CPU=y

Ok so this is really strange, this being disabled is supposed to be *the*
reason for write failure to "mem".



On Tue, May 3, 2016 at 6:44 PM, Robert Nelson <[email protected]>
wrote:

>
>
> On Tue, May 3, 2016 at 8:10 PM, <[email protected]> wrote:
>
>> Should power management functions (mem/standby) be working with 4.x TI
>> kernels on the BeagleBone Black for at least some subset of hardware
>> versions? Or was full support intentionally disabled due to hardware
>> related issues?
>>
>> I've been using 3.14 TI kernels with the rtcwake command (both mem and
>> standby work), but cannot find anything that works on the same hardware
>> with 4.x TI kernels after looking at wkup_m3 and rtc-omap drivers.
>>
>
> v4.1.x-ti is the best, but just tested v4.4.x-ti this morning:
>
> at idle:
>
>   current CPU frequency is 300 MHz (asserted by call to hardware).
>   cpufreq stats: 300 MHz:60.64%, 600 MHz:2.75%, 800 MHz:0.00%, 1000
> MHz:36.60%  (14)
> root@beaglebone:~# uname -r
> 4.4.8-ti-r22
>
> 5v @ 0.15~0.18 Amps on my jumpy power supply...
>
> echo mem > /sys/power/state
>
> 5v @ 0.05 Amps
>
> bbb: rev a5a, just a ftdi serial cape attached.
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CAOCHtYijfoUf3rnTAJ-WLX9gQGKQ68Jw-6-ub%2BU3OXaaBRVBBw%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CAOCHtYijfoUf3rnTAJ-WLX9gQGKQ68Jw-6-ub%2BU3OXaaBRVBBw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORq2BWjW3YZa4mZ0OicDPuz_2xgh%2BWFD7x-%2BVCFV15LSzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to