Installing FreeBSD on a HP 250 G9

I’ve acquired a Hewlett-Packard 250 15.6-inch G9 laptop with an Intel 12th Gen Core i3-1215U, 8GB of RAM, and a 500GB SSD. Not impressive hardware, I admit, but I will not run a lot of things locally anyway. So, let’s go directly to the point.

I have …


This content originally appeared on DEV Community and was authored by Bruno Pacheco

I’ve acquired a Hewlett-Packard 250 15.6-inch G9 laptop with an Intel 12th Gen Core i3-1215U, 8GB of RAM, and a 500GB SSD. Not impressive hardware, I admit, but I will not run a lot of things locally anyway. So, let’s go directly to the point.

I have installed FreeBSD 14.1. Actually, it is not as daunting as it may sound. The installation process is straightforward and easy to understand. The most complex thing would be partitioning, but in my case, I used the entire disk—no need for dual boot—I let the tool do its job alone.

I will not add screenshots of each step, as much more experienced people have thoroughly covered it. Please refer to this video, from RoboNuggie. Approximately 70% of everything I needed to do is explained in that video.

I will list below what was not covered in that video, like playing protected media, graphics, audio, and WiFi configuration.

Video

This laptop has the Alder Lake-UP3 GT1 [UHD Graphics], which requires drm-61-kmod.

$ cd /usr/ports/graphics/drm-61-kmod
$ sudo make install clean
$ sudo sysrc kld_list+=i915kms

Windows Manager

I am using Mate; for that, I simply followed the FreeBSD Handbook.

Chromium and CDM

I found a couple of tutorials online, but here I will share simpler steps for supporting protected media playback—Netflix, Spotify, etc.—in Chromium:

$ sudo pkg install foreign-cdm chromium
$ sudo sysrc linux_enable="YES"
$ sudo service linux start
  • Download ports and FreeBSD source code to compile www/linux-widevine-cdm.
$ sudo pkg update
$ sudo pkg install portsnap git
$ sudo portsnap fetch
$ sudo portsnap extract
$ sudo git clone -b releng/14.1 https://git.freebsd.org/src.git /usr/src
$ cd /usr/ports/www/linux-widevine-cdm
$ sudo make install clean
  • Open chrome://flags in Chromium and enable Cdm Storage Database and Cdm Storage Database Migration:
  • Close Chromium and open again.
  • You can test if DRM is enabled using https://bitmovin.com/demos/drm.

Printer

I have an HP OfficeJet, and from past Linux experience, I knew about HPLIP. Fortunately, it was also available as a binary to be installed with pkg install hplip.

Audio

Audio configuration is also simple. I needed to load a driver and configure hot-swap from speakers to headphones and vice versa whenever a new device was (un)plugged into the audio jack. I followed this tutorial.

Wifi

This was the most difficult part of the configuration. My first attempt was loading the driver compatible with my card. Apparently, the chipset was supported, and it worked at first. But as soon as I started consuming videos, it proved unstable. I tried a WiFi micro adapter, but it was quite slow. After a lot of reading on forums and some headaches, I discovered the Wifibox project.

It’s a clever idea of running WiFi drivers inside a Linux guest VM and bridging the connection back to the host machine. The footprint is quite small, but I can use the full potential of my WiFi. I followed this tutorial.

Not tested components

I haven’t tested Bluetooth or HDMI audio output.

Tested platforms:

  • Zoom
  • Webex
  • GeForce Now
  • Netflix
  • Amazon Primevideo
  • Spotify

Well, that is it with some manual steps, I have a operating system that is fit to my needs.

See you | Bis geschwënn | Até mais | À bientôt | Ciao


This content originally appeared on DEV Community and was authored by Bruno Pacheco


Print Share Comment Cite Upload Translate Updates
APA

Bruno Pacheco | Sciencx (2024-10-28T21:36:50+00:00) Installing FreeBSD on a HP 250 G9. Retrieved from https://www.scien.cx/2024/10/28/installing-freebsd-on-a-hp-250-g9/

MLA
" » Installing FreeBSD on a HP 250 G9." Bruno Pacheco | Sciencx - Monday October 28, 2024, https://www.scien.cx/2024/10/28/installing-freebsd-on-a-hp-250-g9/
HARVARD
Bruno Pacheco | Sciencx Monday October 28, 2024 » Installing FreeBSD on a HP 250 G9., viewed ,<https://www.scien.cx/2024/10/28/installing-freebsd-on-a-hp-250-g9/>
VANCOUVER
Bruno Pacheco | Sciencx - » Installing FreeBSD on a HP 250 G9. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/28/installing-freebsd-on-a-hp-250-g9/
CHICAGO
" » Installing FreeBSD on a HP 250 G9." Bruno Pacheco | Sciencx - Accessed . https://www.scien.cx/2024/10/28/installing-freebsd-on-a-hp-250-g9/
IEEE
" » Installing FreeBSD on a HP 250 G9." Bruno Pacheco | Sciencx [Online]. Available: https://www.scien.cx/2024/10/28/installing-freebsd-on-a-hp-250-g9/. [Accessed: ]
rf:citation
» Installing FreeBSD on a HP 250 G9 | Bruno Pacheco | Sciencx | https://www.scien.cx/2024/10/28/installing-freebsd-on-a-hp-250-g9/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.