Skip to contentSkip to conversation

lm_sensors in an embedded environment

lm-sensors Robert Teel 5 participants 10 messages Oct 10, 2005 – Oct 11, 2005

lore
Share & tools
lore
#0 lore raw

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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20051010/ea2d3760/attachment.html

#1 lore raw

Hello Robert

You would most likely have to write the drivers your self.

Kjeld

Quoted 22 lines · Robert Teel

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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Signature · 4 lines
-------------------- 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
#2 lore raw
In reply to Robert Teel

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

Quoted 38 lines · Kjeld Flarup

Hello Robert

You would most likely have to write the drivers your self.

Kjeld

Quoted 1 line · Robert Teel

I am curious if anyone has tried to use the lm_sensor software in an

embedded

Quoted 1 line

environment. I would like to get uClinux up on an FPGA or small micro,

and run

Quoted 4 lines

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

Quoted 1 line

maintenance personnel when there are chassis over heat / over voltage

situation. Has this

Quoted 1 line

type of thing been done? I'm not concerned with the temperature of the

small micro, only the temps of chassis.

Quoted 5 lines

Feel free to reply to robt(at)Colmek.com.

Quoted 9 lines

Thanks in advance!

------------------------------------------------------------------------

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Quoted 8 lines

--
-------------------- 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

#3 lore raw
In reply to Robert Teel
Quoted 4 lines · Robert Teel

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.

#4 lore raw
In reply to Robert Teel

Hi Robert:

Quoted 3 lines · Robert Teel

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.

Quoted 5 lines

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,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#5 lore raw
In reply to Robert Teel

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

Quoted 24 lines · Mark M. Hoffman

Hi Robert:

Quoted 1 line · Robert Teel

I am curious if anyone has tried to use the lm_sensor software in an

embedded

Quoted 1 line

environment. I would like to get uClinux up on an FPGA or small micro,

and run

Quoted 1 line

lm_sensors on top of that to monitor other rack mount processor boards.

I don't remember anyone mentioning it on this list, sorry.

Quoted 1 line

In other words, I want to a small embedded linux disto to monitor and

alert the

Quoted 4 lines

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).

Quoted 7 lines

Regards,

--
Mark M. Hoffman
[email protected]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20051011/27b1cc2c/attachment.html

#6 lore raw
In reply to Robert Teel
Quoted 7 lines · Robert Teel

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

Signature · 2 lines
Mark M. Hoffman
[email protected]
#7 lore raw
In reply to Robert Teel

Helly Kjeld,

Quoted 1 line · Kjeld Flarup

You would most likely have to write the drivers your self.

Why would he? What would the benefit be, please?

--
Jean Delvare

#8 lore raw
In reply to Robert Teel

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

Quoted 4 lines · Jean Delvare

Helly Kjeld,

Quoted 8 lines
Quoted 1 line · Kjeld Flarup

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

#9 lore raw
In reply to Robert Teel
Quoted 12 lines · Jean Delvare

Helly Kjeld,

Quoted 3 lines · Kjeld Flarup

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.

Signature · 4 lines
-------------------- 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