From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 27 18:00:04 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9BA0C940; Sun, 27 Jan 2013 18:00:04 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by mx1.freebsd.org (Postfix) with ESMTP id 761C2E4D; Sun, 27 Jan 2013 18:00:04 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id un1so1043661pbc.26 for ; Sun, 27 Jan 2013 09:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=VIDBfGaerE6jlW52dY2YMuG6+ZpXwlMT56TaUdqOTAg=; b=UzPOH8Tto5tE3ymKYUGJ3HaILSeDs4x+z9t6HWS8MjLfdcBgohxv8iWcsr6tz7Odza AkPK4DLgH1A72qY+gL2r/iBAGlmGEnAUauLanTsuQPu4C9eEoIqGXi+s9ai9cOqPNsEu HezKylZsBG7sAQodrNModDuVlgbzWWX9fJbAIGGW5dxO8ZlLA2VZDZ8mHNKhM485qAHD qPlELyAlSICTpq3682mdcQOR/SXkxsZ2wbqMBvLGkBhDXmElMOE6kcJGkcjkO8nUYHVy ZQVPy95EVi9RPYYA9XTNUegoC2CUhIfKqFO+Knp0g4KjCIvNN0MxxU4qR41yDcjJQSn4 3f9w== MIME-Version: 1.0 X-Received: by 10.68.225.42 with SMTP id rh10mr31241171pbc.145.1359309598701; Sun, 27 Jan 2013 09:59:58 -0800 (PST) Received: by 10.67.2.65 with HTTP; Sun, 27 Jan 2013 09:59:58 -0800 (PST) In-Reply-To: References: <20130125140953.GA1328@glenbarber.us> <20130125141202.GB1328@glenbarber.us> Date: Sun, 27 Jan 2013 09:59:58 -0800 Message-ID: Subject: Re: what is required to support a new laptop? From: Kevin Oberman To: Eitan Adler Content-Type: text/plain; charset=UTF-8 Cc: Glen Barber , freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 18:00:04 -0000 On Fri, Jan 25, 2013 at 9:25 PM, Eitan Adler wrote: > On 25 January 2013 14:51, Kevin Oberman 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. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com