OESF Portables Forum

Model Specific Forums => Gemini PDA => Gemini PDA - Linux => Topic started by: Pete G. on February 11, 2018, 09:55:21 pm

Title: Linux 'Stand-by' time?
Post by: Pete G. on February 11, 2018, 09:55:21 pm
Sorry about my almost complete ignorance here   but I've never owned an Android device, and my Linux laptop usually gets booted when I want to use it, and turned off when I'm done.

I just wonder if Linux's "suspend" is essentially similar to "stand-by" in Android.  Can we expect the Gemini to go nicely to sleep in Linux when we stop  using it, and stay available for a couple of weeks?  If I do a reboot, is that going to be as slow as my laptop?
Title: Linux 'Stand-by' time?
Post by: depscribe on February 11, 2018, 10:23:57 pm
Quote from: Pete G.
Sorry about my almost complete ignorance here   but I've never owned an Android device, and my Linux laptop usually gets booted when I want to use it, and turned off when I'm done.

I just wonder if Linux's "suspend" is essentially similar to "stand-by" in Android.  Can we expect the Gemini to go nicely to sleep in Linux when we stop  using it, and stay available for a couple of weeks?  If I do a reboot, is that going to be as slow as my laptop?
Linux hibernates pretty well and can stay that way indefinitely. Suspend mode draws a very small amount of juice, but it or something better would be needed for it to work as a phone. In either case, it typically comes back more quickly than a full boot.
That having been said, the only people who know the details of Linux on the Gemini work at Planet Computers. And they have not announced much yet.
Title: Linux 'Stand-by' time?
Post by: Murple2 on February 12, 2018, 03:36:21 am
Quote from: depscribe
Quote from: Pete G.
Sorry about my almost complete ignorance here   but I've never owned an Android device, and my Linux laptop usually gets booted when I want to use it, and turned off when I'm done.

I just wonder if Linux's "suspend" is essentially similar to "stand-by" in Android.  Can we expect the Gemini to go nicely to sleep in Linux when we stop  using it, and stay available for a couple of weeks?  If I do a reboot, is that going to be as slow as my laptop?
Linux hibernates pretty well and can stay that way indefinitely. Suspend mode draws a very small amount of juice, but it or something better would be needed for it to work as a phone. In either case, it typically comes back more quickly than a full boot.
That having been said, the only people who know the details of Linux on the Gemini work at Planet Computers. And they have not announced much yet.

The trick will be getting it to wake on phone call. I think the method on this site may be adaptable to our needs - http://bernaerts.dyndns.org/linux/74-ubunt...-resume-usb-hid (http://bernaerts.dyndns.org/linux/74-ubuntu/220-ubuntu-resume-usb-hid). I'm not saying the modem is on the usb bus, but we should be able to do something similar with e.g. PCI devices if that's how the modem shows up. The question remains - can we resume from suspend fast enough to answer a phone call? How does sailfish etc handle this?

In regards to the boot speed - if booting from flash it should be pretty snappy, perhaps faster than your laptop. And it depends on the distro you use - https://www.phoronix.com/scan.php?page=arti...-boot&num=2 (https://www.phoronix.com/scan.php?page=article&item=11-linux-boot&num=2)