OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> poweroff, reboot, pm-suspend, and pm-hibernate in DebianTP2
Jeffrey Mark Sis...
post Jul 11 2018, 11:26 AM
Post #1





Group: Members
Posts: 10
Joined: 11-July 18
Member No.: 825,932



Background: I am a new Gemini owner running a dual boot with Android/DebianTP2. I have a lot of experience installing and running Debian on PDAs having previously owned a Nokia N810 (with a Debian chroot), a Nokia N900 (with a Debian chroot), a Viliv N5 (with a single boot Debian install), and a Samsung S6 (with GNURoot Debian).

I run my own setup based on twm. (I have been using Unix/Linux for 4 decades.)

On the Gemini, I have installed pm-utils. But (as root or with sudo) none of poweroff, reboot, pm-suspend, or hibernate appear to have any effect. If I issue any of these commands in a root shell the machine does not poweroff, reboot, suspend, or hibernate. Sometimes it hangs until I press Fn Off. Sometimes it hangs until I press any key. But the machine never turns off.

Any ideas why and how to fix?

My first goal is to reliably turn the machine off to save battery when not in use. My second goal is to get some more efficient way than requiring a reboot at turn on, either suspend or hibernate. With my current twm setup, if I leave it running and close the lid, the battery only lasts about a day.
Go to the top of the page
 
+Quote Post
Kiriririn
post Jul 11 2018, 11:48 AM
Post #2





Group: Members
Posts: 67
Joined: 19-January 18
Member No.: 816,673



You need to use repowerd for this, none of the other linux utilities for power management work very well/at all

Wish this wasn't the case, it doesn't suit PDAs/laptops, seems to be more designed for phones. I want the gemini to be 100% awake when open, even when idle, and 100% asleep when closed, and it's a real ballache to make that happen with repowerd. It's a fairly complex state machine that fights against a binary lid=on/off system in many ways

Very interested if someone manages to get locking and suspend working without repowerd, as the screen brightness without repowerd problem is already solved
Go to the top of the page
 
+Quote Post
galodoido
post Jul 11 2018, 12:19 PM
Post #3





Group: Members
Posts: 156
Joined: 13-May 18
Member No.: 822,555



QUOTE(Kiriririn @ Jul 11 2018, 04:48 PM) *
You need to use repowerd for this, none of the other linux utilities for power management work very well/at all

Wish this wasn't the case, it doesn't suit PDAs/laptops, seems to be more designed for phones. I want the gemini to be 100% awake when open, even when idle, and 100% asleep when closed, and it's a real ballache to make that happen with repowerd. It's a fairly complex state machine that fights against a binary lid=on/off system in many ways

Very interested if someone manages to get locking and suspend working without repowerd, as the screen brightness without repowerd problem is already solved


From memory : I was using xscreensaver , repowerd and in the power management, I've enabled lid support ( But selected to lock screen , because hibernate and suspend are problematic ).
I 've tried hibernate without success.( nothing happens ) Suspend with success, but seems that it power off the gemini.( not suspend ).

Lock works really well . ( it also poweroff the screen ). Also xscreensaver works really well.
Unfortunately I am not with my gemini to test again . I am traveling. Note : Debian TP1 with updates.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 9th December 2019 - 01:47 AM