Re: ASUS U46E laptop brightness

Henry Hu <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <CAEJt7hYwNgSz8MyA6V_=JSQ+4LTm1SHuxsH4G94fRuaqyTxpzA@mail.gmail.com>
On Wed, Oct 30, 2013 at 11:12 AM, Sergiy Mikhailushko <[email protected]>wrote:

>
> Hi all
> Could you please help me with a little annoying problem concerning
> laptop backlight?
> I've got ASUS U46E laptop with Intel GMA graphics running FreeBSD
> 9-STABLE amd64. The problem is that backlight is always set to maximum
> value. Pressing Fn+F5 (brightness down) has no effect, just yielding the
> following to /var/log/messages:
>
> ACPI Error: Result stack is empty! State=0xfffffe00017fa800
> (20110527/dswstate-113)
> ACPI Exception: AE_AML_NO_RETURN_VALUE, Missing or null operand
> (20110527/dsutils-695)
> ACPI Exception: AE_AML_NO_RETURN_VALUE, While creating Arg 0
> (20110527/dsutils-821)
> ACPI Error: Method parse/execution failed [\_SB_.PCI0.GFX0.GCBL] (Node
> 0xfffffe000181f600), AE_AML_NO_RETURN_VALUE (20110527/psparse-560)
>
> This happens both in console and X Window mode
>
> What I've tried:
>
> 1) Flashed the latest BIOS version from ASUS website (ver301)
>
> 2) Upgraded OS to the latest STABLE version (last upgrade Oct 28 2013)
>
> 3) Loading acpi_asus module:
>       # kldload acpi_asus
>       # sysctl -a | grep asus
>       #
>
> 4) Loading acpi_video module:
>      # sysctl hw.acpi.video.lcd0.active=1
>       hw.acpi.video.lcd0.active: 0 -> 0
>       # sysctl hw.acpi.video.lcd0.fullpower=**60
>       hw.acpi.video.lcd0.fullpower: 100 -> 60
>       # sysctl hw.acpi.video.lcd0.economy=60
>       hw.acpi.video.lcd0.economy: 77 -> 60
>       # sysctl hw.acpi.video.lcd0.brightness=**60
>       hw.acpi.video.lcd0.brightness: 60 -> 60
> Values are changed but brightness doesn't
>
> 5) Using acpi_call utility (not sure what value should be changed, tried
> acpi_call -p '\_SB_.PCI0.GFX0.GCBL' and acpi_call -p
> '\_SB_.PCI0.LPCB.EC0_._Q0E' -- both resulting in Unknown object type '0')
>
>

I'm using ASUS UX51VZ and I can use this to adjust the brightness:

acpi_call -p "\_SB.ATKD.SPLV" -i $2
acpi_call -p "\ISMI" -i 154

I found these statements in acpidump, so you may find similar statements.


> 6) Writing to freebsd-questions and freebsd-acpi mailing lists -- no
> replies so far
>
> # uname -a
> FreeBSD toysrv 9.2-STABLE FreeBSD 9.2-STABLE #0 r257265: Mon Oct 28
> 23:05:31 EET 2013     oomka@toysrv:/usr/obj/usr/src/**sys/TOYSRV  amd64
>
> # acpidump -dt > u46e.asl (http://tny.cz/452a2978)
>
> I used to run i386 FreeBSD on this laptop -- the brightness control was
> okay on it. There were often kernel panics on that architecture so I've
> switched to amd64. Panics disappeared and the things work fine so far,
> except the screen brightness.
> I know that my problem isn't critical when I'm working on daylight or
> with external LCD display, but when I have to work at the laptop at
> night -- this spotlight really drives me crazy. Thank you in advance for
> your help.
>
>
>
>
>
>
> ______________________________**_________________
> [email protected] mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**mobile<http://lists.freebsd.org/mailman/listinfo/freebsd-mobile>
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@**freebsd.org<[email protected]>
> "
>



-- 
Cheers,
Henry
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.