OLED display

I'm using an HP Spectre x360 with oled touchscreen. Is there any way I can get brightness control working on FreeBSD 13?

I'm running Hyprland, but have tried the same thing with i3.

Code:
sysctl hw.acpi.video.lcd0.brightness

gives

Code:
hw.acpi.video.lcd0.brightness: 80

When I press the brightness control keys and run the command again, the output has changed, but the brightness of the screen has not.

Code:
hw.acpi.video.lcd0.brightness: 76

I tried compiling wl-gammactl, which has a brightness, contrast and gamma controls. However, lowering any of them produces strange results - the dark areas lose detail after a few steps down, and the light areas remain visible.

Wondering if anyone knows a clever hack or another way I can use to get the brightness control working.

Thanks very much.
 
a bit off topic but
oleds dont techically have a backlight
the pwm controls directly the screen on/off on most displays. this is known to cause fatigue to some people so some oled displays are DC controlled but that are rare
 
Have you tried to use the brightness keys during single user mode? Did you check if you've used the backlight utility?
Thanks for the reply. Brightness keys didn't seem to do anything in single user mode.

backlight also didn't seem to do anything

Code:
ls /dev/backlight
backlight0       intel_backlight0

backlight -f intel_backlight0 - 20

backlight -f backlight0
brightness: 75

Didn't change the brightness of the display, unfortunately.
 
a bit off topic but
oleds dont techically have a backlight
the pwm controls directly the screen on/off on most displays. this is known to cause fatigue to some people so some oled displays are DC controlled but that are rare

Thanks for the info! I had heard OLEDs are different, but didn't know how. Is there any way I can use this info to make a working solution? Sounds like power control might be the answer.
 
Thanks for the reply. Brightness keys didn't seem to do anything in single user mode.

backlight also didn't seem to do anything

Code:
ls /dev/backlight
backlight0       intel_backlight0

backlight -f intel_backlight0 - 20

backlight -f backlight0
brightness: 75

Didn't change the brightness of the display, unfortunately.
Have you tried xbacklight? This is for the X server.
 
Back
Top