Can't seem to crack UPS detection


Recommended Posts

Hello, 


Can anyone help me with some suggestions. I've got a very basic APS UPS, with the RJ11(?) to USB comms cable. 

I had this working great on my QNAP, which is currently being replaced by a new unraid server. 

 

I've tried connecting the UPS to the server via usb but I cannot seem to find the right combo of settings to get it detected. 

 

it's one of these. I don't know the exact model number but it looks like this

https://www.dell.com/en-uk/shop/apc-back-ups-es-400va-230v-surgearrest-battery-backup-bs1363/apd/a8200252/pc-accessories

 

I've tried a range of ups cables from the drop down and ups types but can't get a reading. Any pointers?

 

 

 

 

 

Link to comment
9 minutes ago, klippertyk said:

Hello, 


Can anyone help me with some suggestions. I've got a very basic APS UPS, with the RJ11(?) to USB comms cable. 

I had this working great on my QNAP, which is currently being replaced by a new unraid server. 

 

I've tried connecting the UPS to the server via usb but I cannot seem to find the right combo of settings to get it detected. 

 

it's one of these. I don't know the exact model number but it looks like this

https://www.dell.com/en-uk/shop/apc-back-ups-es-400va-230v-surgearrest-battery-backup-bs1363/apd/a8200252/pc-accessories

 

I've tried a range of ups cables from the drop down and ups types but can't get a reading. Any pointers?

 

 

 

 

 

Does the ups show in lsusb?

Link to comment
1 hour ago, SimonF said:

Does the ups show in lsusb?

Hi Simon, thanks for replying. 

 

Good shout - first rule of IT - is it plugged in.  lsusb returns the following.. minus the unraid usb drive

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 004: ID 046b:ffb0 American Megatrends, Inc. Virtual Ethernet.
Bus 001 Device 003: ID 046b:ff01 American Megatrends, Inc. Virtual Hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

So I'd say not? Curious. I can't do it now but I'll plug it back into the qnap and reconfim, I only unplugged it 2 days ago but you never know.

Link to comment
6 minutes ago, klippertyk said:

I plugged the UPS back into the Qnap and it is working, I see battery charge, est run time. Connected by USB

It's an APC BACK-UPS ES 700G

Are you able to see if it shows as a usb device or serial?

Link to comment
25 minutes ago, SimonF said:

Are you able to see if it shows as a usb device or serial?

I'm viewing external devices in the qnap gui, USB is selected and both snmp and network share are grey'd out. I realise this doesn't quite answer your question so i'm currently googling how I get more info from a console.

Link to comment

lsusb from terminal shows... 

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 003 Device 002: ID 1005:b155 Apacer Technology, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 

so the course of action is clear, get that bus 003 device to appear on lsusb first eh. is there a command to get unraid to query usb ports for devices please? 

Edited by klippertyk
Link to comment
2 hours ago, klippertyk said:

lsusb from terminal shows... 

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 003 Device 002: ID 1005:b155 Apacer Technology, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 

so the course of action is clear, get that bus 003 device to appear on lsusb first eh. is there a command to get unraid to query usb ports for devices please? 

Yes, it should be automatic. Maybe worth checking usb ports are not disabled in the bios.

 

What motherboard are you using?

Link to comment

I was starting to worry I had some dodgy USB ports on the motherboard (i have not connected  case headers) so after failing to get the ups detected again, i've plugged a usb pen drive in the same port as the ups was, and plugged the ups into a different port.. 

 

Bus 002 Device 003: ID 0781:5583 SanDisk Corp. Ultra Fit
Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 004: ID 046b:ffb0 American Megatrends, Inc. Virtual Ethernet.
Bus 001 Device 003: ID 046b:ff01 American Megatrends, Inc. Virtual Hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

still nthin. the port is live, that sandisk was the test device.

Link to comment
12 minutes ago, klippertyk said:

I was starting to worry I had some dodgy USB ports on the motherboard (i have not connected  case headers) so after failing to get the ups detected again, i've plugged a usb pen drive in the same port as the ups was, and plugged the ups into a different port.. 

 

Bus 002 Device 003: ID 0781:5583 SanDisk Corp. Ultra Fit
Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 004: ID 046b:ffb0 American Megatrends, Inc. Virtual Ethernet.
Bus 001 Device 003: ID 046b:ff01 American Megatrends, Inc. Virtual Hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

still nthin. the port is live, that sandisk was the test device.

Would you be able to post diagnostics?

Link to comment
4 hours ago, SimonF said:

Would you be able to post diagnostics?

Hi SimonF,

 

Appreciate you sticking with me on this one. Sometimes the low tech way wins out. 

I just sat with the console open and ran lsusb over and over working though the ports each time and eventually.....

 

Bus 001 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply 

appeared! Unraid picked it up and all is well, can see everything I need.

 

Seems to me like the uppermost row of USB ports on this board (2x SS 1x "BIOS" and 1x (I think it's usb2) are particularly fussy about what's connected to them. I actually recall when I assembled the hardware on the motherboard box for validation and booted the board for testing I had issues with my USB keyboard and wireless mouse dongle when using that row, but didn't put 2+2 together as I dismissed it as a buggy bios (was much improved after an update) and just general first time setup "bedding in"

 

the ports work, as I've had that usb drive plugged in them ok, but as to why they wont pick up some usb devices, someone more knowledgable will have to say....

 

again, I appreciate your time working through this with me, if you would still like the diagnostic I'm happy to provide.

 

 

Edited by klippertyk
Link to comment
8 hours ago, klippertyk said:

Hi SimonF,

 

Appreciate you sticking with me on this one. Sometimes the low tech way wins out. 

I just sat with the console open and ran lsusb over and over working though the ports each time and eventually.....

 

Bus 001 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply 

appeared! Unraid picked it up and all is well, can see everything I need.

 

Seems to me like the uppermost row of USB ports on this board (2x SS 1x "BIOS" and 1x (I think it's usb2) are particularly fussy about what's connected to them. I actually recall when I assembled the hardware on the motherboard box for validation and booted the board for testing I had issues with my USB keyboard and wireless mouse dongle when using that row, but didn't put 2+2 together as I dismissed it as a buggy bios (was much improved after an update) and just general first time setup "bedding in"

 

the ports work, as I've had that usb drive plugged in them ok, but as to why they wont pick up some usb devices, someone more knowledgable will have to say....

 

again, I appreciate your time working through this with me, if you would still like the diagnostic I'm happy to provide.

 

 

Glad you got it working, no need for diags now.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.