Date: Mon, 28 Jan 2013 07:20:23 +0700 From: Erich Dollansky <erichsfreebsdlist@alogt.com> To: Eitan Adler <lists@eitanadler.com> Cc: Glen Barber <gjb@freebsd.org>, freebsd-acpi@freebsd.org Subject: Re: what is required to support a new laptop? Message-ID: <20130128072023.63939e6f@X220.ovitrap.com> In-Reply-To: <CAF6rxgkgscofycoMjGfpcsz4FFB1U_hVVZf7DXpfBjSfGVH2kQ@mail.gmail.com> References: <CAF6rxg=c=JN=N7NkWYdRHbgAqQTPGoFr=uLuXgiCfh%2BDdd-C4w@mail.gmail.com> <20130125140953.GA1328@glenbarber.us> <20130125141202.GB1328@glenbarber.us> <CAN6yY1vku1oJ4UpvGkh-nES3VNr2JTA39ssXhYaw3t%2BA3nMR_w@mail.gmail.com> <CAF6rxgm6-GtxR%2Bcb9uKiAs7ahA16MmtcQKkhOaL8Jxrzq2kXcw@mail.gmail.com> <CAN6yY1swUtV08P55=zhkCQsDPxnm-jC12vMHg=yQAbUxH-aQzA@mail.gmail.com> <CAF6rxgkgscofycoMjGfpcsz4FFB1U_hVVZf7DXpfBjSfGVH2kQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Sun, 27 Jan 2013 18:24:36 -0500 Eitan Adler <lists@eitanadler.com> wrote: > On 27 January 2013 12:59, Kevin Oberman <kob6558@gmail.com> wrote: > > On Fri, Jan 25, 2013 at 9:25 PM, Eitan Adler <lists@eitanadler.com> > > wrote: > >> On 25 January 2013 14:51, Kevin Oberman <kob6558@gmail.com> wrote: > >>> There are several threads in the archives of acpi@ and mobile@ > >>> discussing this. Most things are pretty easy. Use xev to find the > >>> events generated by the volume buttons. > >> > >> I'm handling the volume keys with xbindkeys. > >> > >>> Mute and the ThinkLight (if > >>> your system has one) should work as is. > >> > >> Mute does not function - I am using xbindkeys to handle it. The > >> "video" key generates no event. > >> > >>> Brightness is a bit bigger issue as Lenovo has completely > >>> revamped it These buttons don't generate events. :-( > >> > >> Where *should* they be handled? How do they work on windows? > >> > >> FWIW they seem to change hw.acpi.video.brightness, but change > >> nothing visible on the screen. > >> > >>> You can install the acpi_call > >>> port and use it to set the brightness, but it is a pain as it > >>> does not allow for setting incremental changes, only absolute > >>> values.(16 of them). > >> > >> Any pointers for what to look at? I have no idea what I'm doing > >> w.r.t. computers ^W ACPI. > > > > Install sysutils/acpi_call > > kldload acpi_call > > acpi_call -p '\VBRC' -i [0-15] > > > > There seem to be some differences on the range, but in my T530 0=off > > and 15=full. > > > > Unfortunately, the brightness functions do not generate X events > > and I have not seen any posts on how to tie them to anything to > > adjust brightness. > > > [2881 root@gravity ~ ]#acpi_call -p '\VBRC' -i 1 > Unknown object type '0' > [2882 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 2 > Unknown object type '0' > [2883 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 0 > Unknown object type '0' > [2884 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 15 > Unknown object type '0' > > I can confirm that this works on an X220: acpi_call -p '\VBRC' -i $value It also works lower case for me. Erich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130128072023.63939e6f>