[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
``Too fast fans'' problem with it(4)
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: ``Too fast fans'' problem with it(4)
- From: Alexander Yurchenko <grange_(_at_)_rt_(_dot_)_mipt_(_dot_)_ru>
- Date: Tue, 21 Sep 2004 23:54:11 +0400
There were many reports about fans starting to spin very fast just after
the dmesg line
it0 at isa0
Here's a fix that prevents it(4) driver from resetting bios settings. If you
have such hardware and noticed this problem please test and report if it
helped.
--
Alexander Yurchenko (aka grange)
Index: dev/isa/it.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/it.c,v
retrieving revision 1.10
diff -u -r1.10 it.c
--- dev/isa/it.c 23 Aug 2004 18:06:02 -0000 1.10
+++ dev/isa/it.c 21 Sep 2004 19:44:30 -0000
@@ -145,9 +145,6 @@
sc->numsensors = IT_NUM_SENSORS;
- /* Reset chip */
- it_writereg(sc, ITD_CONFIG, 0x80);
-
it_setup_fan(sc, 0, 3);
it_setup_volt(sc, 3, 9);
it_setup_temp(sc, 12, 3);
Visit your host, monkey.org