Call for testers: New acpi_ibm driver

Martin Cracauer cracauer at cons.org
Fri Jun 17 16:54:35 GMT 2005


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 at 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.
-------------- next part --------------
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)


More information about the freebsd-mobile mailing list