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 will be helpful nonetheless.
> > I'm currently using NUT for monitoring.
> 
> Thanks for testing James.
> 
> Can you send me a few debug info?
> 
> First you need to enable UPD_DEBUG, be sure upddebug is set to something
> greater than 9 on upd.c.
> 
> Let the kernel boots, then plug the device to your usb port, you'll see
> a few periodic messages, let it run for 10 or 20 seconds 30, save your
> dmesg output and send it to me.
> 
> -a
> 

Here ya go.

upd: vendor=0x51d, product=0x2
upd0 at uhub3 port 2 "APC Back-UPS ES 550 FW:843.K2 .D USB FW:K2" rev
1.10/1.06 addr 3
upd: sc_num_sensors=8
upd_attach: complete
actlen=02 ptr[0]=0a ptr[1]=03 ptr[2]=00
actlen=02 ptr[0]=0b ptr[1]=02 ptr[2]=00
upd: data read fail
actlen=03 ptr[0]=07 ptr[1]=38 ptr[2]=3c
upd0: battery nominal volt: hidget data: 0
upd0: battery current volt: hidget data: 0
upd0: battery load: hidget data: 0
upd0: battery charging: hidget data: 0
upd0: battery discharging: hidget data: 0
upd0: battery present: hidget data: -1
upd0: shutdown imminent: hidget data: 0
upd0: acpower present: hidget data: 1
actlen=02 ptr[0]=0a ptr[1]=03 ptr[2]=00
actlen=02 ptr[0]=0b ptr[1]=02 ptr[2]=00
upd: data read fail
actlen=03 ptr[0]=07 ptr[1]=38 ptr[2]=3c
upd0: battery nominal volt: hidget data: 3000
upd0: battery current volt: hidget data: 2000
upd0: battery load: hidget data: 0
upd0: battery charging: hidget data: 0
upd0: battery discharging: hidget data: 0
upd0: battery present: hidget data: -1
upd0: shutdown imminent: hidget data: 0
upd0: acpower present: hidget data: 1
upd_detach: battery nominal volt
upd_detach: battery current volt
upd_detach: battery load
upd_detach: battery charging
upd_detach: battery discharging
upd_detach: battery present
upd_detach: shutdown imminent
upd_detach: acpower present
upd_detach: complete
upd0 detached

-- 
James Turner

Reply via email to