Date: Sat, 13 Feb 2010 00:59:31 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-acpi@FreeBSD.org Cc: "Sergey V. Dyatko" <sergey.dyatko@gmail.com> Subject: Re: need help. asus-a6m+brightness control Message-ID: <201002130059.35808.jkim@FreeBSD.org> In-Reply-To: <A644AC15-15AF-48D8-AD4F-A2EC537AB869@freebsd.org> References: <20100209233324.6b1ca158@notebook> <A644AC15-15AF-48D8-AD4F-A2EC537AB869@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002130059.35808.jkim>