<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hello. I am having troubles with using nut on my new
system (Ubuntu 1.4 on kernel 4.9 chroot'ed on Android). I have
this working on an earlier system (Ubuntu 1.4 on kernel 3.x also
chroot'ed on Android). My UPS is a Belkin with USB interface. As a
newbie, I have no idea what is wrong here. I have supplied all the
info I can get my hands on right now below.<br>
<br>
Thanks for any help/tips you can supply.<br>
<br>
1. sudo upsdrvctl start yields:<br>
</font>
<blockquote><font size="-1">Network UPS Tools - UPS driver
controller 2.7.1</font><br>
<font size="-1">Network UPS Tools - Megatec/Q1 protocol USB driver
0.10 (2.7.1)</font><br>
<font size="-1">No supported devices found. Please check your
device availability with 'lsusb'</font><br>
<font size="-1">and make sure you have an up-to-date version of
NUT. If this does not help,</font><br>
<font size="-1">try running the driver with at least 'subdriver',
'vendorid' and 'productid'</font><br>
<font size="-1">options specified. Please refer to the man page
for details about these options</font><br>
<font size="-1">(man 8 blazer).</font><br>
<br>
<font size="-1">Driver failed to start (exit status=1)</font><br>
<font size="-1">Network UPS Tools - Megatec/Q1 protocol USB driver
0.10 (2.7.1)</font><br>
<font size="-1">No supported devices found. Please check your
device availability with 'lsusb'</font><br>
<font size="-1">and make sure you have an up-to-date version of
NUT. If this does not help,</font><br>
<font size="-1">try running the driver with at least 'subdriver',
'vendorid' and 'productid'</font><br>
<font size="-1">options specified. Please refer to the man page
for details about these options</font><br>
<font size="-1">(man 8 blazer).</font><br>
<br>
<font size="-1">Driver failed to start (exit status=1)</font><br>
<font size="-1">Network UPS Tools - Megatec/Q1 protocol USB driver
0.10 (2.7.1)</font><br>
<font size="-1">No supported devices found. Please check your
device availability with 'lsusb'</font><br>
<font size="-1">and make sure you have an up-to-date version of
NUT. If this does not help,</font><br>
<font size="-1">try running the driver with at least 'subdriver',
'vendorid' and 'productid'</font><br>
<font size="-1">options specified. Please refer to the man page
for details about these options</font><br>
<font size="-1">(man 8 blazer).</font><br>
<br>
<font size="-1">Driver failed to start (exit status=1)</font><br>
<font size="-1">root@localhost:~#</font><br>
</blockquote>
<font size="-1">2. upsc belkinusb (or uspc belkinusb@localhost)
yields:<br>
</font>
<blockquote><font size="-1">Error: Connection failure: Connection
refused</font><br>
<font size="-1">root@localhost:~# upsc belkinusb@localhost</font><br>
<font size="-1">Error: Connection failure: Connection refused</font><br>
<font size="-1">root@localhost:~#<br>
</font></blockquote>
<font size="-1">3. nut-report yields:<br>
<br>
NUT configuration 2021-01-22 22:12:37 UTC<br>
<br>
########### Operating system ###########<br>
4.9.113 GNU/Linux<br>
NAME="Ubuntu"<br>
PRETTY_NAME="Ubuntu 14.04 LTS"<br>
<br>
########### /etc/nut/nut.conf ###########<br>
MODE=standalone<br>
<br>
########### /etc/nut/ups.conf ###########<br>
maxretry = 3<br>
[belkinusb]<br>
driver = blazer_usb<br>
port = auto<br>
desc = "Belkin UPS, USB interface"<br>
<br>
########### /etc/nut/upsd.conf ###########<br>
MAXAGE 15<br>
LISTEN 127.0.0.1 3493<br>
MAXCONN 1024<br>
<br>
########### /etc/nut/upsd.users ###########<br>
[local_mon]<br>
password = *********<br>
upsmon master<br>
instcmds = ALL<br>
actions = SET<br>
<br>
########### /etc/nut/upsmon.conf ###########<br>
MONITOR belkinusb@localhost 1 local_mon ********* master<br>
MINSUPPLIES 1<br>
SHUTDOWNCMD "/sbin/shutdown -h +0"<br>
NOTIFYCMD sh /home/android/nutShutdown.sh<br>
POLLFREQ 5<br>
POLLFREQALERT 5<br>
HOSTSYNC 15<br>
DEADTIME 15<br>
POWERDOWNFLAG /etc/killpower<br>
NOTIFYMSG ONBATT "UPS %s on battery"<br>
NOTIFYFLAG ONBATT WALL+EXEC<br>
RBWARNTIME 43200<br>
NOCOMMWARNTIME 300<br>
FINALDELAY 5<br>
<br>
########### /etc/nut/upssched.conf ###########<br>
CMDSCRIPT /bin/upssched-cmd<br>
<br>
########### <scriptname> ###########<br>
Cannot access <scriptname><br>
<br>
########### /etc/hosts.allow ###########<br>
<br>
########### ps aux ###########<br>
<br>
########### Ownership and permissions of executables
###########<br>
-rwxr-xr-x. 1 root root 43204 Dec 30 2013 /sbin/upsd*<br>
-rwxr-xr-x. 1 root root 18224 Dec 30 2013 /sbin/upsdrvctl*<br>
-rwxr-xr-x. 1 root root 30852 Dec 30 2013 /sbin/upsmon*<br>
-rwxr-xr-x. 1 root root 22340 Dec 30 2013 /sbin/upssched*<br>
-rwxr-xr-x. 1 root root 100064 Apr 11 2014
/sbin/upstart-dbus-bridge*<br>
-rwxr-xr-x. 1 root root 95824 Apr 11 2014
/sbin/upstart-event-bridge*<br>
-rwxr-xr-x. 1 root root 108140 Apr 11 2014
/sbin/upstart-file-bridge*<br>
-rwxr-xr-x. 1 root root 104100 Apr 11 2014
/sbin/upstart-local-bridge*<br>
-rwxr-xr-x. 1 root root 99924 Apr 11 2014
/sbin/upstart-socket-bridge*<br>
-rwxr-xr-x. 1 root root 58980 Apr 11 2014
/sbin/upstart-udev-bridge*<br>
<br>
########### Ownership and permissions of configuration
files ###########<br>
-rwxrwxrwx. 1 root nut 1544 Jan 21 11:52 /etc/nut/nut.conf*<br>
-rwxrwxrwx. 1 root nut 4653 Jan 21 18:29 /etc/nut/ups.conf*<br>
-rwxrwxrwx. 1 root nut 4572 Jan 21 11:52 /etc/nut/upsd.conf*<br>
-rwxrwxrwx. 1 root nut 2206 Jan 21 11:52 /etc/nut/upsd.users*<br>
-rwxrwxrwx. 1 root nut 15274 Jan 21 12:23 /etc/nut/upsmon.conf*<br>
-rwxrwxrwx. 1 root nut 3887 Jan 21 11:52 /etc/nut/upssched.conf*<br>
<br>
########### nut-journal ###########<br>
root@localhost:/storage/emulated/0#<br>
<br>
4. lsusb shows the UPS on Bus 001, Device 003 (cypress USB to
Serial)<br>
</font>
<blockquote><font size="-1">Bus 002 Device 002: ID 05e3:0612 Genesys
Logic, Inc.</font><br>
<font size="-1">Bus 002 Device 001: ID 1d6b:0003 Linux Foundation
3.0 root hub</font><br>
<font size="-1">Bus 001 Device 005: ID 046d:c52b Logitech, Inc.
Unifying Receiver</font><br>
<font size="-1">Bus 001 Device 004: ID 1a86:7523 QinHeng
Electronics HL-340 USB-Serial adapter</font><br>
<font size="-1">Bus 001 Device 003: ID 0665:5161 Cypress
Semiconductor USB to Serial</font><br>
<font size="-1">Bus 001 Device 002: ID 05e3:0610 Genesys Logic,
Inc. 4-port hub</font><br>
<font size="-1">Bus 001 Device 001: ID 1d6b:0002 Linux Foundation
2.0 root hub</font><br>
<font size="-1">root@localhost:/storage#<br>
</font></blockquote>
<br>
<br>
<font size="-1"><br>
</font><br>
<font size="-1"><br>
</font>
</body>
</html>