abituguru3 does not work with Abit IX38
Subsystems (2)
Hi all,
I am attempting to use abituguru3 with my Abit IX38 motherboard. Error message is
abituguru3: error unknown motherboard ID: 001C. Please report this to the abituguru3 maintainer (see MAINTAINERS)
Kernel version is 2.6.23-r5, gentoo sources.
I understand later versions of abit boards may not be supported, but my CPU fan is spinning way faster than it should and drives me crazy. Any pointers or test programs would be appreciated.
Thanks
Dave
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 8 lines · David Bender
Hi all,
I am attempting to use abituguru3 with my Abit IX38 motherboard. Error message isabituguru3: error unknown motherboard ID: 001C. Please report this to the abituguru3 maintainer (see
MAINTAINERS)Kernel version is 2.6.23-r5, gentoo sources.
This is already fixed in 2.6.24, patch attached for your pleasure.
Quoted 4 lines
I understand later versions of abit boards may not be supported, but my CPU fan is spinning way faster than it should and drives me crazy. Any pointers or test programs would be appreciated.
I'm afraid that the abituguru3 driver only supports reading sensors and sensors settings, the pwm part is completely unsupported, not even reading the settings is supported.
However one can usually fully tune the fan settings in Abit's BIOS, and if you can hear the fan I guess you're close enough to the machine to get into its BIOS setup :)
Regards,
Hans
This patch adds support for 2 new motherboards to the abituguru3 driver. This time with list terminators and closing brackets, sorry about the bad previous patch.
drivers/hwmon/abituguru3.c renamed from drivers/hwmon/abituguru3.c~ +54 -0
@@ -530,6 +530,60 @@ static const struct abituguru3_motherboa { "AUX3 Fan", 36, 2, 60, 1, 0 }, { NULL, 0, 0, 0, 0, 0 } } }, + { 0x001B, "unknown", { + { "CPU Core", 0, 0, 10, 1, 0 }, + { "DDR3", 1, 0, 20, 1, 0 }, + { "DDR3 VTT", 2, 0, 10, 1, 0 }, + { "CPU VTT", 3, 0, 10, 1, 0 }, + { "MCH 1.25V", 4, 0, 10, 1, 0 }, + { "ICHIO 1.5V", 5, 0, 10, 1, 0 }, + { "ICH 1.05V", 6, 0, 10, 1, 0 }, + { "ATX +12V (24-Pin)", 7, 0, 60, 1, 0 }, + { "ATX +12V (8-pin)", 8, 0, 60, 1, 0 }, + { "ATX +5V", 9, 0, 30, 1, 0 }, + { "+3.3V", 10, 0, 20, 1, 0 }, + { "5VSB", 11, 0, 30, 1, 0 }, + { "CPU", 24, 1, 1, 1, 0 }, + { "System", 25, 1, 1, 1, 0 }, + { "PWM Phase1", 26, 1, 1, 1, 0 }, + { "PWM Phase2", 27, 1, 1, 1, 0 }, + { "PWM Phase3", 28, 1, 1, 1, 0 }, + { "PWM Phase4", 29, 1, 1, 1, 0 }, + { "PWM Phase5", 30, 1, 1, 1, 0 }, + { "CPU Fan", 32, 2, 60, 1, 0 }, + { "SYS Fan", 34, 2, 60, 1, 0 }, + { "AUX1 Fan", 33, 2, 60, 1, 0 }, + { "AUX2 Fan", 35, 2, 60, 1, 0 }, + { "AUX3 Fan", 36, 2, 60, 1, 0 }, + { NULL, 0, 0, 0, 0, 0 } } + }, + { 0x001C, "unknown", { + { "CPU Core", 0, 0, 10, 1, 0 }, + { "DDR2", 1, 0, 20, 1, 0 }, + { "DDR2 VTT", 2, 0, 10, 1, 0 }, + { "CPU VTT", 3, 0, 10, 1, 0 }, + { "MCH 1.25V", 4, 0, 10, 1, 0 }, + { "ICHIO 1.5V", 5, 0, 10, 1, 0 }, + { "ICH 1.05V", 6, 0, 10, 1, 0 }, + { "ATX +12V (24-Pin)", 7, 0, 60, 1, 0 }, + { "ATX +12V (8-pin)", 8, 0, 60, 1, 0 }, + { "ATX +5V", 9, 0, 30, 1, 0 }, + { "+3.3V", 10, 0, 20, 1, 0 }, + { "5VSB", 11, 0, 30, 1, 0 }, + { "CPU", 24, 1, 1, 1, 0 }, + { "System", 25, 1, 1, 1, 0 }, + { "PWM Phase1", 26, 1, 1, 1, 0 }, + { "PWM Phase2", 27, 1, 1, 1, 0 }, + { "PWM Phase3", 28, 1, 1, 1, 0 }, + { "PWM Phase4", 29, 1, 1, 1, 0 }, + { "PWM Phase5", 30, 1, 1, 1, 0 }, + { "CPU Fan", 32, 2, 60, 1, 0 }, + { "SYS Fan", 34, 2, 60, 1, 0 }, + { "AUX1 Fan", 33, 2, 60, 1, 0 }, + { "AUX2 Fan", 35, 2, 60, 1, 0 }, + { "AUX3 Fan", 36, 2, 60, 1, 0 }, + { NULL, 0, 0, 0, 0, 0 } } + }, { 0x0000, NULL, { { NULL, 0, 0, 0, 0, 0 } } } };
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 3 lines · Hans de Goede <j.w.r.degoede <at> hhs.nl> writes:
I'm afraid that the abituguru3 driver only supports reading sensors and sensors settings, the pwm part is completely unsupported, not even reading the settings is supported.
I am willing to spend a few hours staring at assembly before I break down and buy their guru control panel.
Is there anyway to read the microcode on the uguru uC?
Perhaps looking at the BIOS code may help? I am sure there must be some routine for communicating with their uC in that code.
I noticed a W83320G PWM control chip on my mobo. Could this possibly control
the fans?
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi
The datasheet is here http://www.datasheetarchive.com/preview/3656055.html
if it is still this chip.
It is 51 compatible core, so perhaps interactive disassembler should work.
Quoted 1 line
Is there anyway to read the microcode on the uguru uC?
Perhaps it comes somewhere in the BIOS image. It should be 40K firmware.
Quoted 2 lines
I noticed a W83320G PWM control chip on my mobo. Could this possibly control
the fans?
Yes maybe.
R.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi again,
I have taken the IX38 BIOS, decompressed and got this bunch of file (using old dos awardeco.arj, awardeco from debian does not work)
http://www.os2site.com/sw/util/veit/index.html
(use dosbox to run it)
marekr2@kiur:~/dilna/uguru$ ls -1 *BIN ACPITBL.BIN AHCI_ROM.BIN BEXTDDR2.BIN DDR2.BIN _EN_CODE.BIN _ITEM.BIN JMB363_6.BIN M704B_11.BIN RAID_OR.BIN SMI32COD.BIN
BEXTDDR2.BIN is PE program relocated to the top of the ROM, dont know what it should do.
DDR2.BIN despite the name is some kind of uGuru ROM utillity. Perhaps the board has some kind of hotkey to invoke it?
It is standard rom file, so it can be invoked as option-rom by qemu :)
qemu -option-rom DDR2.BIN -hda /dev/null
Unfortunately it will hang around
(gdb) stepi0x000005d0 in ?? ()
(gdb) stepi0x000005d3 in ?? ()
(gdb) stepi0x000005a6 in ?? ()
(gdb) stepi0x000005ab in ?? ()
(gdb) stepi0x000005ad in ?? ()
(gdb) stepi0x00000868 in ?? ()
(gdb) stepi0x0000086b in ?? ()
(gdb) stepi0x00000870 in ?? ()
(gdb) stepi0x0000087c in ?? ()
(gdb) stepi0x000005b0 in ?? ()
(gdb) stepi0x000005b3 in ?? ()
(gdb) stepi0x000005b5 in ?? ()
(gdb) stepi
(I checked in qemu monitor the addr is d05b3 etc only gdb has it wrong)
Because for some reason some structs are not initialized properly. Maybe this could be workarounded. (I attached to qemu with gdb to check this)
Good news is that this option rom talks directly to uGuru, so there is no SMM layer. It uses ports 0xe0 0xe4 and 0xeb
This option ROM uses VGA bios int 0x10 services and 0x16 keyboard services, so perhaps it can be fixed and even run in qemu :)
What I have in mind is to use qemu and program virtual dummy uGuru device (filled with dump values ;), which acts as that routines want, then if you change the voltage in this util, you can take a look what it changes in the virtual device - or simply log all IO traffic.
Or of course, the size of binary is only 32K so it should not be much difficult to reverse engineer it completely.
If some values are still missing, and we cannot succeed with qemu. I would suggest to patch this util to display the IO on screen directly ;) It would need to repack the BIOS but it can be done.
One final note on offset +3 is standard entrypoint. Maybe some non-standard entrypoint must be executed first right after the ROM header (there are some jumps) Second possibility would be to steal this ROM from already running computer, maybe if you do
dd if=/dev/mem of=memory.bin bs=1M count=1
you will find it somewhere around 700KB with already filled values ;)
Well thats all for ideas, good luck. I will be back next year ;)
Rudolf
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 6 lines · David Bender
Quoted 3 lines · Hans de Goede <j.w.r.degoede <at> hhs.nl> writes:
I'm afraid that the abituguru3 driver only supports reading sensors and sensors settings, the pwm part is completely unsupported, not even reading the settings is supported.
Quoted 8 lines
I am willing to spend a few hours staring at assembly before I break down and buy their guru control panel.
Is there anyway to read the microcode on the uguru uC?
Perhaps looking at the BIOS code may help? I am sure there must be some routine for communicating with their uC in that code.
David,
The current abituguru and abituguru3 drivers both have been written by me after other people ran the windows software under a debugger and stepped through the relevant code. So I guess thats one possible way to proceed, don't ask me for help there though, as said others (Louis Kruger in the case of the uguru3) were so kind todo the grunt work, I merely turned there results into a usable driver.
I will of course be happy to extend said driver with your results, although you might want to consider doing that yourself as I don't own an uguru3 motherboard.
Thanks & Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Thanks Hans,
I have followed up on Rudolf's work and and am compiling QEMU now. There's
a of territory to cover but at least it revolves around outb statements. I will post my results when I find somthing
Dave
Quoted 31 lines · Hans de Goede
Quoted 7 lines · David Bender
Quoted 3 lines · Hans de Goede <j.w.r.degoede <at> hhs.nl> writes:
I'm afraid that the abituguru3 driver only supports reading sensors and sensors settings, the pwm part is completely unsupported, not even reading the settings is supported.
I am willing to spend a few hours staring at assembly before I break
down and
Quoted 5 lines
buy their guru control panel.
Is there anyway to read the microcode on the uguru uC?
Perhaps looking at the BIOS code may help? I am sure there must be some
routine
Quoted 2 lines
for communicating with their uC in that code.
David,
The current abituguru and abituguru3 drivers both have been written by me after
other people ran the windows software under a debugger and stepped through the
relevant code. So I guess thats one possible way to proceed, don't ask me for
help there though, as said others (Louis Kruger in the case of the uguru3) were
so kind todo the grunt work, I merely turned there results into a usable driver.
Quoted 9 lines
I will of course be happy to extend said driver with your results, although you
might want to consider doing that yourself as I don't own an uguru3 motherboard.Thanks & Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors