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

    VUSB fails to reset

    Scheduled Pinned Locked Moved Compute
    vusbusb
    2 Posts 2 Posters 219 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.
    • 6 Offline
      633kD4d
      last edited by olivierlambert

      I'm trying to add a Sonoff Zigbee 3 dongle to my VM.

      It shows up in the host PUSB devices, and I'm able to add it as a VUSB device on the VM, but when I try to start the VM it gets an internal error trying to reset the usb.

      Any idea how to get around this?

      vm.start
      {
        "id": "198283ca-3405-e46a-63e2-8f5f8854a749",
        "bypassMacAddressesCheck": false,
        "force": false
      }
      {
        "code": "INTERNAL_ERROR",
        "params": [
          "xenopsd internal error: Call to usb reset failed: Forkhelpers.Spawn_internal_error(\"\", \"\", _)"
        ],
        "call": {
          "method": "VM.start",
          "params": [
            "OpaqueRef:8cf403ba-cdfb-44cd-9000-3ce5dda055c1",
            false,
            false
          ]
        },
        "message": "INTERNAL_ERROR(xenopsd internal error: Call to usb reset failed: Forkhelpers.Spawn_internal_error(\"\", \"\", _))",
        "name": "XapiError",
        "stack": "XapiError: INTERNAL_ERROR(xenopsd internal error: Call to usb reset failed: Forkhelpers.Spawn_internal_error(\"\", \"\", _))
          at Function.wrap (file:///etc/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)
          at file:///etc/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:38:21
          at runNextTicks (node:internal/process/task_queues:60:5)
          at processImmediate (node:internal/timers:447:9)
          at process.callbackTrampoline (node:internal/async_hooks:128:17)"
      }
      
      F 1 Reply Last reply Reply Quote 0
      • F Offline
        FrankAtHome @633kD4d
        last edited by

        @633kD4d
        Same issue here trying to pass through a UPS usb device to a Linux guest.

        VM won't start with VUSB active and the same error about fail to reset.

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