* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
@ 2005-10-11 0:46 ` Kjeld Flarup
2005-10-11 0:54 ` Robert Teel
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Kjeld Flarup @ 2005-10-11 0:46 UTC (permalink / raw)
To: lm-sensors
Hello Robert
You would most likely have to write the drivers your self.
Kjeld
Robert Teel wrote:
>I am curious if anyone has tried to use the lm_sensor software in an embedded
>environment. I would like to get uClinux up on an FPGA or small micro, and run
>lm_sensors on top of that to monitor other rack mount processor boards.
>
>
>In other words, I want to a small embedded linux disto to monitor and alert the
>maintenance personnel when there are chassis over heat / over voltage situation. Has this
>type of thing been done? I'm not concerned with the temperature of the small micro, only the temps of chassis.
>
>
>Feel free to reply to robt(at)Colmek.com.
>
>
>Thanks in advance!
>
>------------------------------------------------------------------------
>
>_______________________________________________
>lm-sensors mailing list
>lm-sensors@lm-sensors.org
>http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>
--
-------------------- Med Liberalistiske Hilsner ----------------------
Civilingeni?r, Kjeld Flarup - Mit sind er mere ?bent end min tegnebog
Forssavej 49, 7600 Struer, Tlf: 40 29 41 49
Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
2005-10-11 0:46 ` Kjeld Flarup
@ 2005-10-11 0:54 ` Robert Teel
2005-10-11 2:02 ` Grant Coady
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Robert Teel @ 2005-10-11 0:54 UTC (permalink / raw)
To: lm-sensors
Has lm_sensors been successfully run on uClinux? The reason I ask is because
it sounds like it would make a great embedded system monitor for machine
temps, and other useful system data.
I can always check the forum, but just thought I would ask you first.
Thanks,
Rob
On 10/10/05, Kjeld Flarup <kjeld.flarup@liberalismen.dk> wrote:
>
> Hello Robert
>
> You would most likely have to write the drivers your self.
>
> Kjeld
>
> Robert Teel wrote:
>
> >I am curious if anyone has tried to use the lm_sensor software in an
> embedded
> >environment. I would like to get uClinux up on an FPGA or small micro,
> and run
> >lm_sensors on top of that to monitor other rack mount processor boards.
> >
> >
> >In other words, I want to a small embedded linux disto to monitor and
> alert the
> >maintenance personnel when there are chassis over heat / over voltage
> situation. Has this
> >type of thing been done? I'm not concerned with the temperature of the
> small micro, only the temps of chassis.
> >
> >
> >Feel free to reply to robt(at)Colmek.com.
> >
> >
> >Thanks in advance!
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >lm-sensors mailing list
> >lm-sensors@lm-sensors.org
> >http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
> >
>
>
> --
> -------------------- Med Liberalistiske Hilsner ----------------------
> Civilingeni?r, Kjeld Flarup - Mit sind er mere ?bent end min tegnebog
> Forssavej 49, 7600 Struer, Tlf: 40 29 41 49
> Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk<http://www.liberalismen.dk>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20051011/b8b69297/attachment.html
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
2005-10-11 0:46 ` Kjeld Flarup
2005-10-11 0:54 ` Robert Teel
@ 2005-10-11 2:02 ` Grant Coady
2005-10-11 2:03 ` Mark M. Hoffman
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Grant Coady @ 2005-10-11 2:02 UTC (permalink / raw)
To: lm-sensors
On Mon, 10 Oct 2005 15:05:17 -0600, Robert Teel <rob.teel@gmail.com> wrote:
>I am curious if anyone has tried to use the lm_sensor software in an embedded
>environment. I would like to get uClinux up on an FPGA or small micro, and run
>lm_sensors on top of that to monitor other rack mount processor boards.
>
Just a small shell script monitoring sysfs values would do that,
Temperature values are degrees Celsius x 1000 --> simple integer
compare. No need for lm_sensors at all :o)
Grant.
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
` (2 preceding siblings ...)
2005-10-11 2:02 ` Grant Coady
@ 2005-10-11 2:03 ` Mark M. Hoffman
2005-10-11 3:05 ` Robert Teel
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Mark M. Hoffman @ 2005-10-11 2:03 UTC (permalink / raw)
To: lm-sensors
Hi Robert:
* Robert Teel <rob.teel@gmail.com> [2005-10-10 15:05:17 -0600]:
> I am curious if anyone has tried to use the lm_sensor software in an embedded
> environment. I would like to get uClinux up on an FPGA or small micro, and run
> lm_sensors on top of that to monitor other rack mount processor boards.
I don't remember anyone mentioning it on this list, sorry.
> In other words, I want to a small embedded linux disto to monitor and alert the
> maintenance personnel when there are chassis over heat / over voltage
> situation. Has this
> type of thing been done? I'm not concerned with the temperature of
> the small micro, only the temps of chassis.
Keep in mind, lm_sensors consists of kernel drivers + userspace libs/apps.
If your embedded system is very resource constrained, you could ignore the
userspace bits and access the kernel drivers directly through /proc files
(kernel 2.4.x) or /sys files (kernel 2.6.x).
Regards,
--
Mark M. Hoffman
mhoffman@lightlink.com
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
` (3 preceding siblings ...)
2005-10-11 2:03 ` Mark M. Hoffman
@ 2005-10-11 3:05 ` Robert Teel
2005-10-11 5:25 ` Mark M. Hoffman
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Robert Teel @ 2005-10-11 3:05 UTC (permalink / raw)
To: lm-sensors
Sorry, it just occured to me that when I said "embedded system monitor" I
meant an autonomus, stand alone device that sits in the background and
measues power supplies, ambient temps, or any other external system data. I
was sort of envisioning a black box that ran linux, and was dedicated to
collecting maitenence information.
Seems like lm_sensor would be a good start, or am I way off base?
Thanks again,
Rob
On 10/10/05, Mark M. Hoffman <mhoffman@lightlink.com> wrote:
>
> Hi Robert:
>
> * Robert Teel <rob.teel@gmail.com> [2005-10-10 15:05:17 -0600]:
> > I am curious if anyone has tried to use the lm_sensor software in an
> embedded
> > environment. I would like to get uClinux up on an FPGA or small micro,
> and run
> > lm_sensors on top of that to monitor other rack mount processor boards.
>
> I don't remember anyone mentioning it on this list, sorry.
>
> > In other words, I want to a small embedded linux disto to monitor and
> alert the
> > maintenance personnel when there are chassis over heat / over voltage
> > situation. Has this
> > type of thing been done? I'm not concerned with the temperature of
> > the small micro, only the temps of chassis.
>
> Keep in mind, lm_sensors consists of kernel drivers + userspace libs/apps.
> If your embedded system is very resource constrained, you could ignore the
> userspace bits and access the kernel drivers directly through /proc files
> (kernel 2.4.x) or /sys files (kernel 2.6.x).
>
> Regards,
>
> --
> Mark M. Hoffman
> mhoffman@lightlink.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20051011/27b1cc2c/attachment.html
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
` (4 preceding siblings ...)
2005-10-11 3:05 ` Robert Teel
@ 2005-10-11 5:25 ` Mark M. Hoffman
2005-10-11 9:54 ` Jean Delvare
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Mark M. Hoffman @ 2005-10-11 5:25 UTC (permalink / raw)
To: lm-sensors
* Robert Teel <rob.teel@gmail.com> [2005-10-10 19:04:28 -0600]:
> Sorry, it just occured to me that when I said "embedded system monitor" I
> meant an autonomus, stand alone device that sits in the background and
> measues power supplies, ambient temps, or any other external system data. I
> was sort of envisioning a black box that ran linux, and was dedicated to
> collecting maitenence information.
>
> Seems like lm_sensor would be a good start, or am I way off base?
True.
http://www.catb.org/~esr/faqs/smart-questions.html
--
Mark M. Hoffman
mhoffman@lightlink.com
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
` (5 preceding siblings ...)
2005-10-11 5:25 ` Mark M. Hoffman
@ 2005-10-11 9:54 ` Jean Delvare
2005-10-11 10:04 ` Robert Teel
2005-10-11 14:27 ` Kjeld Flarup
8 siblings, 0 replies; 10+ messages in thread
From: Jean Delvare @ 2005-10-11 9:54 UTC (permalink / raw)
To: lm-sensors
Helly Kjeld,
On 2005-10-10, Kjeld Flarup wrote:
> You would most likely have to write the drivers your self.
Why would he? What would the benefit be, please?
--
Jean Delvare
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
` (6 preceding siblings ...)
2005-10-11 9:54 ` Jean Delvare
@ 2005-10-11 10:04 ` Robert Teel
2005-10-11 14:27 ` Kjeld Flarup
8 siblings, 0 replies; 10+ messages in thread
From: Robert Teel @ 2005-10-11 10:04 UTC (permalink / raw)
To: lm-sensors
I did some research on this subject, and I think lm_sensors would fit my
purposes well. I haven't confirmed if it would work on an non-mmu distro
(uClinux) though.
My goal for this is, as I have said, get uClinux running on a PPC core
inside and FPGA, or use some other small micro to run the lm_sensor package
in order to sense ambient temperature, fan tachs, and voltage levels. I'm
not interested in the core's internal temps or anything like that.
So far I have decided lm_sensors would work great, and I read somewhere that
someone had it working on a blackfin. Not to sure though since the
information was limited.
Rob
On 10/11/05, Jean Delvare <khali@linux-fr.org> wrote:
>
>
> Helly Kjeld,
>
> On 2005-10-10, Kjeld Flarup wrote:
> > You would most likely have to write the drivers your self.
>
> Why would he? What would the benefit be, please?
>
> --
> Jean Delvare
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20051011/c2c421d8/attachment.html
^ permalink raw reply [flat|nested] 10+ messages in thread* [lm-sensors] lm_sensors in an embedded environment
2005-10-10 23:06 [lm-sensors] lm_sensors in an embedded environment Robert Teel
` (7 preceding siblings ...)
2005-10-11 10:04 ` Robert Teel
@ 2005-10-11 14:27 ` Kjeld Flarup
8 siblings, 0 replies; 10+ messages in thread
From: Kjeld Flarup @ 2005-10-11 14:27 UTC (permalink / raw)
To: lm-sensors
Jean Delvare wrote:
>Helly Kjeld,
>
>On 2005-10-10, Kjeld Flarup wrote:
>
>
>>You would most likely have to write the drivers your self.
>>
>>
>
>Why would he? What would the benefit be, please?
>
>
Of course it ould be a good idea to check this list first:
http://secure.netroedge.com/~lm78/supported.html
And verify that the chips on the embedded device is on that list.
Many embedded devices does not have anything intended for monitoring
temperature.
--
-------------------- Med Liberalistiske Hilsner ----------------------
Civilingeni?r, Kjeld Flarup - Mit sind er mere ?bent end min tegnebog
Forssavej 49, 7600 Struer, Tlf: 40 29 41 49
Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
^ permalink raw reply [flat|nested] 10+ messages in thread