<br><div class="gmail_quote">2009/1/10 Michelle Konzack <span dir="ltr">&lt;<a href="mailto:linux4michelle@tamay-dogan.net">linux4michelle@tamay-dogan.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Arnaud and *,<br>
</blockquote><div><br>Hi Michelle,<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What is the actual status of the PDU support?<br>

</blockquote><div><br>still in early stage. The full integration will happen with 2.6, and the device collection propagation...<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have the question, since tthe development is nearly complete and &nbsp;only<br>
the microcontroller missing (I am searching the most suitable one)<br>
<br>
Am 2008-10-30 16:38:13, schrieb Arnaud Quette:<br>
<div class="Ih2E3d">&gt; - a new collection (&quot;device&quot;) has to be created, to make NUT more generic.<br>
&gt; This would consist of the following generic / common data extracted<br>
&gt; from the ups collection:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;device.model<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;device.mfr<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;device.serial<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;device.type (while keeping ups.status for single / three phase)<br>
&gt; and possibly<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://device.id" target="_blank">device.id</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;device.firmware<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;device.temperature<br>
<br>
</div>I have a request for an additional<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; device.fanspeed: RpM<br>
<div class="Ih2E3d"><br>
&gt; &nbsp; &nbsp; * the outlet collection has to be extended with the following data:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;outlet.n.current: Current (milliamps RMS)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;outlet.n.current.maximum: Maximum seen current (milliamps RMS)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;outlet.n.realpower: Current value of real power (Watts)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;outlet.n.voltage: Voltage (V)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;outlet.n.powerfactor: Power Factor (dimensionless value between<br>
&gt; 0.00 and 1.00)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;outlet.n.power: Apparent power (VA)<br>
<br>
</div>Since I have a &quot;24V DC modular ATX PSU&quot; I have the question for the &quot;n&quot;<br>
in the outlet.<br>
<br>
The ATX PSU has 5 standard output voltages<br>
<br>
 &nbsp; &nbsp;+12 &nbsp;V<br>
 &nbsp; &nbsp;+ 5 &nbsp;V<br>
 &nbsp; &nbsp;+ 3.3V<br>
 &nbsp; &nbsp;+ 5 &nbsp;Vsb<br>
 &nbsp; &nbsp;-12 &nbsp;V<br>
<br>
and someone can add up to 3 additional power modules to extend &nbsp;the &nbsp;PSU<br>
and can have any voltages (even mixed up on a singel module) like<br>
<br>
 &nbsp; &nbsp;+12 &nbsp;V<br>
 &nbsp; &nbsp;+ 5 &nbsp;V<br>
 &nbsp; &nbsp;+ 3.3V<br>
 &nbsp; &nbsp;+ 2.5V<br>
 &nbsp; &nbsp;+ 1.8V<br>
 &nbsp; &nbsp;+ 0.8V<br>
 &nbsp; &nbsp;...<br>
<br>
This mean, I need a hierarchy separator but how to do?<br>
<br>
E.g. the standard one could be something like<br>
<br>
 &nbsp; &nbsp;outlet.0.temperature: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;63.6<br>
 &nbsp; &nbsp;outlet.0.p12.current: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4321<br>
 &nbsp; &nbsp;outlet.0.p12.current.maximum: 10000<br>
 &nbsp; &nbsp;outlet.0.p12.realpower: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;51<br>
 &nbsp; &nbsp;outlet.0.p12.voltage: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;11.8<br>
 &nbsp; &nbsp;outlet.0.p12.voltage.nominal: &nbsp;12.0<br>
 &nbsp; &nbsp;outlet.0.p50.current: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4321<br>
 &nbsp; &nbsp;...<br>
 &nbsp; &nbsp;outlet.0.p33.current:<br>
 &nbsp; &nbsp;...<br>
 &nbsp; &nbsp;outlet.0.p5s.current:<br>
 &nbsp; &nbsp;...<br>
 &nbsp; &nbsp;outlet.0.n12.current:<br>
<br>
and for the three slots:<br>
<br>
 &nbsp; &nbsp;outlet.1.p12.current:<br>
 &nbsp; &nbsp;...<br>
 &nbsp; &nbsp;outlet.2.p50.current:<br>
 &nbsp; &nbsp;...<br>
 &nbsp; &nbsp;outlet.3.p33.current:<br>
 &nbsp; &nbsp;...<br>
<br>
I have prefixed the 3rd hierarchy with &quot;p&quot; for positive voltage and &nbsp;&quot;n&quot;<br>
for the negative voltage.<br>
<br>
Also I have the need for a &quot;temperature&quot; sensor per module as &nbsp;shown &nbsp;on<br>
the top of &quot;outlet.0&quot;<br>
<br>
Any suggestions?<br>
</blockquote><div><br>I&#39;m not sure to fully understand your needs there, but since you will somehow be your only consumer (or let&#39;s rephrase this with &quot;it&#39;s not for a large public market&quot;), chances are that your driver and changes to NUT will be only available on your side (remember the GPL terms there).<br>
<br>So go ahead and do what you want here... <br>What has been done for the 3phases support in NUT might help you (check docs/new-names.txt)<br><br>about the outlet.0 (representing the whole device for a PDU, or all the outlets), this has just been renamed to &quot;outlet&quot;. So that would be &quot;outlet.temperature&quot;<br>
<br>Others may have some more ideas.<br><br>cheers,<br></div><div>Arnaud<br></div></div>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>