1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

brightness control

Discussion in 'Mobile Computing' started by TCE, Feb 23, 2010.

  1. TCE

    TCE New Member

    Messages:
    18
    Thanks Received:
    0
    Has anybody found a way to adjust brightness on a HP laptop G50 or similar? Tried alot of how tos with any success.
     
  2. TCE

    TCE New Member

    Messages:
    18
    Thanks Received:
    0
    I have heard of ways to controls this through sysctl commands, but when I tried some of them but did not work.
     
  3. lme@

    lme@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    646
    Thanks Received:
    209
    Have you tried to kldload 'acpi_hp'?
     
  4. TCE

    TCE New Member

    Messages:
    18
    Thanks Received:
    0
    yes i tried that with no luck and acpi_video.
     
  5. TCE

    TCE New Member

    Messages:
    18
    Thanks Received:
    0
    Ime@ does loading the acpi_hp work for you?
     
  6. lme@

    lme@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    646
    Thanks Received:
    209
    Yes:
    Code:
    <FreeBSD 8.0-RELEASE-p2> [pcbsd:~] # kldload acpi_hp
    
     
  7. richardpl

    richardpl New Member

    Messages:
    841
    Thanks Received:
    68
    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.
     
  8. TCE

    TCE New Member

    Messages:
    18
    Thanks Received:
    0
    Ime@ can you please give me info on how you were able to get your brightness control working on your computer would be helpful
     
  9. lme@

    lme@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    646
    Thanks Received:
    209
    TCE: On my Thinkpad it "just works" out of the box.
    I don't have a HP notebook.
     
  10. sahne

    sahne New Member

    Messages:
    10
    Thanks Received:
    1
  11. harishankar

    harishankar New Member

    Messages:
    128
    Thanks Received:
    2
    Try this with kldload() and acpi_video().

    Code:
    #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:
    #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.