All of lore.kernel.org
 help / color / mirror / Atom feed
From: cgfreita@netsite.com.br (cgfreita)
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: <20040803215233.08cbfd9e.cgfreita@netsite.com.br> (raw)
In-Reply-To: <20040720225853.6f67122b.khali@linux-fr.org>

Hi Jean,

	Uff, finally I ran the tests.
	As usually, I patched -R beta2.diff, patched -p1 beta3.diff and
make bzImage, make install, make modules, make modules_install.
	Everything was fine. No .rej.

> > Please, take a look at probs4.txt attached.
> 
> The good point is that you seem to be able to control fan 1's speed.
> But the reported value goes weird as soon as the fan is stopped.
> Either the value isn't updated anymore (i.e. last value is reported)
> or random values are reported. Since it reported 5851 RPM once,
> which doesn't seem possibe, I would opt for the second case.
> However, I would like you to do some more tests to confirm that.
> 
> Please stop the fan (pwm_enable=1, pwm=0) and run sensors several
> times in a row, with some delay between each run. Check if the
> (obviously wrong value) which is reported is the same each time, or
> not.
> 
> > Please, take a look at results_jean.txt
> 
> My code was obviously bogus, fan min was not preserved at all when
> changining fan div. I just took a look and have to say I'm a bit
> ashamed, since it was caused by... a misplaced parenthesis.
> 
> Fixed patch is available:
> http://khali.linux-fr.org/devel/i2c/linux-2.6/linux-2.6.8-rc2-i2c-smsc47m1-beta3.diff
> if you can please test again using the same script. Oh, BTW:
> 
> > modprobe i2c_sensor
> > modprobe i2c-i801
> > modprobe i2c-isa
> > modprobe adm1025
> > modprobe smsc47m1
> 
> You don't need to explicitly modprobe i2c_sensor, it'll be loaded as
> needed automatically.

	Forgive me for the giant quote.
	You can see at j1 (jean.tar.bz2) directory, the results you asked
for. Please take a look.

> > and results_jean_dump.txt.
> 
> Fan alarms are not set on the dump you sent, so there's nothing I
> can check. The case I'm interested in is when "sensors" show an
> alarm which you think should not be there. If you provide both the
> output of"sensors" and the dump at that instant, I may be able to
> check if sensors' output matches the registers dump or not. If you
> are not able to reproduce that corner case or are not worried about
> it, just forget about it, it's not critical.

	Please, take a look at j2 (jean.tar.bz2) directory. There are the
tests you asked for. Oh, check if the .sh is ok to you.
	I don't matter about the ALARMS. I just tried to give you
the more information I could.

> > From today, I can delay a little more to answer because I am back
> > to college classes. (The end of vacation)
> 
> Oh, I wish you well then :)

	So do I. Thank you. :-)
 
> > P.S. My english is not good enough. :-)
> 
> Like mine is perfect? ;) Come on, you must be kidding, your English
> is honest to say the least. You have no idea what bad English is.

	Well, if you are understanding what I write, it is fine. :-)
	Please, if you need more information, tell me.
	I was wondering, are there some other things that can influence the
behaviour of sensors? I mean, that could be affecting the results?
	Thanks.

Freitas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jean.tar.bz2
Type: application/octet-stream
Size: 2275 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040803/45e281c7/jean.tar.obj

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

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=20040803215233.08cbfd9e.cgfreita@netsite.com.br \
    --to=cgfreita@netsite.com.br \
    --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.