Sponsored by Best Buy
Know a Book Lover? Give Them the Sony Reader Touch view!
bestbuy.com - It's sleek and light, stores hundreds of books and has a long lasting battery.
43 Comments
- radu79, on 10/12/2007, -4/+17Suspending them is easy.. Resuming is a little more tricky :)
- ltmon, on 10/12/2007, -1/+10Take the article for what it is: a tutorial for getting suspend to work on a "vanilla" linux distribution (i.e. something you configure yourself such as Slackware, Gentoo or Debian).
Pick up any recent copy of a mainstream desktop linux (Ubuntu, SuSE, Fedora and others) and this stuff is already done for you. Even my ATI card suspends and resumes properly in the latest Ubuntu.
The problem with the word "Linux" is that it doesn't refer to any operating system exclusively. It refers to a kernel which can be packaged with other software to form a cmplete OS with nice stuff (such as supend) preconfigured.
This kind of tutorial is interesting for those who like to know the nitty gritty and configure things themselves. And it's great that we (as linux users) can go into this detail if we really want.
But for the most part, I just close the lid like every Mac and Windows user out there. - inactive, on 10/12/2007, -3/+9My [Dapper] Ubuntu boots cold faster than my Windows hibernation.
- scrubadub, on 10/12/2007, -6/+11Let me guess... you use windows?
- ketsugi, on 10/12/2007, -1/+5I use Ubuntu, and I don't think there's anything these scripts do that Ubuntu's builtin suspend/hibernate features don't. If you can't suspend/hibernate via the logout dialog, then chances are either they won't work at all on your laptop or you'll need to do some conf file tweaking somewhere, and these scripts aren't likely to help either way.
- adolfojp, on 10/12/2007, -1/+5I am quite certain that a laptop that was designed and sold with a Linux distro installed would have this feature enabled by default.
Could you explain to me how to use the Mac OS suspend feature on my gateway laptop? - morningblur, on 10/12/2007, -2/+5Hibernate and suspend already work in Ubuntu out of the gate, so these aren't impossible feats here. However, with the speed that Dapper boots (especially with a modified init) on modern hardware, I don't see the dire necessity of having to do this.
- futaris, on 10/12/2007, -2/+5This works fine in Ubuntu Dapper. Just enable sleep in Gnome Power Manager - System->Preferences->Power Manager...
- KAMI_no_kodomo, on 10/12/2007, -2/+4I use ubuntu (stil the 5.10. Not yet updated).
Suspend I never use (don't see the need for it). But I hibernate him at least 2 times a day (for moving the laptop arount) ant the buld in hibernate function wordk always perfect... As long as I have enough free swap space. But hey thats not dificult to ad a littlle bit swap...
So @Spaz007: I guess the same. (surely since they digg you down). Way do Linux guess tray to make it so hard whan its easy possible? Please people so you gonna have many people who thinks using Linux is hard. - martynda, on 10/12/2007, -4/+6Someone who has actually used Dapper to write comments about it?
- burke, on 10/12/2007, -2/+4Just a word to the wise:
If you're getting a laptop and plan to use Linux, DON'T get one with a Broadcom 4318 wifi card and expect it to work well. - neko, on 10/12/2007, -1/+2"The problem with the word "Linux" is that it doesn't refer to any operating system exclusively. It refers to a kernel which can be packaged with other software to form a cmplete OS with nice stuff (such as supend) preconfigured."
Totally. Do people really expect kernel32.dll to hibernate any custom laptop hardware of their choice? No. You Need Drivers. Laptop manufacturers preinstalling winXP can also preinstall their custom drivers. The Linux hacking community has to do a lot of guesswork to be able to talk to the hardware. - dbr_onix, on 10/12/2007, -1/+2'"Great, now that I can hibernate/suspend Linux I can use it for things like [...] troubleshooting Linux"
"and use my touchpad and not have the GUI crash every ten seconds."
'You can probably patch it yourself, look for where the crash is occuring and make a codehack then submit it to the distr.'
'I'd expect you to get the drivers or learn how to setup networking for one.'
Agret, I think, unless your being sarcastic (which is possible, but hard to tell), you just proved his point.. A LOT of time with Linux seems to be patching, reconfiging and general getting-stuff-to-work.. A lot of people like this, it's fun, but not everyone can, or would even want to fiddle with their OS..
Yes, you could update kernels and reconfigue ACPI and add scripts and etcblahetc, but show "check that ACPI_SLEEP support is built into your kernel by issuing grep ACPI_SLEEP KERNEL_CONFIG . Replace KERNEL_CONFIG with the actual kernel configuration file -- by default" to someone who doesn't know much about Linux that and they'll run..
This might be usefull for some people, but for the people not wanting/knowing how to screw around like this, it should just be built in, and seemlessly work when you press the power button.. Ubuntu does this, and the comment about it "not even supporting wifi" is rubbish, Ubuntu has the best hardware support of all the Distro's I've tried, the only things I've had problems with is a fairly obsure Freeview-TV card (well, the problem was configuring it), and an equally obscure PCI wifi card
- Ben - clickr, on 10/12/2007, -0/+1These guys who state Ubuntu works out of the box for Suspend forget to end their sentences with 'for me'.
All my desktops suspend well, but NONE come back to a good state...so i doesnt frigging work !
And then they mess up an update to X.
No wonder we are the laughing stock of WIndows and Mac freaks again.
Wonder if there ever will be an end to this neverending mess we call distros. - Iam8up, on 10/12/2007, -0/+1What the hell did you do to your Linux?
Out of the box I've never seen problems with any OS other than incompatibility which is fixable and uncommon with mainstream distros.
Go on and use Notepad for your text documents, very smart. Stop breaking you touchpad drivers. Stop breaking X. I'm certain you're using Firefox - this runs just as well on Linux as it does on Windows. - ciphergoth, on 10/12/2007, -1/+2And that's how it should be on any machine on which Linux comes pre-installed.
A tutorial on how to make Windows suspend on new and unusual hardware would be much, much longer. Fortunately the makers of your laptop already read it and implemented it... - concreteclam, on 10/12/2007, -1/+2"Someone who has actually used Dapper to write comments about it?"
Tried both suspending and hibernating on a Dell C610 laptop with Dapper installed. Both work and are able to resume... but both also kill my network and sound drivers until I reboot. Weird. - wolrah, on 10/12/2007, -2/+3As many others have said, the steps to make it work are far simpler:
1. Install Ubuntu 6.06
2. Close lid, leave unattended on battery, or manually select suspend.
3. Done
Between the 3 machines I've installed it on so far, the only piece of hardware that didn't work out of the box was the 7900GT in my desktop, and 5 clicks later that was installed as well. Linksys Bluetooth adapter, Intel WiFi, surround sound, GMA900, all working flawlessly right out of the box. In the past, only one of the three machines (a generic P4 IBM from about 3 years ago) was fully supported, but now my sub-1yr old homebrew desktop and very new Dell laptop (work machine) both just worked.
If I wasn't betaing Vista's 360 MCE functionality, there wouldn't be any Windows installed on my desktop, the laptop is all Linux now, and the IBM would be all Linux if I wasn't stuck using Outlook and IE for some work stuff (yay for Broadsoft's BroadVoice platform having some junked up javascript in its configuration pages....). - badriram, on 10/12/2007, -2/+3Oddly enough dapper was the first linux distro to work with my wirelss card out of the box, although i still need to install networkManager for WPA2. (Suse came close, but i needed to manually download the firmware for ipw3945) Both suspend and hibernate seemed to work flawlessly on my Dell Inspiron E1505 without any tweaking.
After using linux since 95-96, this frankly was the first time I could get a distribution up and running in under an hour without any major issues. It really speaks volumes of how much effort has gone into ubuntu - Agret, on 10/12/2007, -3/+3"(My Mac doesnt' count)" thats cause your running Linux on it right? and if it doesn't count why'd you mention it?
- neko, on 10/12/2007, -1/+1Exactly! looked at the article, saw "ACPI" and "kernel", and knew straightaway this was not the right approach for most people. It should normally just be a simple button somewhere, and for extra credit you can hook it up to one of the laptop's vendor-specific hotkeys.
But that's the thing, vendor support. Laptops have all sorts of crazy custom hardware in them. The vendors:
1. decide OK we'll support windows XP,
2. write some drivers, tray applets to support Suspend on their hardware for winXP
3. bundle in some spyware (optional)
... and that's that. Problem solved....
unless you want to use a different OS. Different meaning anything, not just Linux.
- win98? (well you could argue, why bother, but some people may still have a win98 licence and not want to pay for the winXP licence)
- windows xp 64-bit? well you might have a 64-bit processor in there, but unless your vendor friend has written winxp64-bit drivers, you're in the same boat as the rest of us, with things like Suspend not working.
In short, this guide is great if your laptop comes with unsupported hardware, but I think it'd be much nicer to have Linux preinstalled and with vendor support for the special devices. - viper233, on 10/12/2007, -4/+4If Linux isn't suitable for the laptop/desktop what is then? Microsoft Windows? It's still got a long way to go to become a lot more user friendly... but I guess having a Monopoly makes it seem like the better choice at this time.
- Agret, on 10/12/2007, -4/+4Which Distro of linux are you using? Which Window Manager? Doesn't sound like one i've ever used...
- ddales, on 10/12/2007, -1/+1Right on the money. I can suspend my IBM R51 under OpenSuse 10.1 with little to no effort. Waking that bastard up is something completely different. However, there is an IBM Laptop section under the Gecko > Personal Settings > System Administration. You have to install some seperate patches and stuff but it tells you what to do. Then everything works just fine, even the "special" buttons with OSD. The exception is your Access IBM button because I wacked the IBM system partition when I installed Suse. It might work though if you don't overwrite the partition, not sure.
- culbeda, on 10/12/2007, -0/+0Wow. Ubuntu 6.06 really is cutting edge!
I'm sorry, but the very fact that articles like this exist and the fact that people BRAG that their favorite distro can SUSPEND is a symptom of the much larger problem with Linux on the desktop.
It's a great server platform and an INCREDIBLE embedded platform, but the desktop has a ways to go. - computerdude33, on 10/12/2007, -1/+1OK, sure! Just get the source code from Apple and hack and slash away.
- nbags, on 10/12/2007, -1/+1I'm using Dapper and Gentoo on a Thinkpad x40 and suspend-to-ram works flawlessly in both distros.
However suspend-to-disk does not work in either distro. Video card problems in Dapper (Intel 855GM) and Wireless problems on Gentoo (Intel 2200BG). I tried everything to get the wireless to work on resume but had no success.
Does anyone know where the suspend/resume scripts are in Ubuntu so I can have a bit of a tweak? - Agret, on 10/12/2007, -5/+4"Great, now that I can hibernate/suspend Linux I can use it for things like typing in text files and troubleshooting Linux, then switch to XP when I need to do useful things like use the internet"
Maybe you should learn how to use Linux??
"and use my touchpad and not have the GUI crash every ten seconds."
You can probably patch it yourself, look for where the crash is occuring and make a codehack then submit it to the distr.
"I can't believe after all the hype of Dapper it still doesn't even work with wireless. Then again, what more can you expect?"
I'd expect you to get the drivers or learn how to setup networking for one. - CharlesDarwin, on 10/12/2007, -2/+1Why am I suprised that nobody on digg has heard of lphdisk (elf disk)?
My PIII Gateway laptop has had this functionality for like 3 years. - filmil, on 10/12/2007, -1/+0Mind you that if you use drivers that do not support suspend or hibernate, you will likely not get what you want. An example of such a driver is the NVidia native display driver for GeForce. At least for the time being.
On the other note, I have yet to see a laptop where hibernation actually works. Regarless of the OS. (but maybe that's just my luck:) - craterburnsu, on 10/12/2007, -3/+2I kept meaning to look into putting my linux laptop to hibernate.
- gh02t, on 10/12/2007, -4/+3Yeah, its kinda obvious. It does get some cred for mentioning the hibernate patches tho.
- jjkurtz, on 10/12/2007, -5/+3Same here. I close my lid when I want it to sleep and press power when I want it to resume. Every bit as easy as my iBook used to be.
But to each his own I guess. I just like seeing over a month listed as my uptime output. ;) - pabster, on 10/12/2007, -4/+2Here we go again.
Another long winded tutorial about how to accomplish something so basic it ought to be an afterthought. - m242, on 10/12/2007, -7/+5The subtitle of this article is "why the Mac is kicking our ass", right? Write a shell script, modify your X conf, and apply a patch to the kernel? Versus just closing the lid?
- phytonix, on 10/12/2007, -5/+2never really shut down my PowerBook it is always sleeping...while traveling
and maybe 3-4 years ago I cannot really hibernate my Mandrake. - inactive, on 12/26/2008, -7/+1Trying to be sarcastic? :D Obviously I was talking about MS Windows...
- inactive, on 12/26/2008, -11/+2Don't get me wrong, I love Linux for the things it was REALLY meant for... But a tutorial on how to suspend and hibernate? Let's see. In a standard desktop operating system it would be Start -> Shut Down -> Hibernate. No need for 'tutorials' :D.
- Spaz007, on 10/12/2007, -16/+5Funny but not
- slicedoranges, on 10/12/2007, -16/+3Ha! Ha! I'm using the internet!
- TheComputerMutt, on 10/12/2007, -17/+3I'm guessing it doesn't work, or there wouldn't be a story like this.
EDIT: This was supposed to be a reply to "So I'm guessing the button that says suspend is too hard." by Spaz007. Nice name, by the way. Except not. - Spaz007, on 10/12/2007, -23/+7So I'm guessing the button that says suspend is too hard.
- 7of7, on 10/12/2007, -19/+3Great, now that I can hibernate/suspend Linux I can use it for things like typing in text files and troubleshooting Linux, then switch to XP when I need to do useful things like use the internet and use my touchpad and not have the GUI crash every ten seconds. I can't believe after all the hype of Dapper it still doesn't even work with wireless. Then again, what more can you expect?
What is Digg?