[Nut-upsuser] New User Questions (again) - With Belkin USB

Charles Lepple clepple at gmail.com
Sat Jan 23 14:21:51 GMT 2021


On Jan 22, 2021, at 5:38 PM, David White via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote:
> 
> 4. lsusb shows the UPS on Bus 001, Device 003 (cypress USB to Serial)
> Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc.
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
> Bus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
> Bus 001 Device 003: ID 0665:5161 Cypress Semiconductor USB to Serial

David,

is this the same system as mentioned in this thread? https://alioth-lists.debian.net/pipermail/nut-upsuser/2020-January/011619.html

While wolfy's suggestions are applicable for a serial UPS with an external USB-to-serial adapter, it sounds like your Belkin UPS has the Cypress chip built-in, and the blazer_usb driver expects to talk directly to that chip (bypassing any kernel drivers that create /dev/ttyUSB* nodes).

Changing the config file modes from 777 to 640 is likely orthogonal to the problem, but something I'd want to fix sooner than later.

What does `ls -l /dev/bus/usb/001/003` show?

You can also try starting the driver manually. There are easier ways to do this in newer versions of NUT, but with 2.7.1 and an Ubuntu-like filesystem layout, it would be something like this (assuming the UPS name is still belkinusb in /etc/nut/ups.conf):

/lib/nut/blazer_usb -a belkinusb -DD

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list