I run FreeBSD, OpenBSD, and [KX]*ubuntu at home, but this is a gig for
someone else, so they call the shots.  

Nice plug for OpenBSD, tho... 8^)

-bd

PS.  I ported env4801 to linux and it gave the same temps, so I think I
am hoping against hope here...

On Sun, 2008-08-31 at 16:51 +0200, Marc Balmer wrote:
> * Bad Dog wrote:
> > After a fair amount of investigation, trial and error, I seem to have a
> > working lmsensors config file for the 5501.  Many thanks to the list and
> > to Henrik for creating this file in the first place and Poul for
> > creating the env4801 program.  I needed only make minor tweaks to get
> > this working on the 5501.
> 
> wow.  stuff can certainly be made really complicated...  a config
> file just to read sensors?
> 
> take a look at OpenBSD, where sensors are just part of the operating
> system and can be read out using a simple sysctl.  They are there
> and just work.  No clumsy config needed... ;)
> 
> (SCNR)
> 
> > 
> > I may be having trouble with the CPU temperature, however.  
> > 
> > We are using a 5501 in a field situation.  Other devices in the same
> > enclosure report the ambient temp at 34 deg (all readings in this msg
> > are Celsius.)  There is a disk mounted in the 5501 case that reads
> > between 38-40 deg.  The CPU, however, often reads 60 deg!
> > 
> > Given the low power requirement of the system, I would think that the
> > CPU would stay pretty cool, so I suspect that the reading might be
> > wrong.  I can't get to the box to perform a proper measurement in situ.
> > 
> > The code that reads that temp is fairly simple, so I suspect that I am
> > reading the correct temperature.  The standard Soekris case is mounted
> > vertically, which I would think would help increase airflow.
> > 
> > Anyone know if the CPU temperature requires munging in a different
> > fashion than the 4801?  Anyone have experience running a box near 50 deg
> > for long periods of time?  Anyone have an lmsensors file that they are
> > certain is correct?
> > 
> > Box is running kubuntu 7.10 with all the latest updates.  Hard disk is
> > ruggedized automotive drive.
> > 
> > my sensors.conf is
> > 
> > chip "pc87366-*"
> > 
> > # Soekris net4801 configuration
> > 
> > # Written by Henrik Brix Andersen <[EMAIL PROTECTED]>
> > # Latest version can be found at http://www.brixandersen.dk/
> > 
> > # The configuration is partly based on the PC87366 datasheet and
> > # partly borrowed from the env4801 utility by Poul-Henning
> > # Kamp <[EMAIL PROTECTED]>
> > 
> > # Datasheet: http://www.winbond.com/PDF/APCsheet/PC87366.pdf
> > # env4801:   http://phk.freebsd.dk/soekris/env4801/
> > 
> > 
> > # Voltage inputs
> >   ignore vid
> > 
> >   # Unknown
> >   # label in0     "avi0"
> >   ignore in0
> > 
> > 
> >   # Core Voltage, +2.0V
> >   label in1     "VCORE"
> >   set in1_min   1.16
> >   set in1_max   1.29
> > 
> > 
> >   # VCC, +5.0V
> >   label in2     "VCC"
> >   compute in2   @*2, @/2
> > 
> > 
> >   # Power Supply Input, +6.0V - +28.0V
> >   label in3     "VPWR"
> >   compute in3   @*20.1, @/20.1
> >   set in3_min    6.0
> >   set in3_max   28.0
> > 
> > 
> >   # +12V
> >   label in4     "+12V"
> >   compute in4   @*4.83, @/4.83
> >   set in4_min   11
> >   set in4_max   13
> > 
> > 
> >   # -12V
> >   label in5     "-12V"
> >   # If in10 on your net4801 doesn't have the 3.3V reference, use this
> >   # compute line instead:
> >   # compute in5   (@-3.3)*19.2+3.3, (@-3.3)/19.2+3.3
> >   compute in5   (@-in10)*19.2+in10, (@-in10)/19.2+in10
> >   set in5_min   -13
> >   set in5_max   -11
> > 
> > 
> >   # GND, 0V
> >   #label in6     "GND"
> >   #set in6_min   0
> >   #set in6_max   0
> > 
> >   # AVI6, +2.5V
> >   label in6     "AVI6"
> >   set in6_min   2
> >   set in6_max   3
> > 
> >   # Standby Voltage, +3.3V
> >   # Internally divided by 2
> >   label in7     "Vsb"
> >   compute in7   @*2, @/2
> >   set in7_min    3.0
> >   set in7_max    3.6
> > 
> > 
> >   # Supply Voltage, +3.3V
> >   # Internally divided by 2
> >   label in8     "Vdd"
> >   compute in8   @*2, @/2
> >   set in8_min    3.0
> >   set in8_max    3.6
> > 
> > 
> >   # Battery Backup Supply Voltage, +3.0V
> >   label in9     "Vbat"
> >   set in9_min    2.4
> >   set in9_max    3.6
> > 
> > 
> >   # Analog Supply Voltage, +3.3V
> >   # Internally divided by 2
> >   label in10    "AVdd"
> >   compute in10  @*2, @/2
> >   set in10_min   3.0
> >   set in10_max   3.6
> > 
> > 
> > # Temperature inputs
> >   ignore temp1
> >   ignore temp2
> > 
> >   # PC87366 Internal Temperature
> >   # PC87366 Recommended Operating Conditions: 0 - 70C
> >   # SC1100  Recommended Operating Conditions: 0 - 85C
> >   label temp3       "Temp"
> >   label temp3_crit  "Critical"
> >   set temp3_min      0
> >   set temp3_max     60
> >   set temp3_crit    70
> > 
> > 
> >   ignore temp4
> >   ignore temp5
> >   ignore temp6
> > 
> > 
> > # Fan inputs
> >   ignore fan1
> >   ignore fan2
> >   ignore fan3
> > 
> > ------------------------------
> > 
> > Thanks,
> > bd
> > 
> > 
> > _______________________________________________
> > Soekris-tech mailing list
> > [email protected]
> > http://lists.soekris.com/mailman/listinfo/soekris-tech

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to