[linux] Ako rozchodiť UPSku

Juraj Remenec remenec na gmail.com
Pondělí Únor 9 19:48:09 CET 2015


Už začínam veriť, že to skrátka neviem lebo toto je už moja tretia, lacná
(rozumej šhitná) UPSka a ešte žiadnu sa mi nepodarilo rozbehať.

Tá posledná ma už ale nasiera.
Dostala sa mi do ruk: EATON 5E 850i USB.
Prosím vás, možno ste to niekto riešil a budete vedieť kde robím chybu.
Ďakujem za každý tip.

#lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8009 Intel Corp.
Bus 004 Device 002: ID 8087:8001 Intel Corp.
Bus 004 Device 004: ID 0463:ffff MGE UPS Systems UPS

--ups.conf
[eaton]
        driver = usbhid-ups
        port = auto
        desc = Eaton UPSko

Kvoli permissions, som dal docasne (už som zúfaly, nevylučujem že práve tu
som niečo posral):
#chmod 777 /dev/bus/usb/004/004

#./usbhid-ups -DDD -u root -a Eaton
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
   0.000000     debug level is '3'
   0.000818     upsdrv_initups...
   0.106660     Checking device (0463/FFFF) (004/004)
   0.107558     - VendorID: 0463
   0.107582     - ProductID: ffff
   0.107623     - Manufacturer: unknown
   0.107632     - Product: unknown
   0.107656     - Serial Number: unknown
   0.107670     - Bus: 004
   0.107693     Trying to match device
   0.107727     Device matches
   0.108682     Unable to get HID descriptor (error sending control
message: Broken pipe)
   0.108706     HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22
25 02
   0.108716     HID descriptor length 549
   0.109308     Unable to get Report descriptor: Broken pipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.sk/pipermail/linux/attachments/20150209/4ccc570f/attachment.html>


Další informace o konferenci linux