Re: [Nut-upsuser] Protocol for an Arduino based UPS

2018-08-19 Thread Glenn Ramsey
Thanks Charles, On 20/08/18 13:55, Charles Lepple wrote: > On Aug 19, 2018, at 3:31 PM, Glenn Ramsey wrote: >> >> Hi, >> >> I'm building a DIY UPS for a Raspberry Pi using a 12V SLA battery, charger, >> and an off the shelf 5V regulator. To monitor the battery level I'd like to >> use an

Re: [Nut-upsuser] Protocol for an Arduino based UPS

2018-08-19 Thread Charles Lepple
On Aug 19, 2018, at 3:31 PM, Glenn Ramsey wrote: > > Hi, > > I'm building a DIY UPS for a Raspberry Pi using a 12V SLA battery, charger, > and > an off the shelf 5V regulator. To monitor the battery level I'd like to use an > Arduino or similar type device. Since the Arduino can have a serial

Re: [Nut-upsuser] TrippLite SMX1500LCDT FreeBSD 11.2 trouble

2018-08-19 Thread Charles Lepple
On Aug 19, 2018, at 3:03 PM, Valentin Merkulov wrote: > > Here is what I get: > > # usbconfig -u 1 -a 3 dump_curr_config_desc > ugen1.3: at usbus1, cfg=0 md=HOST spd=LOW > (1.5Mbps) pwr=ON (100mA) > [...] Hmm, that may be an issue on the NUT side, then. (You might see issues if you run

[Nut-upsuser] Protocol for an Arduino based UPS

2018-08-19 Thread Glenn Ramsey
Hi, I'm building a DIY UPS for a Raspberry Pi using a 12V SLA battery, charger, and an off the shelf 5V regulator. To monitor the battery level I'd like to use an Arduino or similar type device. Since the Arduino can have a serial over USB connection with the Pi I'd like to implement a protocol

Re: [Nut-upsuser] TrippLite SMX1500LCDT FreeBSD 11.2 trouble

2018-08-19 Thread Valentin Merkulov
Here is what I get: # usbconfig -u 1 -a 3 dump_curr_config_desc ugen1.3: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0022 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001

Re: [Nut-upsuser] TrippLite SMX1500LCDT FreeBSD 11.2 trouble

2018-08-19 Thread Charles Lepple
On Aug 19, 2018, at 2:04 AM, Valentin Merkulov wrote: > > Hi Everyone, > > I'm having trouble getting TrippLite SMX1500LCDT to work on FreeBSD > 11.2, nut 2.7.4 installed from FreeBSD port. > > The debug output is rather big when I'm starting usbhid-ups initially, > Please find that attached

[Nut-upsuser] TrippLite SMX1500LCDT FreeBSD 11.2 trouble

2018-08-19 Thread Valentin Merkulov
Hi Everyone, I'm having trouble getting TrippLite SMX1500LCDT to work on FreeBSD 11.2, nut 2.7.4 installed from FreeBSD port. The debug output is rather big when I'm starting usbhid-ups initially, Please find that attached (gzipped to comply with message size limit). Subsequently, until I