Framework 16/Ubuntu 20.04 freezes - keyboard/touchpad related?

Hi all, I’ve run into an issue that has escalated over the past month or so, with very few changes to my operating environment. Please bear with me, as there are some interesting things to note here, but none of it makes sense to me.

Also, I could only either say this was Linux or something else, so I put it in Linux because I haven’t experienced this in Windows, though I don’t use Windows really at all except for troubleshooting purposes, and also because I’m looking for help with logging for Ubuntu.

First, this is my current setup:
Laptop 16, AMD 7040 Series
Ubuntu 20.04 LTS

The behavior that’s bothering me is random freezing after a few minutes of being on. There seems to be no correlation to processor load (judging by either the fan sound or the system metrics). Could just be that whatever is triggering the issue doesn’t tend to occur during startup.

When the freeze happens, I’ve come to learn that the best way to know it’s occurring is that the keyboard backlight turns off. If the process or website or whatever is just slow to respond, the backlight is fine. When the issue occurs, nothing is responsive - can’t move the cursor with the touchpad, can’t get the keystrokes to register. At first, I was just waiting for things to respond again. It could take anywhere from a few seconds to long minutes. Eventually, it got to the point where I killed the computer with the power button to reboot it.

It started, happened occasionally, and then got progressively more common, and when I finally hard booted it, upon restart, I was shown a screen prior to the normal bootloader or encryption password prompt for Ubuntu, that told me that the keyboard was not present. Instead of just saying the keyboard wasn’t present, though, it was flickering between present and not.

Then I remembered that I had had a cup lid pop off a soda a couple of weeks prior, and some drops got on the keyboard. I had cleaned it up the best I could, and didn’t see any fallout immediately, so I forgot about it until that moment. So, I need a new keyboard, I thought. I bought a new keyboard, installed it, and… then the touchpad stopped working. I bought a new touchpad and installed that, but it didn’t change. It was only then that I started real troubleshooting. I booted a copy of Windows 11 on an external disk, and didn’t see the issue - touchpad worked, keyboard worked, and for a short while using the OS, I didn’t experience the freezing.

So next, I rebooted to Linux, and suddenly the keyboard and touchpad were both fine. But after some time using the PC, it froze again in the same way. I figured I’d finally update to 24.04 LTS, but had some issues downloading the updates, to where I couldn’t actually perform the regular upgrade.

I continue to experience the freezes, but somehow figured out that, by pressing the small bridge betwwen the keyboard and touchpad, I can instantly stop the freeze and return to normal functioning. I have the touchpad at the far left, two spacers to the right, and in this configuration, by pressing gently about where the touchpad connects with the keyboard underneath (somewhat directly below the “C” and “V” keys) the keyboard will suddenly light back up and unfreeze.

This is some really weird behavior, and I’m at a loss to explain what could be happening. I want to try to capture some data to try to figure out what may be going on, but I’m still a Linux noob after all these years. So… my questions:

  1. What can I do to try to get some logged data to see about the timeframe that one of these freezes occurs?
  2. There’s a system icon that shows up near the Wi-Fi icon in the upper corner when things come back up, but I can’t move fast enough to really see what it is. I want to get a screenshot to post here (oddly, as I’ve been typing this up, no freezes for the past 30 minutes or so).
  3. I want to do a clean install of Ubuntu 24.04 LTS, in hopes that something in my current operating environment is causing this (but then I can’t explain why pressing in that space does anything).

If you made it this far, thanks for reading. I was once a pretty good PC tech, but am way out of practice. I hope someone has some interesting ideas to try.

THANKS!

Caught the icon:
weird ico

That icon is the wifi trying to find a connection.

But I suspect that the problem is in the keyboard contacts. I don’t know why it would work on Windows but be intermittent on Linux, but that is where I would go investigating, to see is the gold pogo pins contact the keyboard correctly.

1 Like

Agreed. As far as the Windows working anomaly, it could literally just be random chance. I didn’t set out to run Windows as a long check, but to see if the touchpad would work. So it’s entirely possible that it just didn’t have enough use time to exhibit.

I’ve been experiencing a similar thing on Framework 16 with Ubuntu 24.04, but very intermittently. Next time it happens, I’ll try pressing that spot you found between the spacebar and the mousepad.

As far as logging, I’m no expert in Linux OS debugging, but I’ve found journalctl useful for that purpose.

I submitted a ticket with support, and they suggested some things to try, which I will do probably this weekend. I’ll report back here, too, now that I know someone else may be experiencing similar things.

If you spilled anything, use water to clean it. Distilled work best, but bottled is clean enough. Don’t use mineral/spring/tap water. Too much minerals.

Unpower and disconnect whatever it is you are trying to clean.

Alcohol don’t dissolve the sugars (among other stuff) deposited by sugary (or other type of) drinks like coke. It will help get the fats, maybe from milk, and it will help water evaporate quicker. But cleaning a coke spill with alcohol is .. not very useful.

1 Like

Good advice. In my case, there wasn’t anything that made it beneath the keyboard, but I made a mistake in trying to remove a key to get underneath to clean it, figured I’d just replace the whole thing since that key cracked due to my bad move.

1 Like

Yeah glad to hear that you are able to isolate the issue to somewhere in the input deck. Good luck with it I guess. Though if worse come to worse (and you need to replace that mid ribbon cable thing), I think framework do sell those.

1 Like

Just to follow up, my issue seems to be unrelated, since it’s happened a few times since I last replied and pressing that spot didn’t help at all. I’m going to keep looking into it, and I’ll make a new thread and/or reach out to support with whatever I can figure out.

1 Like

Actually funny thing. This happened to me yesterday. Though it wasnt system freezing, its just the input deck dropping out. Wiping the connector (with like, shirt) did the trick.

This is the left side. I dont think it was the trackpad, but I cleaned them all.