Don't register platform::micmute if the related tokens don't exist
Bug #1877275 reported by
koba
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
OEM Priority Project |
Fix Committed
|
Undecided
|
Unassigned | ||
linux-oem-5.6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
koba | ||
linux-oem-osp1 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Error messge is issued during boot up,
"platform::micmute: Setting an LED's brightness failed (-19)",
but there's no micmute led on the machine.
[Fix]
Get the related tokens of SMBIOS, GLOBAL_
If one of two tokens doesn't exist, don't register platform::micmute.
After that, you wouldn't see the platform::micmute in /sys/class/leds/,
and the error message wouldn't see in dmesg.
[test]
With the patch, if GLOBAL_
wouldn't be triggered and can't find platform::micmute in /sys/class/leds
[Regression Potential]
low, just avoid to register if device isn't presented.
CVE References
Changed in linux-oem-5.6 (Ubuntu Focal): | |
assignee: | nobody → koba (kobako) |
status: | New → In Progress |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | New → In Progress |
tags: | added: oem-priority originate-from-1875780 somerville |
description: | updated |
Changed in linux-oem-5.6 (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-osp1 (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in oem-priority: | |
status: | New → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in hwe-next: | |
status: | New → Fix Released |
To post a comment you must log in.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!