Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 19:15:28 +0200
From:      Markus Brueffer <markus@FreeBSD.org>
To:        freebsd-acpi@freebsd.org
Cc:        Sam Leffler <sam@errno.com>, freebsd-mobile@freebsd.org
Subject:   Re: Call for testers: New acpi_ibm driver
Message-ID:  <200505311915.37097.markus@FreeBSD.org>
In-Reply-To: <429C8E98.6000101@errno.com>
References:  <200505301857.20346.markus@FreeBSD.org> <20050531.232933.115970943.rushani@bl.mmtr.or.jp> <429C8E98.6000101@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1671181.xVNXF5YW8V
Content-Type: multipart/mixed;
  boundary="Boundary-01=_xuJnCBoZxz0IdAy"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_xuJnCBoZxz0IdAy
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 31 May 2005 18:19, Sam Leffler wrote:
> Hideyuki KURASHINA wrote:
> > Hi, Markus
> >
> >>>>On Mon, 30 May 2005 18:57:09 +0200, Markus Brueffer
> >>>> <markus@FreeBSD.org> said:
> >>
> >>I'm looking for testers for a mostly rewritten and enhanced version of
> >> the acpi_ibm (ACPI Thinkpad Extras) driver.
> >>
> >>You can find it along with a first draft of the new manpage at:
> >>
> >>http://people.freebsd.org/~markus/ibm/
> >>
> >>If you are running -CURRENT, simply replace the former driver with the
> >> new one in sys/dev/acpi_support and rebuild it. (sorry, no patch for
> >> 5.x for now).
> >>
> >>Please mail me on failure and success and include the output of
> >># sysctl hw.acpi.ibm
> >
> > I built kernel as of today, my X40 shows:
> >
> > hw.acpi.ibm.initialmask: 2060
> > hw.acpi.ibm.availmask: 2524
> > hw.acpi.ibm.events: 0
> > hw.acpi.ibm.eventmask: 2060
> > hw.acpi.ibm.hotkey: 1312
> > hw.acpi.ibm.lcd_brightness: 7
> > hw.acpi.ibm.volume: 0
> > hw.acpi.ibm.mute: 0
> > hw.acpi.ibm.thinklight: 0
> > hw.acpi.ibm.bluetooth: 0
> > hw.acpi.ibm.wlan: 1
> > hw.acpi.ibm.fan_rpm: 4285
> > hw.acpi.ibm.fan_status: 1
> > hw.acpi.ibm.thermal: 48 43 47 40 25 -1 32 -1
> >
> >>In any case: Please send me your DSDT for further improvement of the
> >> driver (even if you run FreeBSD 5):
> >># acpidump -t -d > name-system.asl
> >
> > http://www.rushani.jp/tmp/TPX40_2371-GDE.asl
> >
> >>- write support for: volume, mute, brightness and thinklight
> >>- led(4) interface for the thinklight (thanks simon)
> >>- support for reading the fan status and speed
> >>- support for reading up to 8 thermal sensors
> >
> > Works fine.  I cannot find any regression compared with previous
> > one.  Nice work!
> >
> > BTW, wlan LED only works before suspend, that is, it won't blink after
> > suspend (this is same behavior as before).
>
> I haven't been able to make suspend-resume work correctly on my t42p but
> if the wlan LED is the same one controlled by the ath driver then you
> might check the suspend-resume logic in the driver to make sure it
> re-enables the gpio pin.  I thought it did but given that I can't resume
> properly it's hard to test...

My T41p resumes fine and in fact the wlan LED doesn't work after resume=20
(didn't notice that before). The attached patch for if_ath.c fixes that for=
=20
me.

Markus

=2D-=20
Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.=
asc
markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4
markus@FreeBSD.org | FreeBSD: The Power to Serve!

--Boundary-01=_xuJnCBoZxz0IdAy--

--nextPart1671181.xVNXF5YW8V
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCnJu51I0Qcnj4qNQRAjZdAKCB02fWj/gYmVo4ThqEJgA0KBMlsQCZAaa+
J2elupiWuk9GjpMW/fU/OrQ=
=z9mV
-----END PGP SIGNATURE-----

--nextPart1671181.xVNXF5YW8V--



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