From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: smsc47m1 ported to Linux 2.6
Date: Thu, 19 May 2005 06:25:06 +0000 [thread overview]
Message-ID: <20040724232202.69523ee0.khali@linux-fr.org> (raw)
In-Reply-To: <20040720225853.6f67122b.khali@linux-fr.org>
> Sorry for the long delay.
> I was a little busy here.
No problem :)
> I got the package.
> It patched (no *.rej) and compiled fine.
> Attached is a file with some output from my environment.
After both of you reported that fan1 was working OK but fan2 wasn't, I
had to admit that there could be a problem in the driver. It is
theoretically possible that the board maker decides to enable fan1 and
disable fan2 (which is why I didn't react after the first report) but
two reports by two different testers were too much ;)
There was actually a bug in the driver, I wasn't watching the correct
registers when deciding whether to ebable fans or not. Same for PWM
outputs.
This is now fixed in patch tagged beta1:
http://khali.linux-fr.org/devel/i2c/linux-2.6/linux-2.6.8-rc2-i2c-smsc47m1-beta1.diff
Please test and confirm that both of you now have fan 1 and 2 working,
and two pwm file sets as well (whether they have an actual effect on fans
is yet another matter).
(You can revert the first patch using "patch -R" before applying this
one, so that you won't waste your time getting a fresh new tree.)
Thanks a lot for testing my code.
Among things that can be done to test the driver more actively:
1* Change fan limits in /etc/sensors.conf, run "sensors -s" and check
that the limits have been set properly. Ditto for divisors.
2* Change the fan limits through sysfs directly. Testing of corner cases
is welcome (large values, negative values, zero). Ditto for divisors.
3* Play with PWM (enable/disable, change speed). Be careful not to stop
your fans completely, systems usually don't like that much.
Thanks again.
--
Jean "Khali" Delvare
http://khali.linux-fr.org/
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 smsc47m1 ported to Linux 2.6 Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare [this message]
2005-05-19 6:25 ` cgfreita
2005-05-19 6:25 ` cgfreita
2005-05-19 6:25 ` cgfreita
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` cgfreita
2005-05-19 6:25 ` Ivars Strazdins
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` cgfreita
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` cgfreita
2005-05-19 6:25 ` cgfreita
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
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=20040724232202.69523ee0.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.