abituguru: New hardware
PATCH 27/44 abituguru: New hardware
From: Hans de Goede <j.w.r.degoede at hhs.nl>
New hardware monitoring driver for the Abit uGuru
Signed-off-by Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by Jean Delvare <khali at linux-fr.org>
Signed-off-by Greg Kroah-Hartman <gregkh at suse.de>
--- Documentation/hwmon/abituguru | 59 + Documentation/hwmon/abituguru-datasheet | 312 +++++++ MAINTAINERS | 6 drivers/hwmon/Kconfig | 12 drivers/hwmon/Makefile | 1 drivers/hwmon/abituguru.c | 1391 +++++++++++++++++++++++++++++++ 6 files changed, 1781 insertions(+), 0 deletions(-)
Documentation/hwmon/abituguru new file +58 -0
@@ -0,0 +1,59 @@ +Kernel driver abituguru +===========+ +Supported chips: + * Abit uGuru (Hardware Monitor part only) + Prefix: 'abituguru' + Addresses scanned: ISA 0x0E0 + Datasheet: Not available, this driver is based on reverse engineering. + A "Datasheet" has been written based on the reverse engineering it + should be available in the same dir as this file under the name + abituguru-datasheet. + +Authors: + Hans de Goede <j.w.r.degoede at hhs.nl>, + (Initial reverse engineering done by Olle Sandberg + <ollebull at gmail.com>) + + +Module Parameters +----------------- + +* force: bool Force detection. Note this parameter only causes the + detection to be skipped, if the uGuru can't be read + the module initialization (insmod) will still fail. +* fan_sensors: int Tell the driver how many fan speed sensors there are + on your motherboard. Default: 0 (autodetect). +* pwms: int Tell the driver how many fan speed controls (fan + pwms) your motherboard has. Default: 0 (autodetect). +* verbose: int How verbose should the driver be? (0-3): + 0 normal output + 1 + verbose error reporting + 2 + sensors type probing info\n" + 3 + retryable error reporting + Default: 2 (the driver is still in the testing phase) + +Notice if you need any of the first three options above please insmod the +driver with verbose set to 3 and mail me <j.w.r.degoede at hhs.nl> the output of: +dmesg | grep abituguru + + +Description +----------- + +This driver supports the hardware monitoring features of the Abit uGuru chip +found on Abit uGuru featuring motherboards (most modern Abit motherboards). + +The uGuru chip in reality is a Winbond W83L950D in disguise (despite Abit +claiming it is "a new microprocessor designed by the ABIT Engineers"). +Unfortunatly this doesn't help since the W83L950D is a generic +microcontroller with a custom Abit application running on it. + +Despite Abit not releasing any information regarding the uGuru, Olle +Sandberg <ollebull at gmail.com> has managed to reverse engineer the sensor part +of the uGuru. Without his work this driver would not have been possible. + +Known Issues +------------ + +The voltage and frequency control parts of the Abit uGuru are not supported.
Documentation/hwmon/abituguru-datasheet new file +307 -0
307 lines not on this page · raw message
MAINTAINERS +6 -0
@@ -181,6 +181,12 @@ M: bcrl at kvack.org L: linux-aio at kvack.org S: Supported +ABIT UGURU HARDWARE MONITOR DRIVER +P: Hans de Goede +M: j.w.r.degoede at hhs.nl +L: lm-sensors at lm-sensors.org +S: Maintained + ACENIC DRIVER P: Jes Sorensen M: jes at trained-monkey.org
drivers/hwmon/Kconfig +12 -0
@@ -27,6 +27,18 @@ config HWMON_VID tristate default n +config SENSORS_ABITUGURU + tristate "Abit uGuru" + depends on HWMON && EXPERIMENTAL + help + If you say yes here you get support for the Abit uGuru chips + sensor part. The voltage and frequency control parts of the Abit + uGuru are not supported. The Abit uGuru chip can be found on Abit + uGuru featuring motherboards (most modern Abit motherboards). + + This driver can also be built as a module. If so, the module + will be called abituguru. + config SENSORS_ADM1021 tristate "Analog Devices ADM1021 and compatibles" depends on HWMON && I2C
drivers/hwmon/Makefile +1 -0
@@ -12,6 +12,7 @@ obj-$(CONFIG_SENSORS_W83792D) += w83792d obj-$(CONFIG_SENSORS_W83781D) += w83781d.o obj-$(CONFIG_SENSORS_W83791D) += w83791d.o +obj-$(CONFIG_SENSORS_ABITUGURU) += abituguru.o obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o obj-$(CONFIG_SENSORS_ADM1025) += adm1025.o obj-$(CONFIG_SENSORS_ADM1026) += adm1026.o
drivers/hwmon/abituguru.c new file +1380 -0
1,380 lines not on this page · raw message
Signature · 1 line
1.4.0