Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 11:20:54 +0000
From:      Rui Paulo <rpaulo@freebsd.org>
To:        Sergey V. Dyatko <sergey.dyatko@gmail.com>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: need help. asus-a6m+brightness control
Message-ID:  <A644AC15-15AF-48D8-AD4F-A2EC537AB869@freebsd.org>
In-Reply-To: <20100209233324.6b1ca158@notebook>
References:  <20100209233324.6b1ca158@notebook>

next in thread | previous in thread | raw e-mail | index | archive | help

On 9 Feb 2010, at 21:33, Sergey V. Dyatko wrote:

> Hi, 
> 
> I have asus-a6m laptop running HEAD.  But unfortunately brightness
> control not working when I boot with acpi support. 
> 
> I made some changes on acpi_asus.c but it doesn't help - 
> brightness is still not regulated. Good news: the volume keys started
> working and now I have /dev/led/wled, /dev/led/mled :)
> 
> result of `acpidump -dt | gzip -c9 >asus_a6m.asl.gz`:
> http://tiger.ipfw.ru/files/asus_a6m.asl.gz
> 
> Thanks for any help
> 
> notebook# svn diff acpi_asus.c
> Index: acpi_asus.c
> ===================================================================
> --- acpi_asus.c (revision 203701)
> +++ acpi_asus.c (working copy)
> @@ -357,6 +357,15 @@
>                .lcd_set        = "\\Q10"
>        },
>        {
> +               .name           = "A6M",
> +               .wled_set       = "WLED",
> +               .mled_set       = "MLED",
> +               .brn_get        = "GPLV",
> +               .brn_set        = "SPLV",
> +               .brn_up         = "\\_SB.PCI0.SBRG.EC0._Q0F",
> +               .brn_dn         = "\\_SB.PCI0.SBRG.EC0._Q0E"           
> +       },


According to your ASL, the methods are

brn_get=\\_SB.PCI0.SBRG.EC0._Q11
brn_dn=\\_SB.PCI0.SBRG.EC0._Q0E
brn_up=\\_SB.PCI0.SBRG.EC0._Q0F

So I'm not sure what you have doesn't work...

--
Rui Paulo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A644AC15-15AF-48D8-AD4F-A2EC537AB869>