From: Rudolf Marek <r.marek@assembler.cz>
To: Luca Tettamanti <kronos.it@gmail.com>
Cc: lm-sensors@lm-sensors.org, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [lm-sensors] [RFC] ACPI based hwmon driver for ASUS
Date: Thu, 21 Jun 2007 20:49:46 +0200 [thread overview]
Message-ID: <467AC84A.303@assembler.cz> (raw)
In-Reply-To: <20070602222829.GA11893@dreamland.darkstar.lan>
Hello Luca,
Sorry for delay,
> Ok, it makes sense :)
>
> Name (FBUF, Package (0x06)
> {
> 0x03,
> CPUF,
> CHAF,
> PWRF,
> CHPF,
> CH2F
> })
>
> Clearly the first number is not the number of available readings (though
> it matches the count in the other DSDTs I've seen); don't know what it
> is :|
Maybe study the Pro2.dll from Asus Probe II?
> The last field of the individual fan packages is far more interesting: 0
> means disabled, anything else means enabled. In your DSDT "CHIPSET FAN
> Speed" is marked as disabled and there's no AML code to read the
> rotation.
> This may be true also for the other packages (temp and voltage), but for
> now I've modified only the fan code.
Ok.
Fan3 is disabled because the chip is programed to disabled - (IO pin)
> Here's another iteration of the driver, please give it a try:
It loads now. I have moved my extra fan to some other connector, now it is fan1
for w83627EHF chip.
ATK0110 ATK0110:00: removing...
ATK0110 ATK0110:00: atk: adding...
ATK0110 ATK0110:00: board ID = A8VE-SE
ATK0110 ATK0110:00: temp 0: 0x6030000 CPU Temperature [900-1250]
ATK0110 ATK0110:00: temp 1: 0x6030001 MB Temperature [700-1250]
ATK0110 ATK0110:00: voltage 0: 0x6020000 Vcore Voltage [1450-1750]
ATK0110 ATK0110:00: voltage 1: 0x6020001 +3.3 Voltage [3000-3600]
ATK0110 ATK0110:00: voltage 2: 0x6020002 +5.0 Voltage [4500-5500]
ATK0110 ATK0110:00: voltage 3: 0x6020003 +12.0 Voltage [11200-13200]
ATK0110 ATK0110:00: atk_enumerate_fan: invalid fan count? 3 (should be 5)
ATK0110 ATK0110:00: fan 0: 0x6040000 CPU FAN Speed [0-1800] enabled
ATK0110 ATK0110:00: fan 1: 0x6040001 CHASSIS FAN Speed [0-1800] enabled
ATK0110 ATK0110:00: fan 2: 0x6040002 POWER FAN Speed [0-1800] enabled
ATK0110 ATK0110:00: fan 3: 0x6040005 CHIPSET FAN Speed [0-1800] disabled
ATK0110 ATK0110:00: fan 4: 0x6040006 CHASSIS2 FAN Speed [0-1800] enabled
ATK0110 ATK0110:00: registering hwmon device
ATK0110 ATK0110:00: populating sysfs directory
Although it says it has been registered to hwmon class, I cant find it in sysfs.
I have loaded/unloaded the driver several times before I checked the dir, so
maybe is something wrong?
Does it show up in your /sys/class/hwmon?
Thanks,
Rudolf
next prev parent reply other threads:[~2007-06-21 18:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-13 22:33 [RFC] ACPI based hwmon driver for ASUS Luca Tettamanti
2007-05-21 21:29 ` [lm-sensors] " Rudolf Marek
2007-05-21 21:38 ` Luca
2007-05-21 21:53 ` [lm-sensors] " Luca
2007-05-22 6:19 ` Rudolf Marek
2007-06-02 22:28 ` Luca Tettamanti
2007-06-21 18:49 ` Rudolf Marek [this message]
2007-06-21 19:33 ` Luca
2007-06-21 19:02 ` Rudolf Marek
2007-06-21 19:15 ` Alexey Starikovskiy
2007-06-21 20:11 ` Luca
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=467AC84A.303@assembler.cz \
--to=r.marek@assembler.cz \
--cc=kronos.it@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).