aleksey_z

How to connect a UPS Mustek 600Plus with Serial/USB pl2303?

Recommended Posts

Good day.

I read about it https://forum.synology.com/enu/viewtopi ... ps#p449794 and try to connect my old UPS.

Prompt me please, can I connect the my old UPS Mustek 600Plus only with RS232 interface to my syno ds3615. I have usb-serial adapter STLabs U-350 and installed drivers:

[   26.591680] usbcore: registered new interface driver usbserial
[   26.605321] usbcore: registered new interface driver ftdi_sio
[   26.605330] usbserial: USB Serial support registered for FTDI USB Serial Device
[   26.644318] usbcore: registered new interface driver cp210x
[   26.644327] usbserial: USB Serial support registered for cp210x
[   26.645183] usbcore: registered new interface driver pl2303
[   26.645191] usbserial: USB Serial support registered for pl2303
[   26.645201] pl2303 2-1.8:1.0: pl2303 converter detected
[   26.646771] usb 2-1.8: pl2303 converter now attached to ttyUSB0
[   26.662390] usbcore: registered new interface driver ch341
[   26.662400] usbserial: USB Serial support registered for ch341-uart
[   26.684289] usbcore: registered new interface driver ti_usb_3410_5052
[   26.684302] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[   26.684310] usbserial: USB Serial support registered for TI USB 5052 2 port adapter

I have tried to make changes to the file /usr/syno/etc/ups/ups.conf as:

driver = blazer_usb
port = /dev/ttyUSB0

and

driver = blazer_usb
port = /dev/ttyUSB0
cable = 940-0024C

But nothing happens, the UPS is not seen in the DSM. What am I doing wrong? Thanks.

Share this post


Link to post
Share on other sites

log:

[spoiler=]

/usr/syno/etc/rc.sysv$ sh ups-usb.sh restart
ups-usb.sh restart invoked.
Stop UPS Daemon
Can't open /var/state/ups/richcomm_usb-ttyUSB0.pid: No such file or directory
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
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_usb).

Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (SDS6-0-8445-factory-repack-8445-160817)
Driver failed to start (exit status=1)
No matching HID UPS found
Driver failed to start (exit status=1)
Fatal error: unusable configuration
Driver failed to start (exit status=1)
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - Generic HID driver 0.38 (SDS6-0-8445-factory-repack-8445-160817)
USB communication driver 0.32
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - BCMXCP UPS driver 0.28 (SDS6-0-8445-factory-repack-8445-160817)
USB communication subdriver 0.22
Unable to find POWERWARE UPS device on USB bus (USB)

Things to try:

- Connect UPS device to USB bus

- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
  See upsdrvctl(8) and ups.conf(5).

Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Startup timer elapsed, continuing...
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
No matching USB/HID UPS found
Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.20 (SDS6-0-8445-factory-repack-8445-160817)
Warning: This is an experimental driver.
Some features may not function correctly.

Driver failed to start (exit status=1)
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
This UPS is not supported. product=[], cmd=[]
Communications with UPS lost: Can't open USB device, retrying ...
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_usb).

Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (SDS6-0-8445-factory-repack-8445-160817)
Driver failed to start (exit status=1)
No matching HID UPS found
Driver failed to start (exit status=1)
Fatal error: unusable configuration
Driver failed to start (exit status=1)
Duplicate driver instance detected! Terminating other driver!
Unable to find Richcomm dry-contact to USB solution

Things to try:
- Connect UPS device to USB bus
- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
  See upsdrvctl(8) and ups.conf(5).

Fatal error: unusable configuration
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - Generic HID driver 0.38 (SDS6-0-8445-factory-repack-8445-160817)
USB communication driver 0.32
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - BCMXCP UPS driver 0.28 (SDS6-0-8445-factory-repack-8445-160817)
USB communication subdriver 0.22
Unable to find POWERWARE UPS device on USB bus (USB)

Things to try:

- Connect UPS device to USB bus

- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
  See upsdrvctl(8) and ups.conf(5).

Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - Richcomm dry-contact to USB driver 0.04 (SDS6-0-8445-factory-repack-8445-160817)
Warning: This is an experimental driver.
Some features may not function correctly.

Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Startup timer elapsed, continuing...
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
No matching USB/HID UPS found
Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.20 (SDS6-0-8445-factory-repack-8445-160817)
Warning: This is an experimental driver.
Some features may not function correctly.

Driver failed to start (exit status=1)
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
This UPS is not supported. product=[], cmd=[]
Communications with UPS lost: Can't open USB device, retrying ...
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_usb).

Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (SDS6-0-8445-factory-repack-8445-160817)
Driver failed to start (exit status=1)
No matching HID UPS found
Driver failed to start (exit status=1)
Fatal error: unusable configuration
Driver failed to start (exit status=1)
Duplicate driver instance detected! Terminating other driver!
Unable to find Richcomm dry-contact to USB solution

Things to try:
- Connect UPS device to USB bus
- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
  See upsdrvctl(8) and ups.conf(5).

Fatal error: unusable configuration
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - Generic HID driver 0.38 (SDS6-0-8445-factory-repack-8445-160817)
USB communication driver 0.32
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - BCMXCP UPS driver 0.28 (SDS6-0-8445-factory-repack-8445-160817)
USB communication subdriver 0.22
Unable to find POWERWARE UPS device on USB bus (USB)

Things to try:

- Connect UPS device to USB bus

- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
  See upsdrvctl(8) and ups.conf(5).

Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - Richcomm dry-contact to USB driver 0.04 (SDS6-0-8445-factory-repack-8445-160817)
Warning: This is an experimental driver.
Some features may not function correctly.

Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Communications with UPS lost: Can't open USB device, retrying ...
Startup timer elapsed, continuing...
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
No matching USB/HID UPS found
Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.20 (SDS6-0-8445-factory-repack-8445-160817)
Warning: This is an experimental driver.
Some features may not function correctly.

Driver failed to start (exit status=1)
Communications with UPS lost: Can't open USB device, retrying ...
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
This UPS is not supported. product=[], cmd=[]

 

 

P.S.

if i in setting:

[PowerMust]
driver = blazer_usb
port = /dev/ttyUSB0
desc = "Mustek PowerMust 600VA"
mfr = "Mustek"
model = "PowerMust 600VA Plus"

 

i have the next in log:

/usr/syno/etc/rc.sysv$ sh ups-usb.sh restart
Network UPS Tools - Richcomm dry-contact to USB driver 0.04 (SDS6-0-8445-factory-repack-8445-160817)
Warning: This is an experimental driver.
Some features may not function correctly.

ups-usb.sh restart invoked.
Stop UPS Daemon
Can't open /var/state/ups/blazer_usb-ttyUSB0.pid: No such file or directory
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (SDS6-0-8445-factory-repack-8445-160817)

Fatal error: 'mfr' is not a valid variable name for this driver.

Look in the man page or call this driver with -h for a list of
valid variable names and flags.
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
The UPS is connected. driver=[]
Start UPS Server
fopen /var/state/ups/upsd.pid: No such file or directory
listening on ::1 port 3493
listening on 127.0.0.1 port 3493
listening on fe80::211:32ff:fe14:4dc1 port 3493
listening on 192.168.1.4 port 3493
Can't connect to UPS [PowerMust] (blazer_usb-PowerMust): No such file or directory
/usr/share/cmdvartab not found - disabling descriptions

Share this post


Link to post
Share on other sites
I don't think you have a supported UPS

https://www.synology.com/en-us/compatib ... mode=false

 

Yes, I know that my old UPS Mustek 600 with rs232, not in the list of compatible. But reading the forum, I think it can be connected to the server.

 

I installed blazer_ser driver (using opkg). Now with these settings in ups.conf

[ups]
driver = blazer_ser
port = /dev/ttyUSB0
desc = "PowerMust 600 USB"
vendorid = 0x06DA
  	productid = 0x0003
mfr = Mustek
model = PowerMust 600VA Plus

I get:

/usr/syno/etc/rc.sysv$ sh ups-usb.sh restart
ups-usb.sh restart invoked.
Stop UPS Daemon
Can't open /var/state/ups/blazer_ser-ttyUSB0.pid: No such file or directory
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Supported UPS detected with megatec protocol
Vendor information unavailable
No values provided for battery high/low voltages in ups.conf

Using 'guestimation' (low: 10.400000, high: 13.000000)!
Battery runtime will not be calculated (runtimecal not set)
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
The UPS is connected. driver=[]
Start UPS Server
fopen /var/state/ups/upsd.pid: No such file or directory
listening on ::1 port 3493
listening on 127.0.0.1 port 3493
listening on fe80::211:32ff:fe14:4dc1 port 3493
listening on 192.168.1.4 port 3493
Can't connect to UPS [ups] (blazer_ser-ups): No such file or directory
/usr/share/cmdvartab not found - disabling descriptions

or after restart

 

/usr/syno/etc/rc.sysv sh ups-usb.sh restart

 

/usr/syno/etc/rc.sysv$ sh ups-usb.sh restart
ups-usb.sh restart invoked.
Stop UPS Daemon
Can't open /var/state/ups/blazer_ser-ttyUSB0.pid: No such file or directory
Network UPS Tools upsd SDS6-0-8445-factory-repack-8445-160817
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Stop UPS timeout, Force stop UPS
Can't open /var/state/ups/blazer_ser-ttyUSB0.pid: No such file or directory
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
Stop UPS timeout, Force stop UPS
Can't open /var/state/ups/blazer_ser-ttyUSB0.pid: No such file or directory
Network UPS Tools - UPS driver controller SDS6-0-8445-factory-repack-8445-160817
UPS driver alive
UPS driver alive
UPS driver alive

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now