PDA

View Full Version : If you have a laptop/netbook with Linux on it, do you suspend or shut down?



aysiu
May 26th, 2009, 05:25 PM
I've been using Ubuntu for four years now, and I've seen the state of suspend-to-RAM get a lot better over the years.

Now I have an HP Mini, and I'm happy to say suspend-to-RAM works perfectly on the Mie it comes with (a customized Ubuntu 8.04 interface) and works almost perfectly (wireless is a little slow to connect afterwards) with standard Ubuntu 9.04.

So I pretty much suspend to RAM all the time. Occasionally, I'll shut down.

What do you all do?

gn2
May 26th, 2009, 05:29 PM
Usually suspend to RAM which works perfectly in 8.04 on my Asus F9E.

Shut down at night if I won't be using it the next day.

rax_m
May 26th, 2009, 05:30 PM
Shutdown..

Sadly, upon resume from sleep sound doesn't work. And upon resume from hibernate my fans don't work properly!
My next laptop will definitely be more Linux compatible.

RaZe42
May 26th, 2009, 05:30 PM
I usually just shut down my laptop when I don't use it. Since it boots so fast it's no big deal.(I've also put GDM to autologin, so I can just leave the laptop to boot by itself while I do something else.)

Now if I only could speed up my BIOS :)

MaxIBoy
May 26th, 2009, 05:32 PM
Usually, I suspend to RAM. Overnight, or when the battery is very low, I just shut it down, as cold boots are much faster than suspend-to-disk (especially after my boot time optimizations.)

FuturePilot
May 26th, 2009, 05:32 PM
I usually hibernate my laptop at night, and suspend it during the day when I'm not using it. With this particular laptop I've never really had a problem with hibernate or suspend.

yoasif
May 26th, 2009, 05:35 PM
i have to hibernate, because suspend does not work.

run1206
May 26th, 2009, 05:39 PM
i suspend to RAM

hessiess
May 26th, 2009, 05:39 PM
Usuily suspend to ram, occationaly locks up while suspending requireing a force power off.

Simian Man
May 26th, 2009, 05:43 PM
Suspend and hibernate both work flawlessly on my laptop, but take about the same amount of time as just shutting down and then starting up. So I do that most of the time, but suspend when I want to keep my apps open.

gn2
May 26th, 2009, 05:45 PM
Sadly, upon resume from sleep sound doesn't work.

You should be able to re-start it with a terminal command, e.g:


sudo /etc/init.d/alsa-utils restart

I have to do this on my desktop PC and created a panel launcher for it by right-clicking on the panel, then:

Add to panel > Custom Application Launcher > Type > Application in terminal
Name: Sound Restart
Command: sudo /etc/init.d/alsa-utils restart
Icon: /usr/share/icons/hicolor/scalable/apps/gnome-sound-properties.svg
Comment: Restart sound after suspend

Neheb
May 26th, 2009, 06:19 PM
Because of dual-booting and having to use windows quite a lot (for ut3 editor, XNA and, before, c++) I usually shut down because I never know what OS I am going to have to start up when I use it next.

RiceMonster
May 26th, 2009, 06:25 PM
hibernate if I'm taking it somewhere (its not plugged in) suspend if its on my desk or something. It suspends when I close the lid. I only reboot/shutdown for the ocassional kernal update or something.

wersdaluv
May 26th, 2009, 06:33 PM
I'm fond of putting my computer to sleep. It uses very little battery in that state. Sleep is especially useful for me whenever I'm in school. To save battery life, I put my laptop to sleep whenever I move from a classroom to another or something like that.

Dragonbite
May 26th, 2009, 06:41 PM
I shut down, my wife suspends to RAM. With the faster jaunty boot-up I'm not loosing all that much time starting from OFF or SUSPEND so might as well make it a cleaner bootup.

Now, part of that could be because I only have 512 MB of RAM. Perhaps if I increase that then Suspend will be faster and I may change my mind.

RiceMonster
May 26th, 2009, 06:47 PM
Suspend is lighning fast for me; it's pretty much instantanious. I have 2GB of ram. Hibernate is a little slow, however.

SuperSonic4
May 26th, 2009, 06:49 PM
I shutdown the laptop if I'm not using for more than half an hour

Idaho Dan
May 26th, 2009, 06:53 PM
I always shut down.
I never have tried suspend. HP Pavilion ZV6130US.

aeiah
May 26th, 2009, 06:56 PM
usually shutdown. we have an acer aspire one. i say we because me and my girlfriend bought it together. she takes it on her commute during the week and i think she just closes the lid (suspend to ram).

i havent done tests to see how much battery it uses in this state but its probably so little that i might as well use it. hibernate to disk takes about 15 sec to boot up and boot from power off takes about 20 seconds so there isnt much point using that, plus it also means that a thief has automatically bypassed the BIOS password.

ghindo
May 26th, 2009, 06:58 PM
It's a tossup between shutting down and suspending to RAM. If I'm going to move my laptop around, I'll shut it down. If I'm going to leave it in one place, I'll use suspend (which works flawlessly for me).

pookiebear
May 26th, 2009, 07:38 PM
shutdown cause I am using it all day and I shut it down at night when I am sleeping.

Warpnow
May 26th, 2009, 07:41 PM
Shutdown.

My Kuki Linux on the AA1 boots in under 10 seconds, so...why not?

dragos240
May 26th, 2009, 08:57 PM
When I suspend any computer something wrong happens every time.... I ALWAYS shut down.

billgoldberg
May 26th, 2009, 09:50 PM
I've been using Ubuntu for four years now, and I've seen the state of suspend-to-RAM get a lot better over the years.

Now I have an HP Mini, and I'm happy to say suspend-to-RAM works perfectly on the Mie it comes with (a customized Ubuntu 8.04 interface) and works almost perfectly (wireless is a little slow to connect afterwards) with standard Ubuntu 9.04.

So I pretty much suspend to RAM all the time. Occasionally, I'll shut down.

What do you all do?

Suspend and hibernation work, but with Jaunty's bootup speeds I don't need them.

raymondh
May 26th, 2009, 09:56 PM
suspend during the day ... shutdown at night

lethalfang
May 26th, 2009, 10:28 PM
My laptop cannot wake up from suspend or hibernate.
When it tries to wake up, I'm usually stuck at the password prompt but I cannot type on it. The mouse moves around okay, but I'm not sure the click is working because I can't get the cursor in the typing-box to start blinking, and the keyboard is unresponsive.

LowSky
May 26th, 2009, 10:34 PM
I have a Lenovo S10, I usually just shut down, but I have used the other methods every once in a while and they all work flawlessly, at least they seem to... hmm now you have me guessing... when I get home I'm checking...lol

don_quixote
May 27th, 2009, 01:51 AM
Hibernate. Suspend to RAM is the one thing that does NOT work on my lappy.

don_quixote
May 27th, 2009, 01:53 AM
My laptop cannot wake up from suspend or hibernate.
When it tries to wake up, I'm usually stuck at the password prompt but I cannot type on it. The mouse moves around okay, but I'm not sure the click is working because I can't get the cursor in the typing-box to start blinking, and the keyboard is unresponsive.

Have you tried these instructions?

http://ubuntuforums.org/showthread.php?t=752647&highlight=ubuntu+suspend

Einsamkeit
May 27th, 2009, 03:14 AM
Hibernate/Sleep works flawlessly, but when I don't use my equipment I try to shut it down, minimizing power usage / hardware wear&tear.

Xbehave
May 27th, 2009, 03:34 AM
shutdown when im done, hibernate when im not

my suspend doesn't work (acer aspire 5101), i know what i need to do to fix it but i the system doesn't seam to responds to the correct settings (i have a manual script that i can run but doesn't always work). Also my computer crashes so often (hardware fault) that I save everything to disk ASAP so no need to suspend!

Trail
May 27th, 2009, 08:39 AM
I don't get the deal with hibernate and suspend. It would save me, what, 20 seconds? I don't bother. I always shut down.

Erik Trybom
May 27th, 2009, 09:45 AM
I don't get the deal with hibernate and suspend. It would save me, what, 20 seconds? I don't bother. I always shut down.
It's not just that it starts quicker, it's that you can continue working right where you left off. All programs and open documents remain exactly where you left them. This can save anything from a few seconds to several minutes depending on what you're doing and how many applications you have open.

kerry_s
May 27th, 2009, 10:09 AM
i always suspend if i can, i'm on & off the computer constantly, could be every couple of minutes, could be hours, it just doesn't make sense to keep turning it on & off.
it took me forever to get suspend right on this junker of a desktop though.
i finally figured out i had to add "acpi_sleep=s3_bios" to grub and i had to add "ADD_PARAMETERS="--quirk-s3-bios" " to /etc/pm/config.d/config
no more black screens or dead monitor on resume now, it just works perfectly everytime.

lisati
May 27th, 2009, 10:27 AM
I have to shut down on the laptop I normally use for Ubuntu - the battery charging department seems to have gone south some time ago (haven't had the patience, inclination or budget to do major troubleshooting, repairs or replacement) and I like to turn the home computer department off at the wall each night.

Kingsley
May 27th, 2009, 10:34 AM
The blue power light on my laptop blinks when the computer is suspended. That bothers the hell out of me at night when I'm trying to sleep, so I have to shut down.

gn2
May 27th, 2009, 10:36 AM
You could disconnect the light?

Edit: oops, forgot it was a laptop :redface:

spupy
May 27th, 2009, 11:44 AM
I think Suspend it awesome. While waiting for my friends' laptops to load, I just flip the lid and TA-DAAA. Only the mac guy can rival the speed. Going to sleep - why bother saving files, closing programs, clicking shutdown - just close the lid. Need to check your mail/calendar - why wait 1 minute - just open the lid.

Stefanie
May 27th, 2009, 11:59 AM
I usually hibernate my laptop (and even my desktop because I want to keep my apps open). My eee is running pure openbox so the gnome/kde suspend/hibernate aren't avalailable, but I just discovered that sudo pm-suspend works really well so I'll probably start using that now :-)

Dragonbite
May 27th, 2009, 01:38 PM
The blue power light on my laptop blinks when the computer is suspended. That bothers the hell out of me at night when I'm trying to sleep, so I have to shut down.

Black electrical tape? May not look good during the day but should do the trick at night!

I'm glad for the slowly-fading light because I have 2 hard drives for my laptop and this light tells me if my wife has suspended her system or not. If she has, I have to go in and shut it down first, otherwise it's free game to pull out the old hard drive and put in the new.

mamamia88
May 27th, 2009, 01:52 PM
always suspend. i'm on a mission to see if i can keep this laptop on for 6 months until next release

automaton26
May 27th, 2009, 02:37 PM
I never know whether I'm going to restart in Windows or Linux next time, so I have to shutdown.

I also unplug my laptop - I'm not paying to heat the room by leaving the power adapter ever-so-slightly warm ;)

emeraldgirl08
May 27th, 2009, 02:41 PM
I've never put my computers in suspend. It's a concern of electrical-usage and habit that I shut it down.

I've read here on the forums of members who had their laptops turn into a zombie because of suspending.

init1
May 27th, 2009, 03:04 PM
I would probably use suspend more if it worked in Ubuntu.

JohnFH
May 27th, 2009, 03:37 PM
I would probably use suspend more if it worked in Ubuntu.

It does.

Xbehave
May 27th, 2009, 03:54 PM
I never know whether I'm going to restart in Windows or Linux next time, so I have to shutdown.
Hibernate will still go through grub on bootup so you can hibernate (but not suspend) and then boot into windows anyway. If you wanted you could hibernate both windows and Linux separately and still boot into either.

Updated my vbe file and now my resume script workds again :D (debian), but i only suspend if i know im going to be using the box v.soon (e.g if im carrying the laptop to another room as otherwise it will crash)

my script fixes the screen when its gone crazy
i made a vbe file
sudo "vbetool vbestate save > vbe"
then when it goes crazy on resume run:

kdesu -c "vbetool vbestate restore < vbe"
anybody know what i have to edit to get it working by default

init1
May 27th, 2009, 04:00 PM
It does.
Not on my laptop.

aysiu
May 27th, 2009, 04:08 PM
It does.
It depends on your hardware configuration.

Vostrocity
May 27th, 2009, 04:31 PM
Hibernate is definitely the future. Notice how Vista puts Hibernate as the default over Shut Down? Back when I only used Vista, the only times I had to completely shut down my computer was when it crashed. Unfortunately Hibernate in Ubuntu isn't working for me so I use Suspend.


And can someone explain to me what that patchwork cat thing is that everyone uses for their avatar?

aysiu
May 27th, 2009, 04:40 PM
Hibernate is definitely the future. I hope it's not the near future, because I have 2 GB of RAM and a 16 GB SSD. Do you know how big my swap partition would have to be for hibernate to work properly (right now my swap partition is non-existent)?

Dragonbite
May 27th, 2009, 05:04 PM
I hope it's not the near future, because I have 2 GB of RAM and a 16 GB SSD. Do you know how big my swap partition would have to be for hibernate to work properly (right now my swap partition is non-existent)?

That's the only reason for me keeping a swap partition. Otherwise, I rarely use it anyhow and that's with a measly 512 MB of Ram!

Xbehave
May 27th, 2009, 05:11 PM
I hope it's not the near future, because I have 2 GB of RAM and a 16 GB SSD. Do you know how big my swap partition would have to be for hibernate to work properly (right now my swap partition is non-existent)?
using swap for hibernate is an "it works" hack for linux, i hope eventually (probably once hibernation is well designed in the kernel) that hibernation tools will be better designed in userspace too. If you have no swap but your disk isn't full you may want to use a hibernate file(a swap file just for hibernating)
it is also unlikely that you need 2GB to hibernate i need ~80% of used(not just cached) memory to suspend, so if your good with bash scripts you could create a hibernate file on demand and have it created at the correct size, otherwise trial and error (or watching your system suspend by disabling usplash) will probably tell you how big the file has to be.


total used free shared buffers cached
Mem: 1473 1461 12 0 49 769
Swap: 951 134 817

I hibernate fine with 951M swap but 1473M ram (and i use that ram for stuff like /tmp too)