acpitz: little diff

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Monday, January 7, 2008 - 6:52 am

I've have two more values that maybe should be debounced:

_AC0 = 2732
_TC1 = 1
_TC2 = 5

Index: acpitz.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v
retrieving revision 1.21
diff -u -r1.21 acpitz.c
--- acpitz.c 6 Jan 2008 18:06:50 -0000 1.21
+++ acpitz.c 7 Jan 2008 10:49:58 -0000
@@ -124,8 +124,8 @@
}

sc->sc_hot = acpitz_gettempreading(sc, "_HOT");
- sc->sc_tc1 = acpitz_getreading(sc, "_TC1");
- sc->sc_tc2 = acpitz_getreading(sc, "_TC2");
+ sc->sc_tc1 = acpitz_gettempreading(sc, "_TC1");
+ sc->sc_tc2 = acpitz_gettempreading(sc, "_TC2");
sc->sc_psv = acpitz_gettempreading(sc, "_PSV");
dnprintf(10, "%s: _HOT: %d _TC1: %d _TC2: %d _PSV: %d _TMP: %d "
"_CRT: %d\n", DEVNAME(sc), sc->sc_hot, sc->sc_tc1, sc->sc_tc2,

acpitz0 at acpi0: critical temperature 105 degC
acpitz0: TZ00: failed to read _AC0
acpitz0: TZ00: failed to read _TC1
acpitz0: TZ00: failed to read _TC2
acpitz1 at acpi0: critical temperature 105 degC
acpitz1: TZ01: failed to read _AC0
acpitz1: TZ01: failed to read _TC1
acpitz1: TZ01: failed to read _TC2

--
see ya,
giovanni

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
acpitz: little diff, giovanni, (Mon Jan 7, 6:52 am)
Re: acpitz: little diff, Marco Peereboom, (Mon Jan 7, 9:43 am)