need help. asus-a6m+brightness control

Rui Paulo rpaulo at freebsd.org
Wed Feb 10 11:20:58 UTC 2010


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



More information about the freebsd-acpi mailing list