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

Fedora 40 on Lenovo T14 gen5 error token not found #146

Open
pierrehenrymuller opened this issue Aug 11, 2024 · 3 comments
Open

Fedora 40 on Lenovo T14 gen5 error token not found #146

pierrehenrymuller opened this issue Aug 11, 2024 · 3 comments

Comments

@pierrehenrymuller
Copy link

Hi,
When I launch smbios-battery-ctl --get-charging-cfg on a Lenovo Thinkpad T14 gen5, I have this error in Python :

Traceback (most recent call last):
  File "/sbin/smbios-battery-ctl", line 275, in <module>
    sys.exit( main() )
              ^^^^^^
  File "/sbin/smbios-battery-ctl", line 241, in main
    print_primary_battery_cfg()
  File "/sbin/smbios-battery-ctl", line 190, in print_primary_battery_cfg
    mode = get_charging_mode()
           ^^^^^^^^^^^^^^^^^^^
  File "/sbin/smbios-battery-ctl", line 140, in get_charging_mode
    active = table[mode.value].isActive()
             ~~~~~^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libsmbios_c/trace_decorator.py", line 103, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libsmbios_c/smbios_token.py", line 145, in __getitem__
    raise IndexError(_("SMBIOS Token ID 0x%04x not found") % id )
IndexError: SMBIOS Token ID 0x0341 not found

The Fedora is up to date, firmware too :

fwupdmgr update                                                                                             1 ⨯
Devices with no available firmware updates: 
 • Intel Management Engine
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • ELAN0676:00 04F3:3195
 • Integrated Camera
Devices with the latest available firmware version:
 • System Firmware
 • MZVL8512HDLU-00BLL
 • UEFI dbx

On other T14 gen3 or older T14 they works fine on same version of Fedora.
Is there an unsupported device or a bug?
Thanks

@sergiomb2
Copy link

other report in https://bugzilla.redhat.com/show_bug.cgi?id=2307490

SMBIOS Token ID 0x0346 not found

@redneb
Copy link

redneb commented Aug 28, 2024

I am seeing the same error (SMBIOS Token ID 0x0341 not found) on my Dell XPS 15 9520. Interestingly enough, this used to work until a few weeks ago. I am guessing some software upgrade (maybe the kernel?) must have broken it.

@nbennke
Copy link

nbennke commented Dec 11, 2024

I also get SMBIOS Token ID 0x0341 not found on my Dell Precision M6600, running with Debian 12. Any news on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants