Hello,

I have just noticed that depending on how you change the display
brightness on my ThinkPad, values may differ wether I query using
wsconsctl(8) and xbacklight(1).

Here's what I have observed:
# doas wsconsctl display.brightness ; xbacklight -get 
display.brightness=25.11%
25.000000

# xbacklight -set 50                                  
# doas wsconsctl display.brightness ; xbacklight -get 
display.brightness=50.00%
50.000000

# doas wsconsctl display.brightness=75
display.brightness -> 75.11%
# doas wsconsctl display.brightness ; xbacklight -get 
display.brightness=75.11%
50.000000

I also tried using the (ThinkPad T460s) keyboard brightness buttons and
check which software show the proper value. From the previous step, hit
the button until I got to the max brightness I could get, I end up with:

# doas wsconsctl display.brightness ; xbacklight -get 
display.brightness=100.00%
50.000000

Then as little light as I could get:
# doas wsconsctl display.brightness ; xbacklight -get 
display.brightness=2.69%
50.000000

In case it matters, this is "7.0 GENERIC.MP#335 amd64" with "Intel HD
Graphics 520" attached as inteldrm0 using "modeset(0): glamor X
acceleration enabled on Mesa Intel(R) HD Graphics 520 (SKL GT2)"

Regards,
Joel C.

Reply via email to