ghostbsd / issues

Issue tracker for GhostBSD
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

[Bug]: Screen brightness on laptop #66

Open Racinettee opened 3 years ago

Racinettee commented 3 years ago

Is your feature request related to a problem? Please describe. Screen brightness cannot be controlled on dell inspiron. Attempted to follow several other guides or instructions on stack exchange etc. Came away with unsatisfactory solutions.

Describe the solution you'd like To be able to use the brightness keys on my laptop or a setting to control screen brightness

Additional context

indgy commented 2 years ago

I had a similar issue on a Lenovo Thinkpad T460s, the brightness keys appeared not to work.

It may be possible to set the brightness using sysctl (range 0-100, here 25%): sudo sysctl hw.acpi.video.lcd0.brightness=25

I loaded acpi_video and acpi_ibm kldload acpi_video kldload acpi_ibm check here ls /boot/kernel/acpi* for one that works with your machine.

It wasn't obvious but the backlight keys were actually working, however they were going up/down in increments of 1% so it was too slow to notice.

This guide https://www.davidschlachter.com/misc/freebsd-acpi_video-thinkpad-display-brightness may help, I slightly modified the script to give more control over the darker range:

https://gist.github.com/indgy/913bc1fe2df5741c4a0b1e2bc8b2cf8a

Hope it helps

ericbsd commented 1 year ago

issue moved from ghostbsd/ghostbsd-src to ghostbsd/issues