Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 04:29:39 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        freebsd-acpi@freebsd.org, bapt@freebsd.org
Subject:   Re: what is required to support a new laptop?
Message-ID:  <20130130032714.D87033@sola.nimnet.asn.au>
In-Reply-To: <CAF6rxgnuC%2B9-TZV_3uv2hyGiGOngost9k2ct0ZFtfvnzeDPvEA@mail.gmail.com>
References:  <CAF6rxg=c=JN=N7NkWYdRHbgAqQTPGoFr=uLuXgiCfh%2BDdd-C4w@mail.gmail.com> <20130128114938.GK50515@e-new.0x20.net> <CAF6rxgnHayanFrLhmixdixe_pKeifPZG2mUYnJc51ioc47oYJQ@mail.gmail.com> <CAN6yY1tLY_LSv6xpcfD_oC_6769BSuFutKYE4%2BExN81oyue5vQ@mail.gmail.com> <20130130024649.R87033@sola.nimnet.asn.au> <CAF6rxgnuC%2B9-TZV_3uv2hyGiGOngost9k2ct0ZFtfvnzeDPvEA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jan 2013 10:59:09 -0500, Eitan Adler wrote:
 > On 29 January 2013 10:50, Ian Smith <smithi@nimnet.asn.au> wrote:
 > > On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote:
 > >  > On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler <lists@eitanadler.com> wrote:
 > >  > > On 28 January 2013 06:49, Lars Engels <lars.engels@0x20.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130130032714.D87033>