All of lore.kernel.org
 help / color / mirror / Atom feed
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:08 +0000	[thread overview]
Message-ID: <20040805092114.684e671f.khali@linux-fr.org> (raw)
In-Reply-To: <20040720225853.6f67122b.khali@linux-fr.org>

> The results are attached, including the shell script I used.
> I sent you the results for fan2, as you asked, and for fan1,
> because fan2 here appears to be the CPU cooler. Anyway, using
> fan1 the corresponding fan was stopped at the end of the script.
> :-)

OK, so it must be working. I should have told you to set the fan clock
divider to 8 before starting the test, but the results are still
significant.

I've updated the driver:
http://khali.linux-fr.org/devel/i2c/linux-2.6/linux-2.6.8-rc2-i2c-smsc47m1-rc1.diff

It should now force the fan speed reading to 0 when PWM is enabled with
a duty cycle of 0%. So for example the following sequence should work
fine:

echo 0 > fan1_pwm_enable
echo 0 > fan1_pwm
sleep 4
cat fan1_input (should return 3000 or so)
echo 1 > fan1_pwm_enable (fan should stop)
sleep 3
cat fan1_input (should return 0)

With the previous version if would have returned the last known speed or
some other random non-zero value (it seems) while the fan would clearly
be stopped.

If you confirm that this version of the driver works fine for you, I'll
submit it for incorporation into Greg's tree.

> Ok. I was just wondering if some strange values could be the
> result of some interference.

Unless you refer to interference in the designers brains, I don't think
so ;)

Thanks a lot for testing, it looks like we finally came to a working 2.6
driver.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/

  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 ` 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 ` 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 ` Jean Delvare
2005-05-19  6:25 ` Ivars Strazdins
2005-05-19  6:25 ` cgfreita
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 ` Jean Delvare [this message]
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` cgfreita

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=20040805092114.684e671f.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.