From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] v3 of a adt7470 driver\
Date: Sat, 14 Jul 2007 17:22:41 +0000 [thread overview]
Message-ID: <46990661.6080402@hhs.nl> (raw)
In-Reply-To: <20070713002836.GR3435@tree.beaverton.ibm.com>
Vadim Zeitlin wrote:
> On Sat, 14 Jul 2007 18:19:22 +0200 Hans de Goede <j.w.r.degoede@hhs.nl> wrote:
>
> HdG> > and the AMB sensors 2 and 3 were not being taken into account. Without knowing
> HdG> > anything about libsensors I thought it was because the file names in
> HdG> > /sys/devices/platform/i5k_amb.0 were named {temp0,temp16,temp32,temp48}_xxx and
> HdG> > not temp[1234] as usual
> HdG>
> HdG> Yes, thats a rather severe violation of the hwmon sysfs standard. I do not see
> HdG> this i5k_amb driver in the standard kernel, I assume its an addon driver?
>
> Hello Hans,
>
> This is the patch recently posted to the list:
>
> http://article.gmane.org/gmane.linux.drivers.sensors/14004
>
> sorry for not mentioning it (I forgot I was replying in a different thread
> from my reply in that one).
>
Duh, I actually still have that mail in my Inbox, as I'm planning on reviewing
it as time permits.
> HdG> > and now everything seems to work fine for me except for the 2
> HdG> > problems mentioned in my previous message (long delay when accessing
> HdG> > the sensors and manifestly incorrect values for temp[256]):
> HdG>
> HdG> Does this long delay always happen? If you run sensors in 2 quick
> HdG> successions, the second call should be quite fast.
>
> No, the delay is always present and always the same.
>
Hmm,
I see it refresh the readings every 2 seconds, since reading things takes 1 sec
minimum, I think it would be a good idea to make this somewhat bigger. Darrick,
can you post a new version and or an incremental patch with a slower read
frequency, say once every 5 or 10 seconds?
Also I notice that you are still doing a full read of the chip to data->raw,
this might very well explain some if the slowness. Please remove raw[] from
data and the full read code from the update() function.
Thanks & Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2007-07-14 17:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 0:28 [lm-sensors] [PATCH] v3 of a adt7470 driver\ Darrick J. Wong
2007-07-13 12:49 ` Hans de Goede
2007-07-14 15:00 ` Vadim Zeitlin
2007-07-14 17:22 ` Hans de Goede [this message]
2007-07-14 20:00 ` Jean Delvare
2007-07-16 20:07 ` Darrick J. Wong
2007-07-16 20:09 ` Darrick J. Wong
2007-07-17 5:13 ` Hans de Goede
2007-07-24 18:19 ` Darrick J. Wong
2007-07-24 18:56 ` Hans de Goede
2007-07-26 0:57 ` Darrick J. Wong
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=46990661.6080402@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--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.