From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 17:32:14 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 72206B83 for ; Tue, 29 Jan 2013 17:32:14 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx1.freebsd.org (Postfix) with ESMTP id F2396AAE for ; Tue, 29 Jan 2013 17:32:13 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id o1so684690wic.6 for ; Tue, 29 Jan 2013 09:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=R0Asy6GefwZqNraE7E1j3EOTqKPouPzfZLFivJsW9/w=; b=pAK3SNvh1g5H/414W5pN6mw1RGmvtUCO/HFBS6qwNRGBAXwmm0xHsHsrhhkJTSXuIB dsojEfBT0oVoWhb2s/0qNirKMfWBlPn5FE9a2h/nSjJdbzqnwD/0+UyIMyBlFwi/PDPJ 58WpZ6OOHzYL/FcC74/IFZWujuzh6thUg8+ATnwBaRPAYRLInlI3rnmI1Jvc7Qv8exZB q8gXVppokRYZaxCNSv0OzHCzxwRp31lFKDLd542nikCwLKjaPEOlGEGLZjGxE/TgNq2D 1KLH8nj5sPJlS0m7NnVAimf6CmUGvih8jj1C1dacxZLa3P/D8NeWc/XzZZb8Eh7dNR5D phMg== X-Received: by 10.194.76.7 with SMTP id g7mr3910713wjw.50.1359480726891; Tue, 29 Jan 2013 09:32:06 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id eo10sm4559699wib.9.2013.01.29.09.32.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 09:32:05 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 29 Jan 2013 18:32:03 +0100 From: Baptiste Daroussin To: Ian Smith Subject: Re: what is required to support a new laptop? Message-ID: <20130129173203.GJ43629@ithaqua.etoilebsd.net> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> <20130130032714.D87033@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pMCBjikF2xGw87uL" Content-Disposition: inline In-Reply-To: <20130130032714.D87033@sola.nimnet.asn.au> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Tue, 29 Jan 2013 17:32:14 -0000 --pMCBjikF2xGw87uL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 30, 2013 at 04:29:39AM +1100, Ian Smith wrote: > 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 wr= ote: > > > > >> 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 (run= ning with > > > > >>> devd -dD). What information might be useful to help support = this > > > > >>> laptop? > > > > >> > > > > >> Did you set dev.acpi_ibm.0.events=3D1? > > > > > > > > > > I don't see this as an option at all. > > > > > > > > Setting dev.acpi_ibm.0.events=3D1 still does not cause the bright= ness > > > > functions to generate events. Could the initialmask and or availm= ask > > > > tie into this in some way? > > > > > > Have we seen 'sysctl dev.acpi_ibm' from this machine yet? Maybe clu= es? > > > Ideally after kldload acpi_ibm and before any sysctl changes .. > >=20 > > [3462 root@gravity /home/eitan ]#kldload acpi_ibm.ko > > [3463 root@gravity /home/eitan ]#sysctl dev.acpi_ibm > > sysctl: unknown oid 'dev.acpi_ibm' >=20 > Ah right. I don't suppose kldload -v shows anything useful about the=20 > problem loading it? Ah, never mind, it may be obvious .. lightly=20 > skimming your asl.y530.gz, I recalled folks having to patch something=20 > for Lenovo rather than IBM OEMIDs .. hunt, hunt .. ok, here it is: >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/164538 >=20 > > I assume this is either missing a device ID and/or not the right drive= r at all. >=20 > Hopefully adding the LEN0068 to ibm_ids might allow acpi_ibm to load; if= =20 > not more digging may be needed for this model. >=20 > > I mentioned this was a Lenovo IdeaPad Y530 >=20 > I'm assuming running 9.x? I didn't see uname output in this thread. >=20 > Strange; according to that PR this was supposed to have been MFC'd last= =20 > November, but didn't make it into 9.1-RELEASE sources. Committer cc'd. >=20 > cheers, Ian 9.1 was already branched at the time I MFCed it to 9-STABLE so not it didn't make into 9.1-RELEASE. regards, Bapt --pMCBjikF2xGw87uL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEIB5MACgkQ8kTtMUmk6Ey56ACgpPJ4uatVNr8T0/eBD5tHAlbZ lvAAoIkwQNAv94DyE1R6eTbbbHBpwpW5 =qHf4 -----END PGP SIGNATURE----- --pMCBjikF2xGw87uL--