USB device ID is chaning every other second?

kriznik

Member
Sep 29, 2023
37
3
8
Hello there,
it will probably be HW related I guess, but worth to try to ask ;)
I have CyberPower UPS connected via USB to the Proxmox Host and I'd like to have NUT running.

But i noticed, that device ID is changing basically constantly whenever I run lsusb, therefore it would not be possible to pass it to the lxc right?
Is that behaviour which is expected, or something wrong with my (new) UPS?

just example, ID 59 then missing, then ID 60 and so on
Code:
root@ragnar:~# lsusb                                                                                                                              
Bus 002 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter                                                                        
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub                                                                          
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                    
Bus 001 Device 004: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse                                                                              
Bus 001 Device 003: ID 413c:a001 Dell Computer Corp. Hub                                                                                          
Bus 001 Device 059: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS                                                                          
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub                                                                          
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                    
root@ragnar:~# lsusb                                                                                                                              
Bus 002 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter                                                                        
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub                                                                          
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                    
Bus 001 Device 004: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse                                                                              
Bus 001 Device 003: ID 413c:a001 Dell Computer Corp. Hub                                                                                          
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub                                                                          
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                    
root@ragnar:~# lsusb                                                                                                                              
Bus 002 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter                                                                        
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub                                                                          
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                    
Bus 001 Device 004: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse                                                                              
Bus 001 Device 003: ID 413c:a001 Dell Computer Corp. Hub                                                                                          
Bus 001 Device 060: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS                                                                          
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub                                                                          
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                                                                                    
root@ragnar:~#
 
Last edited:
But i noticed, that device ID is changing basically constantly whenever I run lsusb, therefore it would not be possible to pass it to the lxc right?
Is that behaviour which is expected, or something wrong with my (new) UPS?
Looks like it's disconnecting and reconnecting continuously. Check journalctl (scroll with the arrow keys) for more information about why. It could be an incompatibility between your USB controller and the UPS. Try another port (connected to another USB chip) or try putting a (powered, yes, I see the irony) USB hub in between. Search the internet for incompatibilities between Linux and your UPS (as this is most likely not a Proxmox specific issue).