{"id":4575,"date":"2022-04-15T21:26:22","date_gmt":"2022-04-15T21:26:22","guid":{"rendered":"https:\/\/www.richardmudhar.com\/blog\/?p=4575"},"modified":"2022-04-15T21:26:22","modified_gmt":"2022-04-15T21:26:22","slug":"hp-stream-11-lives-again-with-xubuntu","status":"publish","type":"post","link":"https:\/\/www.richardmudhar.com\/blog\/2022\/04\/hp-stream-11-lives-again-with-xubuntu\/","title":{"rendered":"HP Stream 11 lives again with Xubuntu"},"content":{"rendered":"<p>I bought this must&#8217;ve been 2016. It was a bad move from the get-go, because the hard disk is only 32Gb. And it had Windows 10, and 32Gb is only just enough to get Windows on. Pretty soon I had to use an outboard hard drive to be able to update windows, and by about 2019 even that didn&#8217;t work. It&#8217;s a shame, because it&#8217;s otherwise serviceable, but totally non-upgradeable &#8211; the &#8216;hard drive&#8217; is an eMMC soldered to the board. It lasted me three years. I did like the light weight and silent operation, but the overall gutless performance and slower and slower startup was bad.<\/p>\n<h3>I could use a linux laptop<\/h3>\n<p>I had been tinkering with a Raspberry Pi4 for amateur radio field use, but wrangling a Pi in the field for things like <a href=\"https:\/\/www.sota.org.uk\/\">SOTA<\/a> is a mess, because a Pi plus all the odds and sods you need to make it work is a collection of parts flying in loose formation, and unlike a DC3 they don&#8217;t always work well together. It&#8217;s bad enough connecting the computer to the radio via analogue audio connectors <sup id=\"fnref-4575-1\"><a href=\"#fn-4575-1\" class=\"jetpack-footnote\" title=\"Read footnote.\">1<\/a><\/sup>, having to connect the Pi plus screen to a Bluetooth keyboard plus some sort of battery to USB-C power contraption gets a bit much in the field although it all works fine on the bench. I had already run the FLdigi and WSJT-X software on the HP Stream in Windows so I knew it was capable of decent performance, better than the Pi4 which struggles a bit to decode WSJT-X in a reasonable time.<\/p>\n<p>However, I had heard bad things about trying Linux on the HP stream, because the Wifi card is very proprietary. The Ubuntu drivers seem to have fixed that now<\/p>\n<p>It was surprisingly easy to load once I quit trying to install on the UEFI BIOS. I uses <a href=\"https:\/\/xubuntu.org\/download\/\">Xubuntu<\/a> LTS 20.04, downloading the iso and putting this onto a USB stick using balenaEtcher. I found the <a href=\"https:\/\/wiki.xubuntu.org\/qa\/installing\">install instructions<\/a> for Xubuntu hard to find and sketchy, but they are good enough to feature this hint<\/p>\n<blockquote><p>If you don&#8217;t already know how to install Xubuntu, then please read this <a class=\"urlextern\" title=\"https:\/\/tutorials.ubuntu.com\/tutorial\/tutorial-install-ubuntu-desktop\" href=\"https:\/\/tutorials.ubuntu.com\/tutorial\/tutorial-install-ubuntu-desktop\" rel=\"ugc nofollow\"> great tutorial<\/a>, which applies as much to Xubuntu as to Ubuntu.<\/p><\/blockquote>\n<p>which is indeed great, and took me from there. But first I had to switch off the UEFI BIOS. It&#8217;s not that obvious to me what advantage UEFI gives me with a machine with a whopping 32Gb of disk space which is far from the 2Tb limit <a href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Extensible_Firmware_Interface\">UEFI is supposed to fix<\/a>, so legacy is fine with me.<\/p>\n<p>A disadvantage of linux on a laptop, apart from the general gangly geeky oddballness of linux on the desktop as opposed to on the server is battery life is <a href=\"https:\/\/www.omgubuntu.co.uk\/improve-battery-life-linux\">not optimised so well<\/a>.<\/p>\n<p><!--more--><\/p>\n<h3>Enabling legacy BIOS<\/h3>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4578\" src=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?resize=840%2C560&#038;ssl=1\" alt=\"\" width=\"840\" height=\"560\" srcset=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?resize=1024%2C683&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?resize=550%2C367&amp;ssl=1 550w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?resize=1536%2C1024&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?resize=2048%2C1366&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?resize=1200%2C800&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4500.jpg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>Press esc repeatedly during boot, and then when it offers you the option go into F10 BIOS setup. Under system config select boot options which takes you here<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4579\" src=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?resize=840%2C630&#038;ssl=1\" alt=\"\" width=\"840\" height=\"630\" srcset=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?resize=550%2C413&amp;ssl=1 550w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?resize=1200%2C900&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4498.jpg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>You want to enable Legacy boot, and disable secure boot. If I don&#8217;t do that my Xubuntu installer can&#8217;t see the hard disk.<\/p>\n<p>Once you have done that, save and reboot, again pressing esc on startup. This time simply select F9 Boot device options and boot off the USB stick, and from then on it was a regular, though non-internet-connected (because of the oddball WiFi card) Xubuntu install. I selected to install on the entire hard disk and blow away the old Windows install, because this machine is never going to run Windows again, because it can&#8217;t. It was either going to run Linux or head for the bin.<\/p>\n<p>The install went OK, and the wifi card came up. It seems to lack a bit of sensitivity compared to the windows drivers, but it&#8217;s perfectly serviceable within the house. The trackpad works OK, the one thing I couldn&#8217;t get working was the camera, which I don&#8217;t find a huge disadvantage, and it was pretty dire when it did work.<\/p>\n<p>End result &#8211; one serviceable and lightweight linux computer. With about 19Gb free hard disk, rather than &lt; 1Gb, at the end of its Windows service life.<\/p>\n<p>Running WSJT-X<\/p>\n<figure id=\"attachment_4583\" aria-describedby=\"caption-attachment-4583\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4583\" src=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4505a.jpg?resize=800%2C600&#038;ssl=1\" alt=\"\" width=\"800\" height=\"600\" srcset=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4505a.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4505a.jpg?resize=550%2C413&amp;ssl=1 550w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4505a.jpg?resize=768%2C576&amp;ssl=1 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption id=\"caption-attachment-4583\" class=\"wp-caption-text\">this machine running wsjt-x on Xubuntu<\/figcaption><\/figure>\n<p>Once I had switched to using alsa this worked OK after lining up the transmit level and mic gain, I contacted YO22WARD in Romania on 17m and a station in Sardinia on 30m. The Alsa config sticks across a reboot, which is nice, and not always a given on linux in my experience.<\/p>\n<h3>Sound is always grief on linux<\/h3>\n<p>I used a ZLP USB audio interface for the sound card rather than the onboard sound. That has an internal vox detecting the signal to key transmit. Life is too short to fiddle about with trying to use the onboard audio out <strong>and<\/strong> try and stop any sounds going out, and I used the raw alsa interface, which is at the bottom of the WSJTX audio settings scroll, invisible at first. I set levels with sudo alsamixer and F6 to pick the right card, and then sudo alsactl store. I could use the CAT serial interface for PTT but using VOX ensures the signal is present before TX.<\/p>\n<p>Sound is always a pain to configure on linux. You have the choice of ALSA, OSS, Pulseaudio, Jack, and sometimes it seems they all fight it out for supremacy. I&#8217;ve had better luck using ALSA than any of the other overlays. The new Bullseye version of Raspbian is an abomination with sound, not only do you have to create a new user other than pi to be able to use XRDP, but that user then can&#8217;t see the sound hardware, though a sudo aplay -l reveals that it is there at the bare metal level.<\/p>\n<p>So as well as having it mostly in one box it&#8217;s nice to be able to take a break from Raspberry Pi audio which has taken a step backwards with favouring pulseaudio IMO.\u00a0 I&#8217;m sure it&#8217;s all great if it works right, but Linux audio is ghastly enough without fighting several layers of audio abstraction. In ALSA I trust&#8230;<\/p>\n<div class=\"footnotes\">\n<hr \/>\n<ol>\n<li id=\"fn-4575-1\">\npeople who have bought their rig in the last ten years usually have a USB interface, which solves some of the interfacing issues while creating others, but mine is 15 years old now so none of this newfangled tech :(&#160;<a href=\"#fnref-4575-1\" title=\"Return to main content.\">&#8617;<\/a>\n<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I bought this must&#8217;ve been 2016. It was a bad move from the get-go, because the hard disk is only 32Gb. And it had Windows 10, and 32Gb is only just enough to get Windows on. Pretty soon I had to use an outboard hard drive to be able to update windows, and by about &hellip; <a href=\"https:\/\/www.richardmudhar.com\/blog\/2022\/04\/hp-stream-11-lives-again-with-xubuntu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;HP Stream 11 lives again with Xubuntu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":4580,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[314,299,357],"tags":[405],"class_list":["post-4575","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-amateur-radio","category-repair","category-technology","tag-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2022\/04\/DSCN4503.jpg?fit=1704%2C2047&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5aOO7-1bN","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/4575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/comments?post=4575"}],"version-history":[{"count":8,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/4575\/revisions"}],"predecessor-version":[{"id":4587,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/4575\/revisions\/4587"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/media\/4580"}],"wp:attachment":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/media?parent=4575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/categories?post=4575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/tags?post=4575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}