Проблема с подключением Upsilon 2000, Как настроить с помощью NUT

Я использую 64-разрядную версию Kubuntu 20.04.1. Чтобы уточнить, я пытаюсь использовать это не через сеть, а напрямую через USB-кабель.

ИБП должен быть Bus 001 Device 004: ID 0001: 0000 Fry's Electronics

EDIT:

Я нашел список драйверов с, "Различные" "ИБП" "2" "(Различные USB)" "Программное обеспечение UPSilon 2000" "blazer_usb langid_fix = 0x409" и небольшой поиск в Интернете, указывающий на наличие такая конфигурация, и он подключен.


[upsilon-2000]
driver = "blazer_usb"
port = auto
langid_fix="0x409"
desc="Upsilon 2000"
vendorid = "0001"
productid = "0000"

Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4)
Supported UPS detected with megatec protocol
Vendor information unavailable
No values provided for battery high/low voltages in ups.conf

Using 'guestimation' (low: 20.800000, high: 26.000000)!
Battery runtime will not be calculated (runtimecal not set)

Теперь мне нужно иметь возможность настроить его, или он уже настроен по умолчанию?

# --------------------------------------------------------------------------
# FINALDELAY - last sleep interval before shutting down the system
#
# On a master, upsmon will wait this long after sending the NOTIFY_SHUTDOWN
# before executing your SHUTDOWNCMD.  If you need to do something in between
# those events, increase this number.  Remember, at this point your UPS is 
# almost depleted, so don't make this too high.
#
# Alternatively, you can set this very low so you don't wait around when
# it's time to shut down.  Some UPSes don't give much warning for low
# battery and will require a value of 0 here for a safe shutdown.
#
# Note: If FINALDELAY on the slave is greater than HOSTSYNC on the master,
# the master will give up waiting for the slave to disconnect.

FINALDELAY 5

upsmon.conf

Я создал службу systemd, и это состояние показано. РЕДАКТИРОВАТЬ: Мне просто нужен nut-server.service

Сообщение от системы

Broadcast message from nut@carlos-AB350-Gaming-3 (somewhere) (Tue Nov 17 16:03:
Communications with UPS upsilon-2000@localhost established 

[Unit]
Description=Upsilon monitor start

[Service]
Type=oneshot
ExecStart=upsdrvctl start

[Install]
WantedBy=multi-user.target

systemctl status ups-start.service 
● ups-start.service - Upsilon monitor start
     Loaded: loaded (/etc/systemd/system/ups-start.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Tue 2020-11-17 15:38:41 AST; 3s ago
    Process: 7911 ExecStart=/usr/sbin/upsdrvctl start (code=exited, status=0/SUCCESS)
   Main PID: 7911 (code=exited, status=0/SUCCESS)

nov 17 15:38:37 carlos-AB350-Gaming-3 upsdrvctl[7912]: Supported UPS detected with megatec protocol
nov 17 15:38:38 carlos-AB350-Gaming-3 upsdrvctl[7912]: Vendor information unavailable
nov 17 15:38:38 carlos-AB350-Gaming-3 upsdrvctl[7912]: No values provided for battery high/low voltages in ups.conf
nov 17 15:38:38 carlos-AB350-Gaming-3 upsdrvctl[7912]: Using 'guestimation' (low: 20.800000, high: 26.000000)!
nov 17 15:38:38 carlos-AB350-Gaming-3 upsdrvctl[7912]: Battery runtime will not be calculated (runtimecal not set)
nov 17 15:38:39 carlos-AB350-Gaming-3 upsdrvctl[7911]: Network UPS Tools - UPS driver controller 2.7.4
nov 17 15:38:39 carlos-AB350-Gaming-3 blazer_usb[7924]: Startup successful
nov 17 15:38:41 carlos-AB350-Gaming-3 blazer_usb[7924]: Signal 15: exiting
nov 17 15:38:41 carlos-AB350-Gaming-3 systemd[1]: ups-start.service: Succeeded.
nov 17 15:38:41 carlos-AB350-Gaming-3 systemd[1]: Finished Upsilon monitor start.

Эти команды показывают:

upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4)
Supported UPS detected with megatec protocol
Vendor information unavailable
No values provided for battery high/low voltages in ups.conf

Using 'guestimation' (low: 20.800000, high: 26.000000)!
Battery runtime will not be calculated (runtimecal not set)

sudo upsdrvctl stop
Network UPS Tools - UPS driver controller 2.7.4
Can't open /run/nut/blazer_usb-auto.pid: No such file or directory
0
задан 17 November 2020 в 23:08

0 ответов

Другие вопросы по тегам:

Похожие вопросы: