need help. asus-a6m+brightness control
Jung-uk Kim
jkim at FreeBSD.org
Sat Feb 13 05:59:48 UTC 2010
On Wednesday 10 February 2010 06:20 am, Rui Paulo wrote:
> 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...
This DSDT checks _OSI("Windows 2006") aka Windows Vista and uses ACPI
video extensions instead of ASUS-specific notifications when it
matches (and we do now). I just committed generic ACPI backlight
brightness control for acpi_video(4). It should work with acpi_video
now.
Jung-uk Kim
More information about the freebsd-acpi
mailing list