Re: [Nut-upsuser] Some unsupported UPS

2022-01-08 Thread Manuel Wolfshant

On 1/8/22 19:48, Goran Vukoman wrote:

I've found a nice UPS with strange serial connection.

https://www.bicker.de/en/upsic-1205
https://www.bicker.de/files/downloads/datenblatt/upsic-1205_e.pdf

There is not much information about the serial connection in that
document.

But there is some accessories for the serial connection


https://www.bicker.de/en/psz-1063
https://www.bicker.de/files/downloads/handbuch/benutzerhandbuch-users-manual-psz-1063.pdf

Is the information in that document sufficent to write a rs232-serial-
driver for NUT?

Regards




It looks a nice toy for low power devices, indeed. And its onboard RS232 
, by the lack of Rx/Tx , is the oddest one I've seen in 30+ years since 
I deal with serial interfaces ( burnt the first one in '87 on my 
Commodore 64 ). OTOH it seems that , after connecting the "μExtension 
Modul" the serial starts to behave like a regular one ( that is, it has 
all the usual pins and signals ). I guess that a driver for it could be 
written by a passionate who has access to a board, given that 
https://www.bicker.de/files/downloads/handbuch/benutzerhandbuch-users-manual-psz-1063.pdf 
seems to provide the communication protocol. OTOH, RS232 in 2022 seems a 
bit .. ancient, the world transitioned to USB a long time ago. But 
looking at the electronic schemes they include, I kind of understand the 
reasoning behind their choice... although a USB interface is not so hard 
to implement nowadays.



wolfy

___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Can NUT handle a laptop battery?

2022-01-08 Thread Charles Lepple via Nut-upsuser
On Jan 8, 2022, at 12:38 PM, Goran Vukoman  wrote:
> 
> The Pine64 ARM boards have a battery connector, not quite a laptop, but AFAIK 
> the board will charge and use the battery as fallback if lights go out.

It looks like the Pinebook Pro has a /sys/class/power_supply driver:

https://github.com/Syonyk/pinebookpro/blob/master/pbp-status.sh#L10 


so theoretically, you could poll that interface and export some data for 
dummy-ups, as suggested in this thread:

https://alioth-lists.debian.net/pipermail/nut-upsuser/2016-September/010300.html
 


Admittedly, a compiled NUT driver for Linux power_supply devices would be 
better:

https://github.com/networkupstools/nut/issues/319 



> ___
> Nut-upsuser mailing list
> Nut-upsuser@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


[Nut-upsuser] Some unsupported UPS

2022-01-08 Thread Goran Vukoman
I've found a nice UPS with strange serial connection.

https://www.bicker.de/en/upsic-1205
https://www.bicker.de/files/downloads/datenblatt/upsic-1205_e.pdf

There is not much information about the serial connection in that
document.

But there is some accessories for the serial connection


https://www.bicker.de/en/psz-1063
https://www.bicker.de/files/downloads/handbuch/benutzerhandbuch-users-manual-psz-1063.pdf

Is the information in that document sufficent to write a rs232-serial-
driver for NUT?

Regards




___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Can NUT handle a laptop battery?

2022-01-08 Thread Goran Vukoman
The Pine64 ARM boards have a battery connector, not quite a laptop, but
AFAIK the board will charge and use the battery as fallback if lights
go out.

Am Freitag, dem 07.01.2022 um 10:03 +0100 schrieb Jim Klimov:
> Just to clarify: I don't think there is a NUT driver that would
> consider a computer's local battery as an UPS - probably no-one came
> around to write one, and probably that would be very much OS-
> dependent (more than HW dependent).
> 
> The laptop should be okay as a NUT client (for external NUT servers),
> as well as a NUT server for traditional connections to
> serial/usb/snmp/... UPSes with respective drivers.
> 
> Jim
> 
> On Thu, Jan 6, 2022, 19:03 G  wrote:
> > Yes, debian or devuan do have support for nut on any arch.
> > 
> > https://packages.debian.org/bullseye/nut
> > 
> > I will play with it to see if I can control via nut an arm laptop.
> > 
> > Am Donnerstag, dem 06.01.2022 um 17:00 +0100 schrieb Matus UHLAR -
> > fantomas:
> > > > On January 6, 2022 2:50:44 PM GMT+02:00, G 
> > wrote:
> > > > > Can NUT handle an ARM laptop like the pinebook pro?
> > > 
> > > On 06.01.22 17:35, Manuel Wolfshant wrote:
> > > > It should. I had it running several years on a 2nd generation
> > RPi.
> > > > 
> > > > The real problem is if the distribution of your choice provides
> > > > either a package for nut or the tools (and libraries) to
> > compile it
> > > > yourself.
> > > 
> > > I guess the OP means if the NUT supports using laptop battery as
> > the
> > > UPS.
> > > (I think I made the same mistake some time ago).
> > > 
> > > afaik there is no driver for laptop batteries.
> > > I guess it could run on ACPI data.
> > 
> > 
> > 
> > ___
> > Nut-upsuser mailing list
> > Nut-upsuser@alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser