Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fwupdmgr cannnot find new UEFI update 03.05 for Framework 16 Laptop in Linux #14

Open
2 of 8 tasks
lpapadakos opened this issue Nov 22, 2024 · 5 comments
Open
2 of 8 tasks
Labels
3.05 Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series)

Comments

@lpapadakos
Copy link

lpapadakos commented Nov 22, 2024

Device Information

System Model or SKU

Please select one of the following

  • Framework Laptop 13 (11th Gen Intel® Core™)
  • Framework Laptop 13 (12th Gen Intel® Core™)
  • Framework Laptop 13 (13th Gen Intel® Core™)
  • Framework Laptop 13 (AMD Ryzen™ 7040 Series)
  • Framework Laptop 13 (Intel® Core™ Ultra Series 1)
  • Framework Laptop 16 (AMD Ryzen™ 7040 Series)

BIOS VERSION

Vendor: INSYDE Corp
Version: 03.03
Release Date: 03/27/2024
Address: 0xE0000
product: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: 25.116.1

DIY Edition information

If you are experiencing an issue on a DIY system, Please also fill out the memory and storage devices you are using.

Yes this is a DIY Edition laptop

Memory: Crucial CT2K16G56C46S5 2x16GB
Storage: Lexar NM790 4TB

Port/Peripheral information

Unrelated to USB peripherals or expansion cards.

Standalone Operation

Are you running your mainboard as a standalone device. Is standalone mode enabled in the BIOS?

  • Yes
  • No

Describe the bug

I got an email about a BIOS update (that's pretty cool, never seen that with other OEMs) an it directed me to this community post:
https://community.frame.work/t/framework-laptop-16-ryzen-7040-bios-3-05-release-beta/60735

Naturally I quickly ran in my terminal:

fwupdmgr refresh
fwupdmgr get-updates

But there were no updates.

Alright so it turns out we need to enable lvfs-testing.

Let's do that:

fwupdmgr enable-remote lvfs-testing

Then I ran

fwupdmgr refresh -- force
fwupdmgr get-updates

I can see that both lvfs and lvfs-testing are being downloaded, but alas, still no updates.

Let's run them with sudo:

sudo fwupdmgr refresh -- force
sudo fwupdmgr get-updates

Now I still see no UEFI updates, but I got one for the fingerprint sensor! Alright, I installed it with sudo fwupdgr update

Let's try a UI solution.
I opened gnome-firmware

Under the System Firmware device it's correctly listing the two versions available in testing, 03.04 and 03.05.
(Though it -probably intentionally- only lists them if AC is connected)
Success!

At that point (with AC still connected) I retry the fwupdmgr commands with and without sudo, but I still see 0 updates.

I completed the installation though gnome-firmware and it went smoothly, the UEFI update capsule was put in /EFI/UpdateCapsule and it ran on reboot (gnome-firmware prompted me to reboot)

The bug is that fwupdmgr would NOT show the UEFI update not matter what I did.
And also it is weird that the fingreprint sensor update only showed up with sudo.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have a Framework 16 Laptop
  2. Make sure you have lvfs-testing enabled
  3. Run the commands (refresh -> get-updates)
  4. Observe there are no updates

Expected behavior

I expected the update to show up as it did in gnome-firmware.

Operating System (please complete the following information):

Up-to-date Arch Linux with kernel 6.12.0

fwupdmgr --version | grep 'org.freedesktop.fwupd'

Idle…: 0%
compile org.freedesktop.fwupd 2.0.1
runtime org.freedesktop.fwupd-efi 1.7
runtime org.freedesktop.fwupd 2.0.1
@ctsdownloads
Copy link

ctsdownloads commented Nov 22, 2024

I replicated this environment for testing, had no problem getting from 3.04 to 3.05:

  • Arch Linux

  • fwupd 2.0.1

  • fwupdmgr enable-remote lvfs-testing

  • fwupdmgr refresh --force

  • fwupdmgr get-updates

  • fwupdmgr update

  • Follow the prompts, reboot.

In your instance, you're on 3.03 going to 3.04 and then to 3.05, but this would work the same ideally.

Screenshot From 2024-11-21 18-08-45

@DHowett DHowett added Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series) 3.05 labels Nov 22, 2024
@JohnAZoidberg
Copy link
Member

Though it -probably intentionally- only lists them if AC is connected

Yes, that's what fwupdmgr does.
Was your battery fully charged? There's an issue that when the system is fully charged, it doesn't charge anymore, so fwupdmgr doesn't want to show updates or update.

@lpapadakos
Copy link
Author

lpapadakos commented Nov 23, 2024

The battery was really low befire al lthis, and by the time I started the commands, the battery was around 30-31% and charging

@ctsdownloads
Copy link

The battery was really low befire al lthis, and by the time I started the commands, the battery was around 30-31% and charging

In my testing, I was about 80% battery, AC connected.

@b4shful
Copy link

b4shful commented Dec 7, 2024

By the way if anyone reading this is on 3.04 beta and fwupdmgr isn't finding the update to 3.05 (it was moved to stable yesterday), try disabling the lvfs-testing remote with fwupdmgr disable-remote lvfs-testing.

On my machine it couldn't find 3.05 stable until I removed the lvfs-testing remote, but immediately after doing that it was able to find and install the update from 3.04 beta to 3.05 stable without issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.05 Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series)
Projects
None yet
Development

No branches or pull requests

5 participants