I have a battery powered application requiring 30 second start from power down. Hibernate or Hybrid (S4) seem to be the solution, but do not work on my current hardware / software configuration. I am using BBB AI with Debian 11 and XFCE. My start currently takes 1 min 40 seconds. Any ideas?
You could use systemd and create a system unit file and specify when your code can start running. Using wants= and after=.
I am trying to use hibernate to get the fast power-on start I need. When I try sudo update-initramfs –k all –u I get responses:
|||W: Possible missing firmware /lib/firmware/xc3028L-v36.fw for built in driver tuner_xc2028|
|||W: Possible missing firmware /lib/firmware/xc3028-v27.fw for built in driver tuner_xc2028|
|||W: Possible missing firmware /lib/firmware/dvb-fe-xc4000-1.4.fw for built in driver xc4000|
How do I get the missing firmware and load it?
I’ve always gotten those warnings… I’ve just ignored them…
It should still generate the initrd.img file even with those warnings
I found the missing firmware files on github. Putting them in the paths specified got rid of the warnings. The initrd.img file generates.
When I try to test hibernate I get: Failed to hibernate system via logind: Not enough swap space for hibernation. I have a 2Gb swap file. Not sure why it is not being seen.