brightness control

This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

brightness control

Postby TCE » 23 Feb 2010, 04: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
Junior Member
 
Posts: 18
Joined: 22 Feb 2010, 04:30

Postby TCE » 23 Feb 2010, 04:47

I have heard of ways to controls this through sysctl commands, but when I tried some of them but did not work.
TCE
Junior Member
 
Posts: 18
Joined: 22 Feb 2010, 04:30

Postby lme@ » 23 Feb 2010, 07:35

Have you tried to kldload 'acpi_hp'?
User avatar
lme@
 
Posts: 611
Joined: 08 Oct 2007, 19:42
Location: Düsseldorf, Germany

Postby TCE » 23 Feb 2010, 15:26

yes i tried that with no luck and acpi_video.
TCE
Junior Member
 
Posts: 18
Joined: 22 Feb 2010, 04:30

Postby TCE » 23 Feb 2010, 18:23

Ime@ does loading the acpi_hp work for you?
TCE
Junior Member
 
Posts: 18
Joined: 22 Feb 2010, 04:30

Postby lme@ » 24 Feb 2010, 10:46

Yes:
Code: Select all
<FreeBSD 8.0-RELEASE-p2> [pcbsd:~] # kldload acpi_hp
User avatar
lme@
 
Posts: 611
Joined: 08 Oct 2007, 19:42
Location: Düsseldorf, Germany

Postby richardpl » 24 Feb 2010, 17: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.
richardpl
Member
 
Posts: 841
Joined: 17 Nov 2008, 17:02
Location: Croatia

Postby TCE » 25 Feb 2010, 02: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
TCE
Junior Member
 
Posts: 18
Joined: 22 Feb 2010, 04:30

Postby lme@ » 25 Feb 2010, 06:19

TCE: On my Thinkpad it "just works" out of the box.
I don't have a HP notebook.
User avatar
lme@
 
Posts: 611
Joined: 08 Oct 2007, 19:42
Location: Düsseldorf, Germany

Postby sahne » 26 Feb 2010, 20: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
sahne
Junior Member
 
Posts: 10
Joined: 23 Nov 2008, 12:39
Location: Austria

Postby harishankar » 10 May 2010, 02:34

Try this with [Man]kldload[/Man] and [Man]acpi_video[/Man].

Code: Select all
#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)

Code: Select all
#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.
User avatar
harishankar
Member
 
Posts: 128
Joined: 29 Jun 2009, 08:00


Return to Mobile Computing

Who is online

Users browsing this forum: No registered users and 0 guests