From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 17:29:46 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 95FE2AD6; Tue, 29 Jan 2013 17:29:46 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id BD7B7A96; Tue, 29 Jan 2013 17:29:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r0THTdfR092900; Wed, 30 Jan 2013 04:29:40 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 30 Jan 2013 04:29:39 +1100 (EST) From: Ian Smith To: Eitan Adler Subject: Re: what is required to support a new laptop? In-Reply-To: Message-ID: <20130130032714.D87033@sola.nimnet.asn.au> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, bapt@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: Tue, 29 Jan 2013 17:29:46 -0000 On Tue, 29 Jan 2013 10:59:09 -0500, Eitan Adler wrote: > On 29 January 2013 10:50, Ian Smith wrote: > > On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote: > > > On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler wrote: > > > > On 28 January 2013 06:49, Lars Engels wrote: > > > >> On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: > > > >>> Hi all, > > > >>> > > > >>> I recently purchased a Lenovo Y530 and attempted to use some of the > > > >>> ACPI features (brightness of backlight, etc.) > > > >>> > > > >>> I attempted to load acpi_ibm but devd reported no events (running with > > > >>> devd -dD). What information might be useful to help support this > > > >>> laptop? > > > >> > > > >> Did you set dev.acpi_ibm.0.events=1? > > > > > > > > I don't see this as an option at all. > > > > > > Setting dev.acpi_ibm.0.events=1 still does not cause the brightness > > > functions to generate events. Could the initialmask and or availmask > > > tie into this in some way? > > > > Have we seen 'sysctl dev.acpi_ibm' from this machine yet? Maybe clues? > > Ideally after kldload acpi_ibm and before any sysctl changes .. > > [3462 root@gravity /home/eitan ]#kldload acpi_ibm.ko > [3463 root@gravity /home/eitan ]#sysctl dev.acpi_ibm > sysctl: unknown oid 'dev.acpi_ibm' Ah right. I don't suppose kldload -v shows anything useful about the problem loading it? Ah, never mind, it may be obvious .. lightly skimming your asl.y530.gz, I recalled folks having to patch something for Lenovo rather than IBM OEMIDs .. hunt, hunt .. ok, here it is: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164538 > I assume this is either missing a device ID and/or not the right driver at all. Hopefully adding the LEN0068 to ibm_ids might allow acpi_ibm to load; if not more digging may be needed for this model. > I mentioned this was a Lenovo IdeaPad Y530 I'm assuming running 9.x? I didn't see uname output in this thread. Strange; according to that PR this was supposed to have been MFC'd last November, but didn't make it into 9.1-RELEASE sources. Committer cc'd. cheers, Ian