udało się zainstalować ale
po uruchomieniu nie znajduje UPS-a powercoma
root@Gargoyle:~# opkg install /root/libusb-compat_0.1.4-1_ar71xx.ipk
Installing libusb-compat (0.1.4-1) to root...
Configuring libusb-compat.
root@Gargoyle:~# opkg install /root/nut-driver-usbhid-ups_2.6.5-2_ar71xx.ipk
Installing nut-driver-usbhid-ups (2.6.5-2) to root...
Configuring nut-driver-usbhid-ups.
root@Gargoyle:~#
Jun 1 10:02:24 Gargoyle daemon.info upsd[6621]: listening on 0.0.0.0 port 3493
Jun 1 10:02:24 Gargoyle daemon.warn upsd[6621]: /var/run is world readable
Jun 1 10:02:24 Gargoyle daemon.err upsd[6621]: Can't connect to UPS [powercom] (usbhid-ups-powercom): No such file or directory
Jun 1 10:02:24 Gargoyle daemon.warn upsd[6621]: /etc/nut/upsd.users is world readable
Jun 1 10:02:24 Gargoyle daemon.info upsd[6622]: Startup successful
Success
i w system nie rozpoznaje upsa podpietego pod USB
root@Gargoyle:~# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=77.64
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=07cc ProdID=0500 Rev=91.44
S: Manufacturer=USB2.0
S: Product=CardReader
S: SerialNumber=1234600
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0d9f ProdID=0001 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=250ms
Moja konfiguracja NUTa:
/etc/nut/nut.conf
/etc/nut/upsd.conf
/etc/nut/upsmon
config upsmon
option 'notifycmd' '/etc/nut/notify.sh'
option 'onlinemsg' 'UPS %s on line power'
option 'onbattmsg' 'UPS %s on battery'
option 'lowbattmsg' 'UPS %s battery is low'
option 'fsdmsg' 'UPS %s: forced shutdown in progress'
option 'commokmsg' 'Communications with UPS %s established'
option 'commbadmsg' 'Communications with UPS %s lost'
option 'shutdownmsg' 'Auto logout and shutdown proceeding'
option 'replbattmsg' 'UPS %s battery needs to be replaced'
option 'nocommmsg' 'UPS %s is unavailable'
option 'noparentmsg' 'upsmon parent process died - shutdown impossible'
option 'onlinenotify' 'EXEC+SYSLOG'
option 'onbattnotify' 'EXEC+SYSLOG'
option 'lowbattnotify' 'EXEC+SYSLOG'
option 'fsdnotify' 'EXEC+SYSLOG'
option 'commoknotify' 'EXEC+SYSLOG'
option 'commbadnotify' 'EXEC+SYSLOG'
option 'shutdownnotify' 'EXEC+SYSLOG'
option 'replbattnotify' 'EXEC+SYSLOG'
option 'nocommnotify' 'EXEC+SYSLOG'
option 'noparentnotify' 'EXEC+SYSLOG'
config master
option 'upsname' 'UPS'
option 'user' 'guest'
option 'password' 'guest'
Czekam na dalsze sugestie i pomoc
TP-Link TL-WDR3600 v1.6.2.2 (r42647), by obsy
TL-WR1043ND v.1.7 & v.1.8 Gargoyle 1.5.10.X, by obsy