From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 18:24:14 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 7E7C56B3; Tue, 29 Jan 2013 18:24:14 +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 7074BEB5; Tue, 29 Jan 2013 18:24:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r0TIO4Dw094762; Wed, 30 Jan 2013 05:24:05 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 30 Jan 2013 05:24:04 +1100 (EST) From: Ian Smith To: Eitan Adler Subject: Re: what is required to support a new laptop? In-Reply-To: Message-ID: <20130130050811.H87033@sola.nimnet.asn.au> 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: 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 18:24:14 -0000 On Tue, 29 Jan 2013 12:46:43 -0500, Eitan Adler wrote: > On 29 January 2013 12:29, Ian Smith wrote: > > 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 > > > This is after the install of a patched acpi_ibm > [3500 root@gravity /usr/src/sys/modules/acpi ]#kldload -v acpi_ibm > Loaded acpi_ibm, id=12 Which looks maybe successful, on the face of it? .. > [5507 eitan@gravity (100)% ~ !1!]%sysctl dev.acpi_ibm > sysctl: unknown oid 'dev.acpi_ibm' .. but clearly wasn't. > > Hopefully adding the LEN0068 to ibm_ids might allow acpi_ibm to load; if > > not more digging may be needed for this model. > > I'm not sure what ID this is matching so I don't even know what to > look at to try a different one. Me neither. My Thinkpad T23 ASL shows this ID at: Device (HKEY) { Name (_HID, EisaId ("IBM0068")) Method (_STA, 0, NotSerialized) { Return (0x0F) } but I see no obvious corresponding device or other reference in yours. > > > I mentioned this was a Lenovo IdeaPad Y530 > > > > I'm assuming running 9.x? I didn't see uname output in this thread. > > [5505 eitan@gravity (100)% ~ ]%uname -a > FreeBSD gravity 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r244942M: Wed Jan > 2 08:00:02 EST 2013 root@gravity:/usr/obj/usr/src/sys/GENERIC > amd64 > > The "M" is a patched AR8161 driver and now a patched acpi_ibm driver. Sorry, that was my one shot; now I'm out of my depth (and off to sleep) [ Baptiste, fair enough that patch not making it into 9.1 .. and it seems there's more to getting this particular model going anyway. ] cheers, Ian