Ubuntu 22.04 on the Framework Laptop 13

I’ve converted the first post to a Wiki post, now that 22.04 is out.

2 Likes

It’s out!! Go and grab it!
Ubuntu 22.04 LTS (Jammy Jellyfish)

1 Like

After updating, my WiFi stopped working. Tried a few things that didn’t work then updated the BIOS and that solved the WiFi problem. However, another issue that I was running into while trying to get hibernate working popped up again. When waking after suspend (I’m using suspend-then-hibernate), the OS will eventually freeze up. I have to reboot to get it out of this state. Dropping into tty opens a black screen that slowly displays a bunch of ext4-fs errors. The way I solved this previously seemed to be removing mem_sleep_default=deep from the grub config, which I added following this guide, and leaving resume and resume_offset. My grub config wasn’t modified during the update to 22.04, so I’m not entirely sure what’s going. From Googling, it seems that I might be a kernel issue. I’m gonna try a clean install of 22.04 tonight to see if I can right the ship.

Anyone get the airpods working with 22.04? I’m not sure if it’s specific to the airpods or if other bluetooth sound devices don’t work either.

I’m running Fedora 35 but initially could not pair my Airpods Pro with my Framework notebook.
Somewhere in the depths of the internet I found a hint that led to success.

I had to edit /etc/bluetooth/main.conf and change the option
ControllerMode=dual to ControllerMode=bredr

A restart later I could successfully pair my Airpods to my Framework.
Could that work as well using Ubuntu?

6 Likes

@Sven_Hiller That fixed my issue. HERO. Thank you so much.

1 Like

Who can update the Framework guide with this added?

2 Likes

What does ControllerMode=bredr mean? Could it affect other Bluetooth use cases negatively? If so then it might belong to an Airpods guide and not the general Ubuntu one.

If you word it correctly, it should belong to the Ubuntu guide.

e.g. If you are experiencing issue with bluetooth pairing, modifying the ControllerMode parameter might help address this. Possible parameter values are dual, bredr and le.

1 Like

FWIW, the OEM kernel in Ubuntu 22.04 is 5.17 and the doc page calls out newer drivers and fixes as differences from the generic kernel:

  1. Additional device drivers, e.g. i915 drivers to support new Intel graphics, iwlwifi to support new wireless cards or new Realtek card reader.

I’ve been running it for a few weeks now with no problems whatsoever. I don’t know if it brought any improvements or not. Anecdotally I think Black Mesa crashes less often on it but it could be just snake oil.

If you want it:

sudo apt install linux-oem-22.04
1 Like

There’s also this for all of the Linux DJs and robotics engineers around here. I haven’t tested it yet because this warning got me scared :sweat_smile::

**You will not be able to revert to your original kernel after enabling real-time.**

After upgrading to 22.04, nearly everything worked, with the major exception of the USB ports. They supply power, but don’t recognize or mount devices plugged into them, and “discover usb” doesn’t help.

Stranger and stranger. All devices but one that didn’t work yesterday work fine today. One is clearly a cable issue, and increasingly suspecting hardware in the others.

I had some similar intermittent USB port failure. Eventually one stopped working permanently. Motherboard warranty replacement fixed it.

1 Like

Interesting! In my case, six devices that worked under 21.10 no longer did under 22.04. The following day I tried again to make a backup, and discovered that moving the cable suddenly caused the device be recognized and mounted. Four of the other devices then worked flawlessly. One still stubbornly refuses. I’ll watch and wait. Thanks!

Has anyone else found that upgrading to 22.04 removes support for high resolution external TB3 monitors? I have an LG34WK95 with 5120x2160 resolution, and in 20.04 the resolution was detected and scaled correctly. Now in 22.04 it detects the monitor as 3440x1440, which makes for significantly blurrier text, and I can’t change it to the real resolution. I’ve tried some custom xrandr commands from Ubuntu forums-- no dice. I thought initially it might be the fault of the dock I was using, but the same thing happens if I plug the monitor directly into the laptop. Anyone know what might be going on?

Per last issue with a 5K2K monitor in 22.04: disabling Wayland fixes this, for some reason. With Xorg it detects the 5K2K resolution just fine. I don’t recall having to do this in 21.04, but in case anyone else encounters the same problem, try switching to Xorg.

Anyone having luck with the fingerprint scanner? I was using Windows previously, but wiped it and installed 22.04. Ubuntu sees the scanner, and would let me start registering a finger, but when I first put my finger on the scanner it reports having an issues reading the hardware.

I tried using the py script above to clear the fingerprints in the scanner, but it errored out, and I didn’t feel like digging.

Anybody else having similar issues?

Has anyone been having their laptop freeze and then go to a black screen? I’m getting “failed to write” / “read-only file system” errors. From some Googling, it looks like this is an issue with the SSD. I’m getting a new USB thumb drive delivered to boot Windows from it and run the Western Digital SSD Update tool to make sure it’s on the latest firmware.

Has anyone seen this or had luck getting it fixed?