That's valuable infoMurff said:Regarding boot up time, on mine, from the moment I turn it on to the moment I've got a usable xfce desktop, there's exactly 50 seconds.
As Skeezix just said right above you, hibernate has some issues with the drivers. To hibernate, it requires that all drivers be able to unload themselves to disk and then be able to reload right back to their same state again. So long as there's one driver that doesn't do this properly, the whole thing risks falling apart. The good news is that all but the graphics driver (if I recall correctly) are open source, so as long as the graphics driver does the right thing, everything else can eventually be fixed, it'll just take more time and effort. A lot of effort, looking at some of them.benced said:Is there a hibernate feature or when the battery runs out to you have to reboot from startup?
If not is there a chance of having this feature in the future?
skeezix said:So usually the power button is managed by pndevmapperd, which has a conf file at /etc/pandora/conf/eventmap if I recall right, and that maps the power button to a sh-script; you can switch or alter that sh-script, or change the eventmap conf to refer to somewhere else. Now, since I made the system way too configurable, you can actually drop the eventmap conf on your SD instead of editing the one in-place in NAND -- ie: so that settings can take place from SD, and if you blow it up, you can just eject the SD to get the factory defaults back. (Or you can reflash if you totalyl bugger it up
jeff
As I recall from the one post someone (I think it was MWeston, but I could be mistaken) made about it, it was about 10 times as long on standby. So a battery with 5 hours remaining while running would get about 50 hours in standby. More or less.Na-Noo said:Wonder how low battery can be, to last on standby for a day?
Suspend to ram has the same limitation as suspend to disk: the drivers need to properly shut down and be able to restore themselves. With suspend to ram, the CPU is shut off, but everything remains in RAM with the idea being that all you need to do is turn the CPU back on and then tell the drivers to restore themselves. Since it's all in RAM, this happens very fast. With suspend to disk, it has to copy the contents of RAM to disk first, and then restore it when you turn back on. The only thing the Pandora isn't really doing that is done in most laptops with a suspend to ram is turning off the CPU completely; in our case it's just being turned down very very slow. We can't turn off the CPU completely because then the drivers would effectively "freeze" which causes undefined behaviour in them.God Ginrai said:Ok, I understand why we don't have hibernate. (suspend to disk) But this type of standby doesn't exactly sound like suspend to RAM, so why don't we have suspend to RAM? Correct me if I'm wrong on this.
WizardStan said:Suspend to ram has the same limitation as suspend to disk: the drivers need to properly shut down and be able to restore themselves. With suspend to ram, the CPU is shut off, but everything remains in RAM with the idea being that all you need to do is turn the CPU back on and then tell the drivers to restore themselves. Since it's all in RAM, this happens very fast. With suspend to disk, it has to copy the contents of RAM to disk first, and then restore it when you turn back on. The only thing the Pandora isn't really doing that is done in most laptops with a suspend to ram is turning off the CPU completely; in our case it's just being turned down very very slow. We can't turn off the CPU completely because then the drivers would effectively "freeze" which causes undefined behaviour in them.God Ginrai said:Ok, I understand why we don't have hibernate. (suspend to disk) But this type of standby doesn't exactly sound like suspend to RAM, so why don't we have suspend to RAM? Correct me if I'm wrong on this.
BackAssward said:Interestingly, programs line VM ware can 'pause' an OS and restore it at will, regardless of which OS/Drivers are in question. I mean, why is it not possibly to 'stop' everything in it current state, pause it, etc. As long as nothing external to the OS changes, it should be able to be stopped in a 'cryo-state' and restored at will, no? Why do drivers even have to be told that this is going on? So long as the drivers can react dynamically to things (say wifi was there now isn't) without crashing, why is suspend or hybernation so difficult?
I mean, the drivers don't have to be told to stop, just remove all CPU cycles from them and freeze them / their memory space as is, and save it. Why do they even have to know what is going on?
BackAssward said:Interestingly, programs like VM ware can 'pause' an OS and restore it at will, regardless of which OS/Drivers are in question. I mean, why is it not possibly to 'stop' everything in it current state, pause it, etc. As long as nothing external to the OS changes, it should be able to be stopped in a 'cryo-state' and restored at will, no? Why do drivers even have to be told that this is going on? So long as the drivers can react dynamically to things (say wifi was there now isn't) without crashing, why is suspend or hybernation so difficult?
I mean, the drivers don't have to be told to stop, just remove all CPU cycles from them and freeze them / their memory space as is, and save it. Why do they even have to know what is going on?