[Eisfair_dev] Allgemeine Frage zu E1 NUT

Juergen Edner juergen at eisfair.org
Do Okt 8 11:51:08 CEST 2015


Hallo Andreas,

>> lsusb
> 
> eis1-imkebu # lsusb
> Protocol spec without prior Class and Subclass spec at line 17403
> Bus 002 Device 005: ID 0665:5161 Cypress Semiconductor USB to Serial

Ich gehe einmal davon aus, dass an diesem USB-Seriell-Port die
USV hängt.

> ...
>> nut-scanner -U
> 
> eis1-imkebu # nut-scanner -U
> Scanning USB bus.
> [nutdev1]
>         driver = "nutdrv_qx"
                    ^^^^^^^^^
>         port = "auto"
>         vendorid = "0665"
>         productid = "5161"
>         product = "USB to Serial"
>         vendor = "INNO TECH"
>         bus = "002"
>  ...
> 
>> Wie sieht die nut-Konfiguration für Deine USV jetzt genau aus?
> ...
> NUT_SERVER_1_COMMENT='my first ups'    #    description
> NUT_SERVER_1_DRIVER='blazer_usb'       #    driver name
                       ^^^^^^^^^^
> NUT_SERVER_1_PORT='/dev/ttyUSB0'       #    port number
> NUT_SERVER_1_CABLE=''                  #    cable type

Hast Du es schon einmal mit folgender Konfiguration versucht,
da 'nut-scanner -U' einen abweichenden Treiber auswirft:

NUT_SERVER_1_DRIVER='nutdrv_qx'
NUT_SERVER_1_PORT='auto'
NUT_SERVER_1_CABLE=''

> Oct  6 20:13:22 eis1-imkebu upsmon[16226]: UPS [ups at localhost:]:
> connect failed: Connection failure: Connection refused
> Oct  6 20:13:22 eis1-imkebu upsmon[16226]: Communications with UPS
> ups at localhost: lost
> Oct  6 20:13:22 eis1-imkebu upssched[16230]: Executing command:
> commbad
> Oct  6 20:13:27 eis1-imkebu upsmon[16226]: UPS [ups at localhost:]:
> connect failed: Connection failure: Connection refused

Solange der NUT-Dienst nicht sauber mit der USV kommunizieren kann,
lohnt es nicht andere Funktionen zu testen.

Gruß Jürgen
-- 
Mail: juergen at eisfair.org


Mehr Informationen über die Mailingliste Eisfair_dev