{"id":138,"date":"2010-05-29T20:59:56","date_gmt":"2010-05-30T01:59:56","guid":{"rendered":"http:\/\/littlesvr.ca\/grumble\/?p=138"},"modified":"2012-12-05T00:55:45","modified_gmt":"2012-12-05T05:55:45","slug":"suspend-and-hibernate-in-linux","status":"publish","type":"post","link":"http:\/\/littlesvr.ca\/grumble\/2010\/05\/29\/suspend-and-hibernate-in-linux\/","title":{"rendered":"Suspend and hibernate in Linux"},"content":{"rendered":"<p>Suspend and hibernate have been a sad story on Linux for a very long time. Typically the hardware makers are blamed, saying &#8220;oh they all do it differently none of it&#8217;s documented&#8221;. That may be true but it&#8217;s a bunch of horseshit anyway &#8211; hardly any of the hardware that works at all or perfectly in Linux is the same or is documented.<\/p>\n<p>A couple of days ago I upgraded to Slackware 13.1. I left suspend as the last thing to set up, as it wasn&#8217;t working at all in 13.0 and barely working in 12.2. And you know what? It works now, it just works. I could hardly believe it. No messing with ACPI options, no hooks to remove my USB modules, no fancy keyboard configuration. I just press my FnF5 and it goes to sleep.<\/p>\n<p>That was pretty impressive to begin with. And then I tried to hibernate. One try and I realised I needed an extra resume=\/dev\/sda5 in my lilo.conf. That one change.. and.. hibernate also works.<\/p>\n<p>I am shocked. In a good way. Suspend is a must on a laptop and hibernate is <em>really<\/em> nice to have. Thanks, whomever fixed this!<\/p>\n<p>For reference: I have an HP G50 and Slackware 13.1 comes with the kernel 2.6.33.4<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Suspend and hibernate have been a sad story on Linux for a very long time. Typically the hardware makers are blamed, saying &#8220;oh they all do it differently none of it&#8217;s documented&#8221;. That may be true but it&#8217;s a bunch of horseshit anyway &#8211; hardly any of the hardware that works at all or perfectly &hellip; <\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-andrew","4":"post-138","6":"format-standard","7":"category-opensource"},"_links":{"self":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":3,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":631,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/posts\/138\/revisions\/631"}],"wp:attachment":[{"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/littlesvr.ca\/grumble\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}