Fedora 40 on Lenovo T14 gen5 error token not found
- Dominant language
- C
- Stars
- 221
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
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
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.