Debian based Linux on the Framework Laptop

What are incompatible with Mint and the Frame.work laptop???

1 Like

It appears if you have libfprintf 1.92.0+ the fingerprint reader should work. This is not currently in debian - you should be able to install a specific version of libfprintf from source using a procedure similar to this one: https://askubuntu.com/a/1122099. I’ll definitely make a guide once I get my laptop :smiley:

Just make sure you use kernel 5.10 or 5.12+ for the ax210 wireless card, and you should be good to go. So that means debian buster with backports kernel OR debian bullseye (which releases on 8/14).

1 Like

Graphics don’t work well. The driver is not included. Mint uses Ubuntu as a base and is a little behind the current Ubuntu. When Mint 21 comes out, it should work. I am missing some things I love in Mint (tiling is built in, for one thing.) @Paulie420 I posted more about this below. I resolved it by finding a 5.11.0 kernel in the repository. I did not know there was one that new.

@Anita_Lewis what kernel version are you running? The framework laptop uses intel xe graphics which is built into the kernel. I’d use 5.12+

Linux Mint has currently 5.4, but I found that 5.11.0-25 is available and should work. I just installed it via package manager on my main machine and got the extra modules with it and it runs so far. Today I’ll install Mint on a separate partition on Framework and get that kernel installed to see how it goes. Thanks for the question which made me think this might work. I didn’t realize they offered more kernels thinking the latest would be the one installed.
@g0tmk Install went great. I posted separately on it.

Linux Mint 20 works, but needs kernel 5.11.0-25 for some drivers. Here is what worked for me:
Install Mint 20.1 (because that is what I had on a usb stick)
In Synaptic search for linux-image (5.11.0-25 was the most recent) and select to install. I used the generic.
Then search on the number (5.11.0-25 in this case) and select corresponding headers, and modules, including modules-extra(which I found out have the necessary drivers) for installation. Install these kernel parts and reboot.
You will notice a much nicer display - big enough to read. And I also heard sound for the first time.

After this I upgraded to 20.2. You could start with that version, of course.

4 Likes

@Anita_Lewis Thank you for the instructions! I just followed them from a Mint Xfce 20.2 stick directly and can confirm functional Wifi (the kernel upgrade did have to be done with a USB-ethernet dongle in my hands), trackpad (had to toggle a setting in “Mouse and Trackpad” for tap-to-click but otherwise A-OK), display, and sound. I have not yet tried anything fancy with the libfprint package for the fingerprint sensor, but so far at least the power button has not become a mini-furnace and I’m not particularly set on having fingerprint login anyway.

Figuring Mint is a decently popular distribution, perhaps a stickied howto/experiences thread/wiki would be helpful for discoverability in the future?

====
Will add one quality-of-life improvement if anybody else is using xfce: there is a “Brightness step count” accessible from the taskbar battery icon → left click → settings that you can increase to make the keyboard brightness adjustment more fine-grained. The screen is so bright that having the extra resolution at the low end is quite convenient

Anyone with any luck on Debian based so far?

Interesting. I installed Debian 10 on my Framework laptop last week. I’d tried to install KDE but it wasn’t working. Apparently the kernel installed didn’t have the graphics driver built in. It also didn’t have the Wifi driver built in. I’d been trying to figure out how to build a custom kernel to get those driver this weekend.

Then I saw that Debian 11 had just been release on Friday. So I upgraded to that version and voila, KDE started working. I’ll have to figure out now if Wifi is working…

@Moronpalindromenorom - Debian 11 comes with many package upgrades that should fill some of the gaps from a hardware perspective.
I do suspect, however, that the wireless failure is due to installing the standard Debian packages. I’d wager that the firmware for the wireless card requires firmware that is not ‘open’.
This installer is what I typically use in cases like this:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.0.0+nonfree/amd64/iso-cd/
use the ’ firmware-11.0.0-amd64-netinst.iso’ link to download the netinstaller (small download, selected packages are downloaded during the installation process). This will ensure that Debian has a chance to detect any hardware that requries non-free firmware and will install it for you.

I just used this to install Debian 11 on a MacBook Pro 15", and reinstall on my X1 - worked a treat and I didn’t have to fiddle with anything to get them working (except install TPM for power management).

This post scares me a bit - I am a full Linux user… I mainly use Ubuntu, and my preference is KDE - Kubuntu.

Does anyone know what distro(s) will fully work with the Frame.work? Ubuntu? Kubuntu? With fingerprint - and EVERYTHING?

Paulie420

@Paulie420 - Debian is a special breed because, unlike Ubuntu (which is a commercial product) and Arch (which is a rolling release), It has a strict validation and becomes stabilized at release.
Debian 11 JUST came out of its ‘Testing’ phase and is now ‘stable’. That means that included packages will get maintenance updates but not necessarily major feature updates.
This means that it takes a bit more work to get this distro on bleeding-edge hardware (which, arguably, the Framework is).
Ubuntu is in a similar boat, but the upcoming release, 21.10 in October, should ease the remaining issues.

Have a look at this post for information on the current (non-LTS) version: Ubuntu 21.04 on the Framework Laptop

1 Like

@Paulie420 I’m not speaking from personal experience (I’m in Batch 2 so my machine hasn’t shipped yet), but my understanding is that as long as you install Fedora from the Respin disk images, everything just works, including the stuff other users / distros have issues with (fingerprint reader, WiFi, Bluetooth, etc). If you’re used to Kubuntu, Fedora has a Respin that uses KDE.

Mirroring what has been said before re: Debian - the ‘stable’ version (currently Debian 11) lags behind other distributions that update more frequently (such as Ubuntu and derivatives, or rolling release distros like Arch or Fedora. That said, the current kernel for Debian 11 is 5.10.0-8, and libfprint (included in the biometric-driver-community-multidevice metapackage) is 1.90.7-2. I set up my Framework for my partner to use so I can’t verify Debian 11 works out of the box with the network card but 5.10 has support for ax210 so it should.
@Paulie420 If you are a KDE user and you want to stick w/ Kubuntu, all you really need is linux kernel 5.10 to support the WiFi card, and libfprint 1.92.0 or newer for the fingerprint reader. If whatever release you’re using has both of those, you’re all set. If not, you’ll need to install a 5.10 kernel, and build libfprint 1.92 from source.

If you don’t want to build the current version of libfprint from source and/or don’t want to install a custom kernel, you’ll probably have to wait for 21.09 if you’re not using LTS. 21.04 has 5.10 so it should support the WiFi straight away. If you want to use an older Kubuntu version (20.04, for example) a compatible kernel should be available in the backports repository. You’ll still have to build the fingerprint software, as I think all of the Ubuntu distributions are running libfprint 1.90.7-2.

1 Like

Thanks a lot, Gary S… as much as I think I know about Linux, I’m still a new sysOp. :stuck_out_tongue: RIGHT NOW, I’m on 5.11.0-25-generic, so I guess I don’t have a ton to worry about… I don’t mind building [any] software from source, but it sounds like I might not even have to. I’m using Kubuntu 21.04.

Thanks for your reply.

Paulie420

1 Like

I installed stock Ubuntu 21.04 w/ Gnome on mine. I haven’t tried doing the fingerprint stuff yet. I’m currently on 5.11.0-31-generic.

Sadly, I haven’t yet been able to get the wifi module working on Debian 11 yet. It looks like there’s been a regression of the Intel AX210 driver in the kernel in the latest release: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966218. It’s exactly what I’ve been seeing…

1 Like

For those of who who want to install Linux Mint, consider the edge installation. You can see the documentation here: Edge ISO Images — Linux Mint User Guide documentation

The current Edge ISO image is for Mint version 20.2 and already contains the 5.11 kernel. This will prevent the user from having to connect via Ethernet to upgrade the kernel version after the standard installation process.

2 Likes

In case anyone’s interested, I’ve written up a (somewhat lengthy) post on getting Debian Bullseye up and running. Probably the most interesting bit is I’ve included instructions on how to build actual Debian packages for libfprint 1.92.1 and fprintd 1.92.0, which results in a cleaner install and makes removing or upgrading them later a heck of a lot easier:

5 Likes

As an FYI for folks, Debian Testing has now migrated to Linux 5.14.0, which means PSR should work out of the box now!

In addition, the AX210 should work, though on my own laptop Bluetooth still doesn’t work for reasons I have yet to figure out. It’s especially weird because when I stick the AX210 in my old X1 Carbon with the 5.14.0 testing kernel it works just fine. It’s only when the card is in my Framework that it doesn’t. Hopefully other folks have better luck!

2 Likes