Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 12:54:18 -0400
From:      Martin Cracauer <cracauer@cons.org>
To:        Kevin Oberman <oberman@es.net>
Cc:        Martin Cracauer <cracauer@cons.org>, Markus Brueffer <markus@freebsd.org>, freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: Call for testers: New acpi_ibm driver
Message-ID:  <20050617125418.A4374@cons.org>
In-Reply-To: <20050616225229.5A4785D08@ptavv.es.net>; from oberman@es.net on Thu, Jun 16, 2005 at 03:52:29PM -0700
References:  <20050616180521.A86735@cons.org> <20050616225229.5A4785D08@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

All right.

Appended diff makes my R40 load the module and have dev.acpi_ibm
appear in sysctl.

lcd_brightness works, volume/mute, thinklight work.

thermal with the 8 values works, two of them used for this box.  First
seems to be CPU (goes up in drystone).

No leds (argh!).  Need leds! My life is ruined.

fan_speed and fan don't work, it says 0 but is definitely on.

wlan might be wrong.  I don't have it turned on and the led is off but
it says "1".

FreeBSD-current of today.

I think it is safe to commit the appended diff.  It makes some stuff
work and I didn't see any ill effects.

dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
dev.acpi_ibm.0.%driver: acpi_ibm
dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
dev.acpi_ibm.0.%parent: acpi0
dev.acpi_ibm.0.initialmask: 2060
dev.acpi_ibm.0.availmask: 2524
dev.acpi_ibm.0.events: 0
dev.acpi_ibm.0.eventmask: 2060
dev.acpi_ibm.0.hotkey: 1296
dev.acpi_ibm.0.lcd_brightness: 7
dev.acpi_ibm.0.volume: 3
dev.acpi_ibm.0.mute: 0
dev.acpi_ibm.0.thinklight: 0
dev.acpi_ibm.0.bluetooth: 0
dev.acpi_ibm.0.wlan: 1
dev.acpi_ibm.0.fan_speed: 0
dev.acpi_ibm.0.fan: 0
dev.acpi_ibm.0.thermal: 50 51 -1 -1 -1 -1 -1 -1


Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org>   http://www.cons.org/cracauer/
 No warranty.    This email is probably produced by one of my cats 
 stepping on the keys. No, I don't have an infinite number of cats.

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: acpi_ibm.c
===================================================================
RCS file: /home/CVS-FreeBSD/src/sys/dev/acpi_support/acpi_ibm.c,v
retrieving revision 1.6
diff -u -r1.6 acpi_ibm.c
--- acpi_ibm.c	10 Jun 2005 11:56:18 -0000	1.6
+++ acpi_ibm.c	17 Jun 2005 16:54:59 -0000
@@ -269,7 +269,7 @@
 DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, acpi_ibm_devclass,
 	      0, 0);
 MODULE_DEPEND(acpi_ibm, acpi, 1, 1, 1);
-static char    *ibm_ids[] = {"IBM0068", NULL};
+static char    *ibm_ids[] = {"IBM0068", "IBM0057", NULL};
 
 static void
 ibm_led(void *softc, int onoff)

--IJpNTDwzlM2Ie8A6--



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