PDA

View Full Version : brightness control


TCE
February 23rd, 2010, 05:45
Has anybody found a way to adjust brightness on a HP laptop G50 or similar? Tried alot of how tos with any success.

TCE
February 23rd, 2010, 05:47
I have heard of ways to controls this through sysctl commands, but when I tried some of them but did not work.

lme@
February 23rd, 2010, 08:35
Have you tried to kldload 'acpi_hp'?

TCE
February 23rd, 2010, 16:26
yes i tried that with no luck and acpi_video.

TCE
February 23rd, 2010, 19:23
Ime@ does loading the acpi_hp work for you?

lme@
February 24th, 2010, 11:46
Yes:

<FreeBSD 8.0-RELEASE-p2> [pcbsd:~] # kldload acpi_hp

richardpl
February 24th, 2010, 18:41
There is no point in loading acpi_hp if nothing is showed in console after that.
Show output of related sysctls for acpi_video. Also show output, if any, after loading acpi_hp.

TCE
February 25th, 2010, 03:45
Ime@ can you please give me info on how you were able to get your brightness control working on your computer would be helpful

lme@
February 25th, 2010, 07:19
TCE: On my Thinkpad it "just works" out of the box.
I don't have a HP notebook.

sahne
February 26th, 2010, 21:43
hi,

have you tried the updated acpi_video module ?
there were changes regarding the brightness commands about 2 weeks ago.
currently the driver is only modified on CURRENT, but I've posted a patch for STABLE on freebsd-acpi@

http://lists.freebsd.org/pipermail/freebsd-acpi/2010-February/006326.html

harishankar
May 10th, 2010, 03:34
Try this with kldload and acpi_video.

#kldload acpi_video

#sysctl hw.acpi.video

(This will list the variables and their settings this will let you see what "levels" of brightness are supported)

#sysctl hw.acpi.video.<device>.brightness=<level>(where <device> is a device, can be crt0 crt1 lcd0 etc.) and level is an acceptable level)

This works for me, but I still don't know how to key map this functionality to the FN+F7 and FN+F8 keys.