XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    USB device confusion through multiple listed instances of a device and old devices

    Scheduled Pinned Locked Moved Hardware
    3 Posts 2 Posters 125 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      imaginapix
      last edited by

      Hi,

      at the moment I'm a bit confused abotu the handling of USB Devices. And I'm not sure that I picked the right category for it, so please move if it is wrong here.

      I have 2 identical hosts (8.3 release), both have 1 USB device attached - an Legrand USV.
      Since it looks identical on both hosts, I list the details only for one of them.

      In XO only the one USB device is listed:
      7af1bc12-8abc-41b4-941f-90afe35493bd-screenshot_30.png

      On the host only the one device is shown via lsusb :

      [22:51 localhost ~]# lsusb
      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 003 Device 002: ID 1cb0:0038  
      Bus 003 Device 003: ID 8087:0032 Intel Corp. 
      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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      [22:51 localhost ~]# 
      

      When I list PUSB device things get more interesting:

      [22:51 localhost ~]# xe pusb-list
      uuid ( RO)            : 295f4189-f4d0-8b6a-3bbc-c6283369c493
                  path ( RO): 3-6
             vendor-id ( RO): 1cb0
           vendor-desc ( RO): 
            product-id ( RO): 0038
          product-desc ( RO): 
                serial ( RO): 
               version ( RO): 2.00
           description ( RO): 
                 speed ( RO): 12.000
      
      
      uuid ( RO)            : 76fce6a5-7658-0c8b-59fb-73eb32bf9a02
                  path ( RO): 2-2.1
             vendor-id ( RO): 0bc2
           vendor-desc ( RO): Seagate RSS LLC
            product-id ( RO): ab28
          product-desc ( RO): 
                serial ( RO): NA7PACFG
               version ( RO): 3.00
           description ( RO): Seagate RSS LLC_NA7PACFG
                 speed ( RO): 5000.000
      
      
      uuid ( RO)            : 936340fa-45c2-24d3-8371-5929d352e284
                  path ( RO): 1-2.1
             vendor-id ( RO): 1cb0
           vendor-desc ( RO): 
            product-id ( RO): 0038
          product-desc ( RO): 
                serial ( RO): 
               version ( RO): 2.00
           description ( RO): 
                 speed ( RO): 12.000
      
      
      uuid ( RO)            : bc0eb774-3163-1cf6-d6f8-433549565780
                  path ( RO): 3-6
             vendor-id ( RO): 1cb0
           vendor-desc ( RO): 
            product-id ( RO): 0038
          product-desc ( RO): 
                serial ( RO): 
               version ( RO): 2.00
           description ( RO): 
                 speed ( RO): 12.000
      
      
      uuid ( RO)            : 1cf04699-233c-e6f1-10b7-b889b016f469
                  path ( RO): 1-2.1
             vendor-id ( RO): 1cb0
           vendor-desc ( RO): 
            product-id ( RO): 0038
          product-desc ( RO): 
                serial ( RO): 
               version ( RO): 2.00
           description ( RO): 
                 speed ( RO): 12.000
      
      
      uuid ( RO)            : 36432077-1c2a-5ade-c931-13e2b92593e5
                  path ( RO): 3-6
             vendor-id ( RO): 1cb0
           vendor-desc ( RO): 
            product-id ( RO): 0038
          product-desc ( RO): 
                serial ( RO): 
               version ( RO): 2.00
           description ( RO): 
                 speed ( RO): 12.000
      
      
      uuid ( RO)            : 79276bcc-5143-721d-3b37-7c1cf6dec4ad
                  path ( RO): 1-2
             vendor-id ( RO): 0627
           vendor-desc ( RO): Adomax Technology Co., Ltd
            product-id ( RO): 0001
          product-desc ( RO): 
                serial ( RO): 42
               version ( RO): 2.00
           description ( RO): Adomax Technology Co., Ltd_42
                 speed ( RO): 12.000
      
      
      [22:53 localhost ~]#
      

      Yes, in the past I had a local Seagate HDD attached, but it was removed as stated in the documentation. So idea why it is still listed.

      And when I try to create the VUSB for a VM I get this whole list of device instead of only the one attached to the host.

      Where is my brain going the wrong way?

      1 Reply Last reply Reply Quote 0
      • M Offline
        manilx
        last edited by

        I had the same issue a while back. Old/Unconnected devices showing.
        This was at the time when you had to use the CLI to do this stuff.
        I can't help you with the cause of this, just telling that in my case I had to reinstall xcpng freshly on the host to get rid of this. Thankfully this is not to great a deal to do.....

        I 1 Reply Last reply Reply Quote 0
        • I Offline
          imaginapix @manilx
          last edited by

          @manilx

          True, not a big deal, but this two host were fresh installs with 8.3 release and only joint the pool to keep everything running.

          So this seems to be a thing on pool level, since on those hosts only the Legrand was ever attached to.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post