UPS Settings - Lost connection


dheg

2 posts in this topic Last Reply

Recommended Posts

Hopefully you can help...

 

I have the APC UPS SMC1000IC (https://www.apc.com/shop/hr/en/products/APC-Smart-UPS-C-1000VA-LCD-230V-with-SmartConnect/P-SMC1000IC?isCurrentSite=true).

 

I got it to work using the USB cable and type in the USB settings. It did stop working though. However the strange thing is that it is still recognized (Bus 005 Device 002) by unraid, it does not connect though.

root@gaia:~# for usb_ctrl in $(find /sys/bus/usb/devices/usb* -maxdepth 0 -type l); do pci_path="$(dirname "$(realpath "${usb_ctrl}")")"; echo "Bus $(cat "${usb_ctrl}/busnum") --> $(basename $pci_path) (IOMMU group $(basename $(realpath $pci_path/iommu_group)))"; lsusb -s "$(cat "${usb_ctrl}/busnum"):"; echo; done
Bus 10 --> 0000:10:00.3 (IOMMU group 33)
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 3 --> 0000:0b:00.1 (IOMMU group 19)
Bus 003 Device 004: ID 1b1c:1c07 Corsair USB2.0 Hub
Bus 003 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 002: ID 090c:6300 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Kingston  Reader
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 4 --> 0000:0b:00.1 (IOMMU group 19)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 5 --> 0000:0b:00.3 (IOMMU group 19)
Bus 005 Device 002: ID 051d:0004 American Power Conversion Smart-UPS_1000 FW:UPS 04.1 / ID=1018
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 6 --> 0000:0b:00.3 (IOMMU group 19)
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 9 --> 0000:10:00.3 (IOMMU group 33)
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Attached is the diagnostic file as well.

 

I don't know why it did stop working. What I did after I got it to work was to create a VM and change some of the settings  in the BIOS following this guide https://forums.unraid.net/topic/87557-guide-asrock-x570-taichi-vm-w-hardware-passthrough/

 

Following the guide I changed the USB settings, could this be? Could it be possible that the USB is 2.0 and I updated the controllers to USB 3?

 

 

gaia-diagnostics-20200323-2332.zip

Link to post
  • 4 weeks later...

I still can make this work, the device is there:

root@gaia:/proc/bus/input# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 051d:0004 American Power Conversion Smart-UPS_1000 FW:UPS 04.1 / ID=1018
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1b1c:1c07 Corsair USB2.0 Hub
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@gaia:~# lsusb -v -s003:002

Bus 003 Device 002: ID 051d:0004 American Power Conversion Smart-UPS_1000 FW:UPS 04.1 / ID=1018
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x051d American Power Conversion
  idProduct          0x0004 
  bcdDevice            0.01
  iManufacturer           1 American Power Conversion 
  iProduct                2 Smart-UPS_1000 FW:UPS 04.1 / ID=1018
  iSerial                 3 AS1833262640    
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower               10mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      75
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

 

Any ideas?

 

Link to post

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.