{"id":40,"date":"2010-12-02T16:54:53","date_gmt":"2010-12-02T16:54:53","guid":{"rendered":"http:\/\/blog.danplanet.com\/wordpress\/?p=40"},"modified":"2012-02-09T16:11:03","modified_gmt":"2012-02-09T16:11:03","slug":"acpi-events-on-a-toughbook-cf-29","status":"publish","type":"post","link":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/","title":{"rendered":"ACPI Events on a Toughbook CF-29"},"content":{"rendered":"<p>I have a <a href=\"http:\/\/www.pencomputing.com\/frames\/panasonic_cf29.html\">Panasonic Toughbook CF-29<\/a> that I use for situations where I don&#8217;t want to take my regular office-ish notebook.\u00a0 I am planning to take and use it at the <a href=\"http:\/\/www.eaglecapextreme.com\/\">2011 Eagle Cap Extreme<\/a> event for digital communications.\u00a0 I run Ubuntu on it (10.10 currently) which works mostly out of the box without any trouble.\u00a0 However, a couple of the ACPI events don&#8217;t work; specifically the suspend and hibernate buttons.\u00a0 I ran acpid in debug mode and it appears that the event IDs are different on the toughbook from what they are on most other manufacturers.<\/p>\n<p>If you look in \/etc\/acpi\/events, you&#8217;ll see that there are several per-manufacturer configuration files for catching their uniquely-identified events and plumbing them to the correct scripts.\u00a0 By copying and modifying two of these, I was able to get my buttons to work.<\/p>\n<p>From a terminal (or Alt+F2 Run prompt), type <\/p>\n<blockquote>\n<pre><font face=\"courier new,courier\">gksudo gedit \/etc\/acpi\/events\/tb-sleep<\/font><\/pre>\n<\/blockquote>\n<p> and paste the following in the resulting blank editor window:<\/p>\n<blockquote>\n<pre><font face=\"courier new,courier\">event=pcc HKEY 00000080 00000007<br \/>action=\/etc\/acpi\/sleepbtn.sh <\/font><br \/><\/pre>\n<\/blockquote>\n<p>Save and close and then run <\/p>\n<blockquote>\n<pre><font face=\"courier new,courier\">gksudo gedit \/etc\/acpi\/events\/tb-hibernate<\/font><\/pre>\n<\/blockquote>\n<p> and paste the following: <\/p>\n<blockquote>\n<pre><font face=\"courier new,courier\">event=pcc HKEY 00000080 0000000a<br \/>action=\/etc\/acpi\/hibernate.sh<\/font><br \/><\/pre>\n<\/blockquote>\n<p>Then, either reboot your machine or run sudo service acpid restart to make the changes active.\u00a0 When you press your (Fn+) suspend or hibernate keys, the system should now react accordingly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a Panasonic Toughbook CF-29 that I use for situations where I don&#8217;t want to take my regular office-ish notebook.\u00a0 I am planning to take and use it at the 2011 Eagle Cap Extreme event for digital communications.\u00a0 I &hellip; <a href=\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[58],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-linux","tag-acpi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ACPI Events on a Toughbook CF-29 - Right Angles<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ACPI Events on a Toughbook CF-29 - Right Angles\" \/>\n<meta property=\"og:description\" content=\"I have a Panasonic Toughbook CF-29 that I use for situations where I don&#8217;t want to take my regular office-ish notebook.\u00a0 I am planning to take and use it at the 2011 Eagle Cap Extreme event for digital communications.\u00a0 I &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\" \/>\n<meta property=\"og:site_name\" content=\"Right Angles\" \/>\n<meta property=\"article:published_time\" content=\"2010-12-02T16:54:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-02-09T16:11:03+00:00\" \/>\n<meta name=\"author\" content=\"Dan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\"},\"author\":{\"name\":\"Dan\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\"},\"headline\":\"ACPI Events on a Toughbook CF-29\",\"datePublished\":\"2010-12-02T16:54:53+00:00\",\"dateModified\":\"2012-02-09T16:11:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\"},\"wordCount\":208,\"publisher\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\"},\"keywords\":[\"acpi\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\",\"url\":\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\",\"name\":\"ACPI Events on a Toughbook CF-29 - Right Angles\",\"isPartOf\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#website\"},\"datePublished\":\"2010-12-02T16:54:53+00:00\",\"dateModified\":\"2012-02-09T16:11:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.danplanet.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ACPI Events on a Toughbook CF-29\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/#website\",\"url\":\"https:\/\/www.danplanet.com\/blog\/\",\"name\":\"Right Angles\",\"description\":\"If they&#039;re not right...they&#039;re wrong\",\"publisher\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.danplanet.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c\",\"name\":\"Dan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g\",\"caption\":\"Dan\"},\"logo\":{\"@id\":\"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.danplanet.com\/blog\/author\/dan\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ACPI Events on a Toughbook CF-29 - Right Angles","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/","og_locale":"en_US","og_type":"article","og_title":"ACPI Events on a Toughbook CF-29 - Right Angles","og_description":"I have a Panasonic Toughbook CF-29 that I use for situations where I don&#8217;t want to take my regular office-ish notebook.\u00a0 I am planning to take and use it at the 2011 Eagle Cap Extreme event for digital communications.\u00a0 I &hellip; Continue reading &rarr;","og_url":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/","og_site_name":"Right Angles","article_published_time":"2010-12-02T16:54:53+00:00","article_modified_time":"2012-02-09T16:11:03+00:00","author":"Dan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Dan","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/#article","isPartOf":{"@id":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/"},"author":{"name":"Dan","@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c"},"headline":"ACPI Events on a Toughbook CF-29","datePublished":"2010-12-02T16:54:53+00:00","dateModified":"2012-02-09T16:11:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/"},"wordCount":208,"publisher":{"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c"},"keywords":["acpi"],"articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/","url":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/","name":"ACPI Events on a Toughbook CF-29 - Right Angles","isPartOf":{"@id":"https:\/\/www.danplanet.com\/blog\/#website"},"datePublished":"2010-12-02T16:54:53+00:00","dateModified":"2012-02-09T16:11:03+00:00","breadcrumb":{"@id":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.danplanet.com\/blog\/2010\/12\/02\/acpi-events-on-a-toughbook-cf-29\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.danplanet.com\/blog\/"},{"@type":"ListItem","position":2,"name":"ACPI Events on a Toughbook CF-29"}]},{"@type":"WebSite","@id":"https:\/\/www.danplanet.com\/blog\/#website","url":"https:\/\/www.danplanet.com\/blog\/","name":"Right Angles","description":"If they&#039;re not right...they&#039;re wrong","publisher":{"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.danplanet.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/0f6920aa6d63cae437bf8b122200287c","name":"Dan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9b73782704be64dd8c030087af2d1ae0c1dc488cad69093ff0366dbaad2de673?s=96&d=mm&r=g","caption":"Dan"},"logo":{"@id":"https:\/\/www.danplanet.com\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/www.danplanet.com\/blog\/author\/dan\/"}]}},"_links":{"self":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":1,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":216,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions\/216"}],"wp:attachment":[{"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.danplanet.com\/blog\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}