Re: upd(4) proposal

2014-02-20 Thread Martin Pieuchot
On 17/02/14(Mon) 01:11, Andre de Oliveira wrote: On Fri, Feb 14, 2014 at 02:20:57PM +0100, Ingo Schwarze wrote: Hi, a few comments regarding the manual: Ingo, thanks for your feedback. Here follows an updated version, just documentation changes. I also submitted it to mandoc-lint,

Re: upd(4) proposal

2014-02-20 Thread Reyk Floeter
On 20.02.2014, at 12:23, Martin Pieuchot mpieuc...@nolizard.org wrote: On 17/02/14(Mon) 01:11, Andre de Oliveira wrote: On Fri, Feb 14, 2014 at 02:20:57PM +0100, Ingo Schwarze wrote: Hi, a few comments regarding the manual: Ingo, thanks for your feedback. Here follows an updated

Re: upd(4) proposal

2014-02-20 Thread Martin Pieuchot
On 20/02/14(Thu) 14:32, Reyk Floeter wrote: On 20.02.2014, at 12:23, Martin Pieuchot mpieuc...@nolizard.org wrote: [...] + /* + * init usbdata + * those commands width were identified from observing apcupsd/ugen(4) + * data exchange + */ + sc-sc_usbdata[0].cmd =

Re: upd(4) proposal

2014-02-17 Thread Andre de Oliveira
On Sun, Feb 16, 2014 at 10:28:48PM -0500, James Turner wrote: Forgot to include tech@... Hi Andre, I tested upd(4) with my APC Back-UPS ES 550. It looks like it may only have partial support but figured the report will be helpful nonetheless. I'm currently using NUT for monitoring.

Re: upd(4) proposal

2014-02-17 Thread James Turner
On Mon, Feb 17, 2014 at 02:19:42PM +0100, Andre de Oliveira wrote: On Sun, Feb 16, 2014 at 10:28:48PM -0500, James Turner wrote: Forgot to include tech@... Hi Andre, I tested upd(4) with my APC Back-UPS ES 550. It looks like it may only have partial support but figured the report

Re: upd(4) proposal

2014-02-16 Thread Andre de Oliveira
On Fri, Feb 14, 2014 at 02:20:57PM +0100, Ingo Schwarze wrote: Hi, a few comments regarding the manual: Ingo, thanks for your feedback. Here follows an updated version, just documentation changes. I also submitted it to mandoc-lint, now seems cleaner. diff --git a/.gitignore b/.gitignore

Re: upd(4) proposal

2014-02-16 Thread Andre de Oliveira
On Fri, Feb 14, 2014 at 04:26:07PM +0100, Martin Pieuchot wrote: Hello Andre, On 14/02/14(Fri) 14:07, Andre de Oliveira wrote: hello. blambert@ suggested me to write a driver for exposing usb-based uninterruptable power systems devices data as sysctl(8) sensors, thus enabling

Re: upd(4) proposal

2014-02-16 Thread Andre de Oliveira
On Fri, Feb 14, 2014 at 10:26:53PM +0400, Kirill Bychkov wrote: On Fri, February 14, 2014 17:07, Andre de Oliveira wrote: hello. blambert@ suggested me to write a driver for exposing usb-based uninterruptable power systems devices data as sysctl(8) sensors, thus enabling people to write

Re: upd(4) proposal

2014-02-16 Thread James Turner
Forgot to include tech@... Hi Andre, I tested upd(4) with my APC Back-UPS ES 550. It looks like it may only have partial support but figured the report will be helpful nonetheless. I'm currently using NUT for monitoring. dmesg: upd0 at uhub3 port 2 APC Back-UPS ES 550 FW:843.K2 .D USB FW:K2 rev

upd(4) proposal

2014-02-14 Thread Andre de Oliveira
hello. blambert@ suggested me to write a driver for exposing usb-based uninterruptable power systems devices data as sysctl(8) sensors, thus enabling people to write shutdown policies using sensorsd(8), which can replaces apcupsd in some cases. I received some feedback from reyk@ and blambert@,

Re: upd(4) proposal

2014-02-14 Thread Ingo Schwarze
Hi, a few comments regarding the manual: Andre de Oliveira wrote on Fri, Feb 14, 2014 at 02:07:29PM +0100: diff --git a/share/man/man4/upd.4 b/share/man/man4/upd.4 new file mode 100644 index 000..5a9054d --- /dev/null +++ b/share/man/man4/upd.4 @@ -0,0 +1,96 @@ +.\ $OpenBSD$ +.\

Re: upd(4) proposal

2014-02-14 Thread Stuart Henderson
On 2014/02/14 14:07, Andre de Oliveira wrote: hello. blambert@ suggested me to write a driver for exposing usb-based uninterruptable power systems devices data as sysctl(8) sensors, thus enabling people to write shutdown policies using sensorsd(8), which can replaces apcupsd in some cases.

Re: upd(4) proposal

2014-02-14 Thread Kirill Bychkov
On Fri, February 14, 2014 17:07, Andre de Oliveira wrote: hello. blambert@ suggested me to write a driver for exposing usb-based uninterruptable power systems devices data as sysctl(8) sensors, thus enabling people to write shutdown policies using sensorsd(8), which can replaces apcupsd in