{"id":143,"date":"2007-05-07T02:40:40","date_gmt":"2007-05-07T02:40:40","guid":{"rendered":"http:\/\/www.reactivated.net\/weblog\/archives\/2007\/05\/dell-laptop-lcds-not-powering-up-on-lid-open-event\/"},"modified":"2007-06-17T00:08:21","modified_gmt":"2007-06-17T00:08:21","slug":"dell-laptop-lcds-not-powering-up-on-lid-open-event","status":"publish","type":"post","link":"http:\/\/www.reactivated.net\/weblog\/archives\/2007\/05\/dell-laptop-lcds-not-powering-up-on-lid-open-event\/","title":{"rendered":"Dell laptop LCDs not powering up on lid open event"},"content":{"rendered":"<p>My Dell Inspiron 640m laptop has some strange behaviour which irritates me: when the lid is closed, the display turns off as you might expect. However, when the lid is opened, the display remains off.<\/p>\n<p>The workaround up to this point has been to use acpid to listen for &#8220;lid open&#8221; events, and then have an event handler which uses vbetool (or xset) to restore power to the display.<\/p>\n<p>I&#8217;ve been digging deeper into this problem, and have realised that the above behaviour is entirely due to the behaviour coded into the system ACPI tables (DSDT). With just a few lines of code, this strange behaviour can be &#8220;corrected&#8221;.<\/p>\n<p>I&#8217;ve posted a <a href=\"http:\/\/www.reactivated.net\/systems\/dell-640m\/dsdt\/01_lid-power-lcd.patch\">DSDT patch<\/a> to fix this. To use it, you have to decompile your DSDT, apply the patch, recompile it, and then build it into your kernel. For interested people, there are plenty of DSDT-patching guides on the Gentoo Forums and similar.<\/p>\n<p>After applying this fix, I can uninstall acpid completely and the screen blank\/unblank &#8220;just works&#8221;. The above patch is suitable for Dell 640m and e1405 models, and possibly others too.<\/p>\n<p><b>UPDATE:<\/b> I&#8217;m working on kernel patches which will mean that no DSDT hacking is needed, and LCD resuming will <em>really<\/em> &#8220;just work&#8221;. Keep an eye on my weblog for more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Dell Inspiron 640m laptop has some strange behaviour which irritates me: when the lid is closed, the display turns off as you might expect. However, when the lid is opened, the display remains off. The workaround up to this point has been to use acpid to listen for &#8220;lid open&#8221; events, and then have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-gentoo"],"_links":{"self":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":0,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/tags?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}