Bug 445426 - Unnecessary warning about kernel backlight interface
Summary: Unnecessary warning about kernel backlight interface
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (show other bugs)
Version: 6.2.4
Platform: Debian unstable Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-13 15:28 UTC by pat_h
Modified: 2024-12-18 21:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pat_h 2021-11-13 15:28:38 UTC
SUMMARY
powerdevil reports a totally useless warning to the Journal on every login. The warning is about "no kernel backlight interface found", which not surprising on a desktop PC.

STEPS TO REPRODUCE
1. Use a desktop PC and login
2. 
3. 

OBSERVED RESULT
The Journal contains a warning "no kernel backlight interface found".

EXPECTED RESULT
On a desktop PC this should probably either be a debug output or completely removed. Until more specific conditions are implemented, downgrading this to LOG_INFO seems to be fine according to https://www.man7.org/linux/man-pages/man3/syslog.3.html.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-2-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 11,6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-11-23 18:40:17 UTC
Nice catch. Would you be interested in submitting a merge request to fix it?