{"id":502,"date":"2020-04-25T12:54:34","date_gmt":"2020-04-25T11:54:34","guid":{"rendered":"http:\/\/robert.vanyi.org\/en\/?p=502"},"modified":"2020-04-25T12:54:34","modified_gmt":"2020-04-25T11:54:34","slug":"debian-linux-on-a-hp-250-g7","status":"publish","type":"post","link":"https:\/\/robert.vanyi.org\/en\/archives\/502","title":{"rendered":"Debian Linux on a HP 250 G7"},"content":{"rendered":"<p>After several years the time has come to replace our aging Thinkpad Edge330. Our choice was a HP 250 G7 with Core i7, 512GB SSD and 16GB RAM. Regarding the OS, there was no question: Debian. At the time of installing it was Debian 10 (&#8220;buster&#8221;). Below some points regarding the installation:<\/p>\n<ol>\n<li>Installation worked out of the box, even with SecucreBoot enabled, no problems with the netinst image, with two exceptions:\n<ul>\n<li>Wireless LAN is not working (Realtek RTL8821CE)<\/li>\n<li>Brightness control keys are not working<\/li>\n<\/ul>\n<\/li>\n<li>There is a solution for the wireless driver, works as described on several forums:\n<ul>\n<li>install the tools:<br \/>\n<code>apt-get install git dkms build-essential<\/code>\n<\/li>\n<li>get the source:<br \/>\n<code>git clone https:\/\/github.com\/tomaspinho\/rtl8821ce<\/code>\n<\/li>\n<li>build the kernel module:<br \/>\n<code>cd rtl8821ce<br \/>\nchmod +x dkms-install.sh<br \/>\nchmod +x dkms-remove.sh<br \/>\n.\/dkms-install.sh<\/code>\n<\/li>\n<\/ul>\n<\/li>\n<li>To keep using SecureBoot the driver must be signed as described on <a href=\"https:\/\/wiki.debian.org\/SecureBoot.\">https:\/\/wiki.debian.org\/SecureBoot.<\/a> Otherwise you get the following error message:<br \/>\n<code>Apr 24 22:58:55 hp250 kernel: [ 3762.662396] Lockdown: Loading of unsigned modules is restricted; see https:\/\/wiki.debian.org\/SecureBoot<\/code><br \/>\nYou can disable SecureBoot so it will work with the following warning in the kernel log:<br \/>\n<code>Apr 25 13:22:40 hp250 kernel: [    3.402154] 8821ce: loading out-of-tree module taints kernel.<br \/>\nApr 25 13:22:40 hp250 kernel: [    3.402917] 8821ce: module verification failed: signature and\/or required key missing - tainting kernel<br \/>\n<\/code><br \/>\nI suggest to sign the driver, it can be done quickly based on the instructions in the Debian Wiki.<\/li>\n<li>Brightness control works via power settings, or via the battery icon, for the keys I&#8217;m looking for a solution. In the kernel log I see these error messages:<\/li>\n<\/ol>\n<p>Some further notes:<br \/>\n<code>$lspci<br \/>\n00:00.0 Host bridge: Intel Corporation Device 3e34 (rev 0c)<br \/>\n00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)<br \/>\n00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 0c)<br \/>\n00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model<br \/>\n00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)<br \/>\n00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)<br \/>\n00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)<br \/>\n00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller (rev 30)<br \/>\n00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 30)<br \/>\n00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)<br \/>\n00:1d.1 PCI bridge: Intel Corporation Device 9db1 (rev f0)<br \/>\n00:1d.4 PCI bridge: Intel Corporation Device 9db4 (rev f0)<br \/>\n00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)<br \/>\n00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)<br \/>\n00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)<br \/>\n00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 30)<br \/>\n01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111\/8168\/8411 PCI Express Gigabit Ethernet Controller (rev 15)<br \/>\n02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter<br \/>\n03:00.0 Non-Volatile memory controller: Sandisk Corp WD Black 2018\/PC SN520 NVMe SSD (rev 01)<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After several years the time has come to replace our aging Thinkpad Edge330. Our choice was a HP 250 G7 with Core i7, 512GB SSD and 16GB RAM. Regarding the OS, there was no question: Debian. At the time of installing it was Debian 10 (&#8220;buster&#8221;). Below some points regarding the installation: Installation worked out &hellip; <a href=\"https:\/\/robert.vanyi.org\/en\/archives\/502\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Debian Linux on a HP 250 G7<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":0,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"wp:attachment":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}