Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2021 21:21:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257796] backlight(8) gets confused on power change
Message-ID:  <bug-257796-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257796

            Bug ID: 257796
           Summary: backlight(8) gets confused on power change
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mason@blisses.org

I've been using backlight(8) to set my backlight brightness, and it
generally works very well, but I just noticed that if I plug in or unplug
my laptop power adapter it will go to 100% brightness. The command output
will show 100% brightless, but it appears to remember the previous value,
as if I go back to, say, 50% with "backlight 50" it presumably already
thinks it's there and will do nothing. If I choose another value, whether
higher or lower, it will correctly set that new value, after which
backlight(8) will report that value.

So:

# backlight 50
-> unplug and see backlight brighten
# backlight
brightness: 100
# backlight 50
-> nothing happens
# backlight
brightness 100
# backlight 40
-> backlight goes to 40%
# backlight=20
brightness: 40
# backlight 50
-> backlight goes to 50% this time
# backlight
brightness: 50

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257796-227>