Upsc error driver not connected

Сообщение 156 » 02.03.2009 09:06

Re: подружить USB-UPS с NUT

Сообщение

156 » 02.03.2009 09:06

Привет народ! У меня система сусе 10.3 , бесперебойник иппон 700, настраивал как написано тут
http://vitaly.easycoding.org/2008/02/26/po…on-v-linux.html
так там всё заработало сразу при дефолтных настройках через ком порт. Теперь поставил сусю 11.1 , решил настроить через usb кабель, для начала не хотел мегатек стартовать, писал ошибку при старте. Решилось раскоментированием строки user=root в файле ups.conf , как я предполагаю, это назначает рутовские права для этой проги, что не есть хорошо, ну на данном этаме это не важно. [myups]
driver = megatec_usb
port = auto
по команде lsusb видно , на какой шине и адресу сидит бесперебойник
Теперь пишет при старте
# rcupsd start
Starting NUT UPS drivers done
Starting NUT UPS server done
Starting NUT UPS monitor done
как видно, вроде бы все работает, драйвер стартанул, сервер поднялся, монитор поднялся, но при просмотре по команде
# upsc myups@localhost
пишет , Error: Driver not connected , очевидно , что не может подключиться к драйверу . На сайте мегатека в факе достаточно туманно написано, про неправильные настройки и конфигурации. Так же не может подключиться к драйверу и прога монитонинга knutclient . Хотелось бы получить общие предположения, почему при очевидном старте драйвера к нему не может подключиться ничего. Пробовал компилисть натклиета, 4 последние версии, ни одна не собралась под сусей 11.1. Короче, вечером удалил нат, и заново установил из сайта webpin , началась полная хрень, и именно не запускаются драйвер, монитор и сервер, но почему то пишет , что они выключились, и по прежнему драйвер не грузится. Это при тех же самых конфигах. Одназночно прихожу к выводу , что виновата програмка nut , так как на одном и том же железе при одних м тех же настройках совершенно разные результаты. При такой глючности проги настраивать её бесполезное занятие, так как даже при правильных конфигах не работает.

  • Печать

Страницы: 1 [2] 3 4 19   Вниз

Тема: UPS в UBUNTU.  (Прочитано 125576 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
Memphis

Ничего не понимаю :(
Сделал уже тупо как там написано… Все равно не хочет… :(

Нет ничего более постоянного, чем временное


Оффлайн
Offoff

По USB заставить никак не получилось megatec запустить? У меня Ippon Winner 750, для него подходит megatec, но тоже невозможно никак зацепить по USB, а иначе и не могу — нету COM-порта. C с правами жестко разобрался, дав все всем и введя рута в группу nut. Но, пишет вот как в ответ на upsdrvctl start:

Network UPS Tools - UPS driver controller 2.0.5
Network UPS Tools - Megatec protocol driver 1.5 (2.0.5)
Carlos Rodrigues (c) 2003-2006
tcgetattr(/dev/usb/hiddev0): Invalid argument
Driver failed to start (exit status=1)
Can't start /lib/nut/(null): No such file or directory
Не понимает, чего я хочу от него, и не хватает неизвестной библиотеки — хотя я смотрел — там megatec есть! Чую, что на полшага до победы, но что-то не хватает.

Hail Ubuntu Linux! Behold Ubuntu Linux! Obey Ubuntu Linux!
Меня можно спросить о dvb-устройствах, tv-тюнерах, mplayer, squid и других проксях.


Оффлайн
aleksubuntu

невозможно никак зацепить по USB, а иначе и не могу — нету COM-порта.

возможно com порт один есть в виде штырьков на матплате.

ASUS A8N-VM CSM, amd64 x2 4400, 2Gb, WD320Gb, GTX260GS, window7 x64 & kubuntu-12.10-desktop-amd64, s-1401, s2-3200ci, aspire 5745dg


Оффлайн
aleksubuntu

sam@sam-desktop:~$ upsc myups@localhost
battery.charge: 95.0
battery.voltage: 13.50
battery.voltage.nominal: 12.0
driver.name: megatec
driver.parameter.port: /dev/ttyS0
driver.version: 2.0.5
driver.version.internal: 1.5
input.frequency: 49.9
input.voltage: 205.5
input.voltage.fault: 205.5
input.voltage.maximum: 215.7
input.voltage.minimum: 204.2
output.voltage: 205.5
output.voltage.nominal: 220.0
ups.beeper.status: enabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 19.0
ups.mfr: unknown
ups.model: unknown
ups.serial: unknown
ups.status: OL
ups.temperature: 25.0
sam@sam-desktop:~$

ASUS A8N-VM CSM, amd64 x2 4400, 2Gb, WD320Gb, GTX260GS, window7 x64 & kubuntu-12.10-desktop-amd64, s-1401, s2-3200ci, aspire 5745dg


Оффлайн
aleksubuntu

this for Mustek PowerMust 600 USB

ASUS A8N-VM CSM, amd64 x2 4400, 2Gb, WD320Gb, GTX260GS, window7 x64 & kubuntu-12.10-desktop-amd64, s-1401, s2-3200ci, aspire 5745dg


Оффлайн
Memphis

memphis@onyx:~$ upsc myups@localhost
Error: Driver not connected

Может надо что-то умное прописывать?

Нет ничего более постоянного, чем временное


Оффлайн
aleksubuntu

А кто нибудь знает какие есть фронтенды т.е. оболочки к nut желательно с большим функционалом !? Например как прога от Alexey Ilyin . Особо нужно
действие выключить питание при падении напряжения на батарее до XX.X В.
Или как этого можно достичь? Вкладываю картинки.

ASUS A8N-VM CSM, amd64 x2 4400, 2Gb, WD320Gb, GTX260GS, window7 x64 & kubuntu-12.10-desktop-amd64, s-1401, s2-3200ci, aspire 5745dg


Оффлайн
ddRoot

ап темы…
поставил nut, с правами разобрался, прописал в автозагрузку сервер и драйвер
теперь как сделать, чтоб где-то на панели выводился заряд батареи, оставшееся время и т.д.?


Оффлайн
aleksubuntu

sudo apt-get install wmnut
sam@sam-desktop:~$ wmnut

WindowMaker dock app that displays UPS statistics from NUT’s upsd
WMNUT monitors UPS statistics through the NUT (Network UPS Tools,
http://www.networkupstools.org) framework on Linux and other systems. This
information, presented in a nice visual format, can be invaluable on stations
using an UPS.

/usr/share/doc/wmnut/README

но на первый взгляд «отстой».

sudo apt-get install knutclient
sam@sam-desktop:~$ knutclient

этот получше будет.

sudo apt-get install nut-cgi

A web interface sub system for the nut — Network UPS Tools
nut is a client/server uninterruptible power supply (UPS) monitoring system
that permits the sharing of one (or more) UPS between several machines. The
‘server’ monitors the UPS and notifies the ‘clients’ when the UPS is on
or has a low battery.

не понятно как через web интерфейс запустить.

« Последнее редактирование: 01 Февраля 2008, 18:45:09 от aleksubuntu »

ASUS A8N-VM CSM, amd64 x2 4400, 2Gb, WD320Gb, GTX260GS, window7 x64 & kubuntu-12.10-desktop-amd64, s-1401, s2-3200ci, aspire 5745dg


Оффлайн
ddRoot

первая хорошая вроде.
Но юзать буду вторую ))
спс


Оффлайн
aleksubuntu

А кто нибудь знает какие есть фронтенды т.е. оболочки к nut желательно с большим функционалом !? Например как прога от Alexey Ilyin . Особо нужно
действие выключить питание при падении напряжения на батарее до XX.X В.
Или как этого можно достичь? Вкладываю картинки.

вопрос остается открытым «выключить питание при падении напряжения на батарее до XX.X В». Потому что Mustek PowerMust 600 USB сделан в китае и при выдаче команды на разгрузку системы держит питание 20 сек и вырубается.

p.s. Видимо только китайские ОС могут разгрузиться за 20 сек. И datasheet на используемую
микросхему зажали китайцы. Как они уже надоели своей лажой, однозначно что в 1945 г.
 две бомбы упали не на ту страну!

ASUS A8N-VM CSM, amd64 x2 4400, 2Gb, WD320Gb, GTX260GS, window7 x64 & kubuntu-12.10-desktop-amd64, s-1401, s2-3200ci, aspire 5745dg


Оффлайн
goldskif

народ. wmnut по умолчанию настройки берет, а вот knutclient чего-то прописывать надо в настройках. Сам УПС он не видит.. чего где писать?
————
еще вопрос. После
 /sbin/upsdrvctl start myups

оно ругалось на права доступа
Can’t chdir to /var/run/nut: Permission denied
Driver failed to start (exit status=1)

после прописания chmod 775 /var/run/nut/
заработало, но после перезагрузки компа все права сбрасываются обратно в 640. и ничего не работает. Как это лечится?

« Последнее редактирование: 28 Марта 2008, 12:42:33 от goldskif »

Ubuntu дружелюбная система, но друзей  она, сцуко, выбирает сама…


Оффлайн
goldskif

« Последнее редактирование: 27 Апреля 2008, 02:35:37 от goldskif »

Ubuntu дружелюбная система, но друзей  она, сцуко, выбирает сама…


Оффлайн
aleksubuntu

« Последнее редактирование: 08 Мая 2008, 10:21:38 от aleksubuntu »

ASUS A8N-VM CSM, amd64 x2 4400, 2Gb, WD320Gb, GTX260GS, window7 x64 & kubuntu-12.10-desktop-amd64, s-1401, s2-3200ci, aspire 5745dg


Оффлайн
goldskif

May 7, 2008: 2.2.2 released
http://networkupstools.org/source/2.2/nut-2.2.2.tar.gz
никто не пробовал скомпилить и проверить под 8.04 ???
может заработает.
А то без nut пакета такая ос 8.04 совсем не нужна.

Чтобы УПС заработал, надо добавить узера нат в группу нат
addgroup nut nut

Ubuntu дружелюбная система, но друзей  она, сцуко, выбирает сама…


  • Печать

Страницы: 1 [2] 3 4 19   Вверх


0

1

Доброе утро. В общем почитал отзывы о по winpower. Решил поставить через nut.

3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) i686 GNU/Linux

# dpkg -s nut | grep Version
Version: 2.7.2-4

########BOOT LOG###################
systemd[1]: nut-driver.service: control process exited, code=exited status=1
systemd[1]: Failed to start Network UPS Tools — power device driver controller.
systemd[1]: Dependency failed for Network UPS Tools — power devices information server.
systemd[1]: Unit nut-driver.service entered failed state.
upsmon[736]: fopen /var/run/nut/upsmon.pid: No such file or directory
upsmon[736]: UPS: ippon-600@127.0.0.1 (master) (power value 1)
upsmon[736]: Using power down flag file /etc/killpower
upsmon[958]: Startup successful
systemd[1]: nut-monitor.service: Supervising process 959 which is not our child. We’ll most likely not notice when it exit
upsmon[959]: Init SSL without certificate database
upsmon[959]: UPS [ippon-600@127.0.0.1]: connect failed: Connection failure: Connection refused
upsmon[959]: Communications with UPS ippon-600@127.0.0.1 lost
###########################################

# upsd
Network UPS Tools upsd 2.7.2
fopen /var/run/nut/upsd.pid: No such file or directory
listening on 127.0.0.1 port 3493
Can’t connect to UPS [ippon-600] (blazer_usb-ippon-600): No such file or directory

# ls -l /var/run/nut/
итого 8
-rw-r—r— 1 nut nut 5 май 31 08:12 upsd.pid
-rw-r—r— 1 root root 4 май 31 07:49 upsmon.pid

# upsdrvctl start
Network UPS Tools — UPS driver controller 2.7.2
Network UPS Tools — Megatec/Q1 protocol USB driver 0.11 (2.7.2)
Shutdown delay ‘6’ out of range [12..600]
Driver failed to start (exit status=1)

# /lib/nut/blazer_usb -a ippon-600 -u root -DDD
Network UPS Tools — Megatec/Q1 protocol USB driver 0.11 (2.7.2)
0.000000 debug level is ‘3’
0.153115 Checking device (0A12/0001) (003/005)
0.166693 — VendorID: 0a12
0.166717 — ProductID: 0001
0.166723 — Manufacturer: unknown
0.166727 — Product: CSR8510 A10
0.166732 — Serial Number: unknown
0.166736 — Bus: 003
0.166740 Trying to match device
0.166746 Device does not match — skipping
0.166764 Checking device (0665/5161) (003/004)
0.171810 — VendorID: 0665
0.171829 — ProductID: 5161
0.171835 — Manufacturer: INNO TECH
0.171840 — Product: USB to Serial
0.171845 — Serial Number: 20100826
0.171849 — Bus: 003
0.171853 Trying to match device
0.171859 Device matches
0.172309 Shutdown delay ‘6’ out of range [12..600]

#upsc ippon-600@localhost
Init SSL without certificate database
Error: Driver not connected

Благо гайдов полно. Конфиги стандартные. Но вот честно не пойму что не так. Видел кучу баг-репортов. Но вроде версия стабильная. Права менял, пользователь создан. Что можно еще попробовать? Дрова указаны blazer_usb. В ступор зашел…

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

bananabob

Level 3
Level 3
Posts: 123
Joined: Tue Feb 07, 2012 11:05 pm

<SOLVED> NUT Can’t connect to UPS got [ERR ACCESS-DENIED]

I am trying to use NUT to control my UPS. When it starts up it gives the following errors.

Mar 17 15:24:34 thorium upsd[3386]: listening on 127.0.0.1 port 3493
Mar 17 15:24:34 thorium upsd[3386]: Can’t connect to UPS [ups] (apcsmart-ups): No such file or directory
Mar 17 15:24:34 thorium upsd[3387]: Startup successful
Mar 17 15:24:34 thorium upsmon[3389]: Startup successful
Mar 17 15:24:34 thorium upsmon[3391]: Login on UPS [ups@localhost] failed — got [ERR ACCESS-DENIED]
Mar 17 15:24:39 thorium upsmon[3391]: Poll UPS [ups@localhost] failed — Driver not connected
Mar 17 15:24:39 thorium upsmon[3391]: Communications with UPS ups@localhost lost
Mar 17 15:24:44 thorium upsmon[3391]: Poll UPS [ups@localhost] failed — Driver not connected
Mar 17 15:24:44 thorium upsmon[3391]: UPS ups@localhost is unavailable
Mar 17 15:24:49 thorium upsmon[3391]: Poll UPS [ups@localhost] failed — Driver not connected

Here are my config files.
/etc/nut/nut.conf

/etc/nut/ups.conf

Code: Select all

[ups]
	driver = apcsmart
	sdtype = 0
	cable = 940-0095B
	port = /dev/ttsy0
	desc = "UPS"

/etc/nut/upsd.conf

/etc/nut/upsd.users

Code: Select all

[upsmon]
	password = xxxxxxxx
#	allowfrom = localhost
	actions = SET
	instcmds = ALL

/etc/nut/upsmon.conf

Code: Select all

 MONITOR ups@localhost 1 upsmon xxxxxxxx master

I have read and tried http://rogerprice.org/NUT.html#HOSTS.ALLOW and here is my /etc/hosts.allow

Code: Select all

upsd : localhost, LOCAL, 127.0.0.1,    [::1]               : ALLOW

 # And now the denials which previously appeared in /etc/hosts.deny
 #
 ALL :  ALL                                                 : DENY

That didn’t help at all — I get the same error without the code in hosts.allow or with the code in hosts.allow.

Can anyone help me sort this out?

Last edited by bananabob on Sat Mar 24, 2012 7:48 pm, edited 1 time in total.

bananabob

Level 3
Level 3
Posts: 123
Joined: Tue Feb 07, 2012 11:05 pm

Re: NUT giving error message Can’t connect to UPS [ups] (apc

Post

by bananabob » Fri Mar 23, 2012 11:07 pm

I have found one error and corrected it: /etc/ups.conf now reads

Code: Select all

[myups]
	driver = apcsmart
	sdtype = 0
	cable = 940-0095B
	port = /dev/ttyS0
	desc = "ups"

But I still get the nasty error message:

Mar 24 15:57:24 thorium apcsmart[7135]: Startup successful
Mar 24 15:57:24 thorium upsd[7136]: listening on 127.0.0.1 port 3493
Mar 24 15:57:24 thorium upsd[7136]: Connected to UPS [myups]: apcsmart-myups
Mar 24 15:57:24 thorium upsd[7137]: Startup successful
Mar 24 15:57:24 thorium upsmon[7139]: Startup successful
Mar 24 15:57:24 thorium upsmon[7141]: Login on UPS [myups@localhost] failed — got [ERR ACCESS-DENIED]

Is there someone with tcp wrappers knowledge out there that can help?

bananabob

Level 3
Level 3
Posts: 123
Joined: Tue Feb 07, 2012 11:05 pm

Re: <SOLVED> NUT Can’t connect to UPS got [ERR ACCESS-DENIE

Post

by bananabob » Sat Mar 24, 2012 7:53 pm

I have solved this problem.
There is in fact no problem at all.
What happens is that NUT tries to LISTEN on both ipv4 and ipv6. It can only LISTEN on one of them so put out the error message for the one it can’t LISTEN to.
Meanwhile UPSMON is working on the other with no problems.

Maybe they should change the message saying that connection can not be achieved because it is already connected.

tryfail

Re: <SOLVED> NUT Can’t connect to UPS got [ERR ACCESS-DENIE

Post

by tryfail » Fri Nov 01, 2019 5:25 pm

bananabob wrote: ↑

Sat Mar 24, 2012 7:53 pm


I have solved this problem.
There is in fact no problem at all.
What happens is that NUT tries to LISTEN on both ipv4 and ipv6. It can only LISTEN on one of them so put out the error message for the one it can’t LISTEN to.
Meanwhile UPSMON is working on the other with no problems.

Maybe they should change the message saying that connection can not be achieved because it is already connected.

This can also happen when the ‘upsmon’ directive is missing from the user block in upsd.users


    • #1

    I’m trying to get the Nut plugin to work with my new UPS, an Infosec X3 500 USB. OMV box is an HP N54L connected to the UPS through USB.

    When I enable the plugin, the Services > UPS pops up the following error: Failed to execute command ‘upsc ‘infosec’ 2>&1′: Error: Driver not connected

    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'upsc 'infosec' 2>&1': Error: Driver not connected' in /usr/share/openmediavault/engined/rpc/nut.inc:151
    Stack trace:
    #0 [internal function]: OMVRpcServiceNetworkUPSTools->getStats(NULL, Array)
    #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getStats', NULL, Array)
    #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Nut', 'getStats', NULL, Array, 1)
    #4 {main}

    The console is also spammed with the following message ever 10 seconds:

    Broadcast Message from nut@hippo
            (somewhere) at 10:56 ...
    
    
    UPS infosec@localhost is unavailable

    My settings in the plugin are:
    driver = blazer_usb (I’ve also tried with other drivers, but this is the one recommended by the NUT compatibility list)
    port = auto (I’ve also tried with ‘usb’ and ‘dev/usb/hiddev0’, etc…)

    This is the output of lsusb:

    Bus 005 Device 008: ID 0665:5161 Cypress Semiconductor USB to Serial
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    So I’ve tried adding the following options to config, as suggested by the blazer_usb man page, to no avail:
    vendorid = 0665
    productid = 5161
    subdriver = cypress

    Other things I’ve tried:

    $ sudo /lib/nut/blazer_usb -a infosec -x vendorid=0665
    Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
    No supported UPS detected
    
    
    $ sudo /lib/nut/blazer_usb -a infosec -DD
    Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
       0.000000     debug level is '2'
       0.461471     Checking device (1D6B/0001) (006/001)
       0.525061     - VendorID: 1d6b
       0.525132     - ProductID: 0001
       0.525164     - Manufacturer: unknown
       0.525191     - Product: unknown
       0.525221     - Serial Number: unknown
       0.525248     - Bus: 006
       0.525273     Trying to match device
       0.525346     Device does not match - skipping
       0.525441     Checking device (1D6B/0001) (005/001)
       0.589076     - VendorID: 1d6b
       0.589148     - ProductID: 0001
       0.589182     - Manufacturer: unknown
       0.589208     - Product: unknown
       0.589239     - Serial Number: unknown
       0.589265     - Bus: 005
       0.589290     Trying to match device
       0.589326     Device does not match - skipping
       0.589480     Checking device (1D6B/0001) (004/001)
       0.653048     - VendorID: 1d6b
       0.653119     - ProductID: 0001
       0.653146     - Manufacturer: unknown
       0.653171     - Product: unknown
       0.653202     - Serial Number: unknown
       0.653227     - Bus: 004
       0.653252     Trying to match device
       0.653292     Device does not match - skipping
       0.653458     Checking device (1D6B/0002) (003/001)
       0.653610     - VendorID: 1d6b
       0.653656     - ProductID: 0002
       0.653686     - Manufacturer: unknown
       0.653715     - Product: unknown
       0.653745     - Serial Number: unknown
       0.653795     - Bus: 003
       0.653822     Trying to match device
       0.653873     Device does not match - skipping
       0.665584     Checking device (1D6B/0002) (002/001)
       0.665813     - VendorID: 1d6b
       0.665856     - ProductID: 0002
       0.665888     - Manufacturer: unknown
       0.665919     - Product: unknown
       0.665951     - Serial Number: unknown
       0.665979     - Bus: 002
       0.666008     Trying to match device
       0.666048     Device does not match - skipping
       0.677752     Checking device (1D6B/0002) (001/001)
       0.677987     - VendorID: 1d6b
       0.678025     - ProductID: 0002
       0.678056     - Manufacturer: unknown
       0.678082     - Product: unknown
       0.678112     - Serial Number: unknown
       0.678138     - Bus: 001
       0.678168     Trying to match device
       0.678204     Device does not match - skipping
       0.689921     No appropriate HID device found
       0.690016     No supported devices found. Please check your device availability with 'lsusb'
    and make sure you have an up-to-date version of NUT. If this does not help,
    try running the driver with at least 'subdriver', 'vendorid' and 'productid'
    options specified. Please refer to the man page for details about these options
    (man 8 blazer).
    
    
    $ sudo upsdrvctl start
    Network UPS Tools - UPS driver controller 2.6.4
    Network UPS Tools - Megatec/Q1 protocol USB driver 0.08 (2.6.4)
    No supported devices found. Please check your device availability with 'lsusb'
    and make sure you have an up-to-date version of NUT. If this does not help,
    try running the driver with at least 'subdriver', 'vendorid' and 'productid'
    options specified. Please refer to the man page for details about these options
    (man 8 blazer).
    Driver failed to start (exit status=1)
    
    
    $ dmesg
    [ 2201.716336] usb 5-1: USB disconnect, device number 69
    [ 2203.472949] usb 5-1: new low-speed USB device number 70 using ohci-pci
    [ 2203.641885] usb 5-1: New USB device found, idVendor=0665, idProduct=5161
    [ 2203.641893] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2203.641897] usb 5-1: Product: USB to Serial
    [ 2203.641899] usb 5-1: Manufacturer: INNO TECH
    [ 2203.656369] hid-generic 0003:0665:5161.00C3: hiddev0,hidraw0: USB HID v1.00 D                                                                                    evice [INNO TECH USB to Serial] on usb-0000:00:13.0-1/input0
    [ 2213.032151] usb 5-1: USB disconnect, device number 70
    [ 2214.783828] usb 5-1: new low-speed USB device number 71 using ohci-pci
    [ 2214.956866] usb 5-1: New USB device found, idVendor=0665, idProduct=5161
    [ 2214.956878] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2214.956885] usb 5-1: Product: USB to Serial
    [ 2214.956891] usb 5-1: Manufacturer: INNO TECH
    [ 2214.970192] hid-generic 0003:0665:5161.00C4: hiddev0,hidraw0: USB HID v1.00 D                                                                                    evice [INNO TECH USB to Serial] on usb-0000:00:13.0-1/input0
    [ 2224.347316] usb 5-1: USB disconnect, device number 71
    [ 2226.098545] usb 5-1: new low-speed USB device number 72 using ohci-pci
    [ 2226.267628] usb 5-1: New USB device found, idVendor=0665, idProduct=5161
    [ 2226.267640] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2226.267647] usb 5-1: Product: USB to Serial
    [ 2226.267653] usb 5-1: Manufacturer: INNO TECH
    [ 2226.281932] hid-generic 0003:0665:5161.00C5: hiddev0,hidraw0: USB HID v1.00 D                                                                                    evice [INNO TECH USB to Serial] on usb-0000:00:13.0-1/input0
    [ 2235.600381] usb 5-1: USB disconnect, device number 72
    [ 2237.349406] usb 5-1: new low-speed USB device number 73 using ohci-pci
    [ 2237.518441] usb 5-1: New USB device found, idVendor=0665, idProduct=5161
    [ 2237.518453] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2237.518460] usb 5-1: Product: USB to Serial
    [ 2237.518466] usb 5-1: Manufacturer: INNO TECH
    [ 2237.532051] hid-generic 0003:0665:5161.00C6: hiddev0,hidraw0: USB HID v1.00 D                                                                                    evice [INNO TECH USB to Serial] on usb-0000:00:13.0-1/input0

    Alles anzeigen

    I’ve also tried plugging/unplugging the USB, rebooting the server, restarting the UPS, etc… with no better result.

    Any ideas ?

    • Offizieller Beitrag
    • #2

    Might need a newer version of nut. See this thread.

    • #3

    @Nibb31
    got the same here:

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial

    and using the following parameters is perfectly working ( no temperature graph but this should depend on the UPS :(

    driver = blazer_usb
    subdriver = cypress
    protocol = mustek
    vendorid = 0665
    productid = 5161
    port = auto

    on OMV 2.1.8 kernel 3.2.0-4-amd64

BlazeStar

Patron

Joined
Apr 6, 2014
Messages
376


  • #1

Hi guys,

Using FreeNAS-9.3-STABLE-201511280648

I use a APC BACK-UPS since over a year with the NAS box.

All of a sudden, for no apparent reason, I started receiving emails this morning (every 5 minutes) saying

In the console it says:

Code:

Dec 23 12:57:25 NAS upsmon[2807]: Poll UPS [ups] failed - Driver not connected

I went to look at the UPS and the cable and everything seems normal.

I tried to plug it in my laptop and it would recognize it fine.

The driver I use is: APC ups 2 Back-UPS ES/CyberFort 350 USB (usbhid-ups)
With port: /dev/ugen1.3 (which is the right one too)

Any idea?

Ericloewe

Ericloewe

Not-very-passive-but-aggressive

Moderator

Joined
Feb 15, 2014
Messages
18,409


  • #2

Out of the blue? Did you change anything in your server recently?

BlazeStar

Patron

Joined
Apr 6, 2014
Messages
376


  • #3

Yes sir, that’s what surprises me the most… NO CHANGE at all!!

Ericloewe

Ericloewe

Not-very-passive-but-aggressive

Moderator

Joined
Feb 15, 2014
Messages
18,409


  • #4

Well, NUT has always been a bit fragile with local UPSes, but it’s generally something milder.

A few troubleshooting suggestions:

  • Try a different USB port
  • Try to save the UPS config again

BlazeStar

Patron

Joined
Apr 6, 2014
Messages
376


  • #5

well… I did that and it seems to have worked!

I did both so I guess one of the two or the combination worked.

Thanks @Ericloewe !

Понравилась статья? Поделить с друзьями:
  • Usb transfer error amlogic
  • Uprog ошибка соединения со службой орион 2
  • Usb sample rate mismatch on usb console 48000 как исправить
  • Usb receiver ошибка драйвера
  • Upr error subsystem renderer