Re: Call for testers: New acpi_ibm driver

Markus Brueffer <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile,gmane.os.freebsd.devel.acpi
Message-ID <[email protected]>
On Tuesday 31 May 2005 11:25, Rong-En Fan wrote:
> On Mon, May 30, 2005 at 06:57:09PM +0200, Markus Brueffer wrote:
> > Hi,
> >
> > 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
>
> hw.acpi.ibm.initialmask: 2060
> hw.acpi.ibm.availmask: 16777215
> hw.acpi.ibm.events: 0
> hw.acpi.ibm.eventmask: 2060
> hw.acpi.ibm.hotkey: 2432
> hw.acpi.ibm.lcd_brightness: 5
> hw.acpi.ibm.volume: 6
> hw.acpi.ibm.mute: 0
> hw.acpi.ibm.thinklight: 0
> hw.acpi.ibm.bluetooth: 0
> hw.acpi.ibm.wlan: 0
> hw.acpi.ibm.fan_rpm: 3516
> hw.acpi.ibm.fan_status: 1
> hw.acpi.ibm.thermal: 61 -1 55 39 41 -1 27 -1
>
> It's few days' ago -current on IBM X31-IDV. Works good.
> I tried write to lcd_brightness, volume, thinklight
> and it works ! Thanks.

Great, thanks for testing!

> But, seems that wlan's value
> is not correct. For example, after boot, wlan=1.
> I ifconfig ath0 up, sysctl wlan=0, wireless stills
> works. Does it supposed to work in that way?

Yes, in theory it should work that way. I have copied this part from the old 
driver, but couldn't get it to work on my T41p. Now I'm still waiting for a 
report that reports success on that area. I'll probably set it to read-only 
until I figure out another way to set it (if there is any).

> > - support for reading up to 8 thermal sensors
>
> Is there any reference that describes which sensor
> monitors what part of ThinkPad?

Not that I know of, since this might vary from model to model. But to quote 
the README of the linux driver:

Thomas Gruber took his R51 apart and traced all six active sensors in
his laptop (the location of sensors may vary on other models):

1:  CPU
2:  Mini PCI Module
3:  HDD
4:  GPU
5:  Battery
6:  N/A
7:  Battery
8:  N/A

Markus

-- 
Markus Brueffer    | GPG-Key: http://people.FreeBSD.org/~markus/markus.asc
[email protected] | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4
[email protected] | FreeBSD: The Power to Serve!
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCnEBh1I0Qcnj4qNQRAoi1AKDjKYnC21G87D/hKJbF6PF53v14YACZAW+a
NYiLlex/RiP4JXrPeiHWRgk=
=W3Z+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.