Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Auto boot on time does not work after hibernate
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ese002
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 115

PostPosted: Fri Jun 20, 2014 5:19 am    Post subject: [solved] Auto boot on time does not work after hibernate Reply with quote

I finally got hibernate working on my desktop machine. It works but there's a catch. Autostart is rendered inoperative.

I have my bios setup to automatically start my pc at a certain time every day to facilitate cross machine backups. This works when I shut down prior to autostart time but if I previously hibernated, the time comes and goes and nothing.

Is there some subtle control for how s2disk shuts down that I need to change so that I ensure a "clean" power off? Over the years, even without hibernate, I have noticed that the current Intel board and the the prior AMD board could occasionally get into an improperly shutdown state and autostart would not happen. Sometimes it would be obvious because the case fan would still run. The current issue with hibernate gives no such clues.

vmlinuz-3.12.13-gentoo
Asrock Z77 Pro3
Intel I-5 3570 (no K)

Bios is in EFI mode (required for my 3Tb boot disk)


Last edited by ese002 on Wed Jun 25, 2014 3:57 am; edited 1 time in total
Back to top
View user's profile Send private message
ese002
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 115

PostPosted: Wed Jun 25, 2014 3:57 am    Post subject: Reply with quote

Strictly speaking, this is not solved but the work-around is good enough.

Through trial and error, I discovered that I can auto-start from hibernate using rtcwake. http://www.howtogeek.com/121241/how-to-make-your-linux-pc-wake-from-sleep-automatically.

I was vaguely aware of this method but I did not expect it to work because I had not configured the bios to do that. Boot at a given time is one setting. Boot from software control is another. But, anyway, it works. I haven't tested to see if rtcwake will work if I shutdown instead of hibernate. I suspect it will not but I am insufficiently interested to perform the test. As a bonus, using rtcwake means my machine will boot at the right time when we revert to Standard Time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum