{"id":125,"date":"2015-06-24T11:29:28","date_gmt":"2015-06-24T11:29:28","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2015\/06\/24\/tips-thinkpad-x220-debian-jessie\/"},"modified":"2015-06-24T11:29:28","modified_gmt":"2015-06-24T11:29:28","slug":"tips-thinkpad-x220-debian-jessie","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=125","title":{"rendered":"Tips Thinkpad X220 &#8211;  Debian Jessie"},"content":{"rendered":"<h3 id=\"Graphics\">Graphics<\/h3>\n<p class=\"line862\">To make graphical boot work (for example using <a class=\"interwiki\" href=\"https:\/\/packages.debian.org\/plymouth-drm\" title=\"DebianPkg\">plymouth-drm<\/a>), enable modesetting in <tt class=\"backtick\">\/etc\/modules<\/tt>:<\/p>\n<pre>\n<span style=\"color:#0000cd\">i915 modeset=1<\/span><\/pre>\n<p class=\"line862\">and then run <tt class=\"backtick\">update-initramfs&nbsp;-u<\/tt>.<\/p>\n<p class=\"line862\">&#8211;<\/p>\n<h3 id=\"laptop-mode-tools\">Laptop-mode-tools<\/h3>\n<div dir=\"ltr\" id=\"InstallingDebianOn.2FPageFragmentThinkpadLaptopMode.2Fjessie.content\" lang=\"en\">\n<p class=\"line862\">If you use <a class=\"interwiki\" href=\"https:\/\/packages.debian.org\/laptop-mode-tools\" title=\"DebianPkg\">laptop-mode-tools<\/a>, you will need the following in <tt class=\"backtick\">\/etc\/laptop-mode\/conf.d\/lcd-brightness.conf<\/tt> to configure the brightness of the screen:<\/p>\n<pre>\nBATT_BRIGHTNESS_COMMAND=&quot;echo 3000&quot;\nLM_AC_BRIGHTNESS_COMMAND=&quot;cat \/sys\/class\/backlight\/intel_backlight\/max_brightness&quot;\nNOLM_AC_BRIGHTNESS_COMMAND=&quot;cat \/sys\/class\/backlight\/intel_backlight\/max_brightness&quot;\nBRIGHTNESS_OUTPUT=&quot;\/sys\/class\/backlight\/intel_backlight\/brightness&quot;<\/pre>\n<p class=\"line862\">and the following in <tt class=\"backtick\">\/etc\/laptop-mode\/conf.d\/cpufreq.conf<\/tt> to use the correct CPU governors:<\/p>\n<pre>\nBATT_CPU_GOVERNOR=powersave\nLM_AC_CPU_GOVERNOR=performance\nNOLM_AC_CPU_GOVERNOR=performance<\/pre>\n<\/div>\n<p><a href=\"https:\/\/wiki.debian.org\/InstallingDebianOn\/Thinkpad\/T420\/jessie\" target=\"_blank\" rel=\"noopener noreferrer\">Credits<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Graphics To make graphical boot work (for example using plymouth-drm), enable modesetting in \/etc\/modules: i915 modeset=1 and then run update-initramfs&nbsp;-u. &#8211; Laptop-mode-tools If you use laptop-mode-tools, you will need the following in \/etc\/laptop-mode\/conf.d\/lcd-brightness.conf to configure the brightness of the screen: &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=125\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/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-125","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=125"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}