Sandbox Software Not Starting

Home Forums AR Sandbox Forum Sandbox Software Not Starting

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2359
    Andreas
    Participant

    Hey,

    i’m a student from Germany and my Physics Teacher recently told me about your AR Sandbox and gave me a Kinect Camera he bought, as he had not enough time to build the Sandbox with it.

    So I started building the Sandbox and setting up a computer, installed Linux Mint and the software as shown in your step-by-step installation guide.

    As I tried to start the calibration or kinectviewer software I got following error:

    andreas@mint-pc:~$ sudo /usr/local/bin/KinectUtil getCalib 0
    Downloading factory calibration data for Kinect v2 V2-141333635147…
    terminate called after throwing an instance of ‘std::runtime_error’
    what(): USB::Device::bulkTransfer: Error -1 during bulk transfer on endpoint 2
    Aborted

    andreas@mint-pc:~$ sudo /usr/local/bin/RawKinectViewer -compress 0
    Terminated RawKinectViewer due to exception: USB::Device::bulkTransfer: Error -1 during bulk transfer on endpoint 2

    I didn’t find a solution for it so I wanted to ask here, what I could do to fix that error…

    Another question I had while watching the AR Sandbox Demo Video from AWE is how to build the „Water-Drain-Switch“?

    I would really appreciate a response!

    Andreas

    #2363
    Nicolas Mendoza
    Participant

    Hi andreas, do you have the power adapter for the kinect? i recall having a a similar error before i knew i needed one.
    or it might be the kinect model, seems like support of kinect v2 was experimental i do not know if they work with the current software.

    also i am not sure if you are talking about this but you can see step 16 of the instructions to set flood and drain buttons.

    #2365
    Andreas
    Participant

    Hey Nicolas,

    thanks for your response! I have a power adapter for the Kinect and tested it‘s function on a Windows 10 PC where I can view the RGB and depth outputs.

    My Kinect is a Kinect v2, so could it be due to that?
    Is there any way I could get this working?

    Andreas

    #2368
    Sean Robinson
    Participant

    Welcome to the forum, Andreas.

    The Kinect v2 is supported and works well with the sandbox. Testing on the Win 10 PC was a good idea. Now, we know the hardware is not at fault.

    Is “mint-pc” a virtual machine or is it running directly on the hardware?

    #2369
    Andreas
    Participant

    Hello Sean,

    thank you, for your help!

    Yes “mint-pc” is an actual pc with fairly old hardware but with USB-3.
    It runs a fresh install of Mint 19.3.
    My Kinect is a modified Kinect, I soldered cables for the power supply directly to it’s board following this Tutorial and then used a USB-3 Type B Cable to connect it to the PC.

    I really appreciate your help!

    Andreas

    #2370
    Sean Robinson
    Participant

    The forum software will not let me ask the questions I want to be able to help. Giving a specific command causes my post to fail.

    Can you post the output of a command showing the topography of your USB?

    #2371
    Sean Robinson
    Participant

    l s u s b without spaces, then a space, and a hyphen t

    #2372
    Andreas
    Participant

    OK i’ll try that tomorrow!
    I’ll let you know if I tried!

    • This reply was modified 1 year, 4 months ago by Andreas.
    #2374
    Andreas
    Participant

    I now tried it, here’s the output:

    
    andreas@sandbox-pc:~/src/SARndbox-2.8$ lsusb -t
    /:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
        |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 1: Dev 2, If 1, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
    /:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    /:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
        |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
        |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/3p, 480M
            |__ Port 2: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 2: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    • This reply was modified 1 year, 4 months ago by Andreas.
    #2376
    Andreas
    Participant

    This is a version where I removed unnecessary USB Devices:

    andreas@sandbox-pc:~$ lsusb -t
    /:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
        |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 2: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 2: Dev 3, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 2: Dev 3, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
    /:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    /:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/3p, 12M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
        |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
            |__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 2: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    #2377
    Sean Robinson
    Participant

    I don’t know what’s wrong and the following are just ideas I would explore if I were trying to get it working…

    If I’m interpretting the output correctly, you have an after-market card with two USB 3.0 ports. Can you test this card with the Kinect in the Win 10 PC? Have you tried other USB 3.0 devices with these ports?

    The video you posted recommends a 3A (or more) power supply with the converted Kinect. Are you providing enough power?

    #2378
    Andreas
    Participant

    Hey Sean,

    now it works – but on a different pc. I installed Windows on the PC I used earlier. I tested the USB 3 Ports which are directly on the mainboard. Then I installed the Kinect Software and it showed, that my USB Controller isn’t compatible with the Kinect.

    Kinect Configuration Verifier Error

    So I installed Linux Mint on an old Laptop with USB 3 but – (this is the reason I didn’t use this pc in the first place) much weaker graphics… But it worked!
    Do you think there is any way to get it working on the old pc? Maybe with a USB 3 PCI Card?

    I really appreciate your help!

    I’ll share a photo of my sandbox when it’s finished!

    #2379
    Sean Robinson
    Participant

    Nice! That’s good work on your part.

    Do you think there is any way to get it working on the old pc? Maybe with a USB 3 PCI Card?

    Maybe. To limit the expense, I would look for a used card at a local swap meet. I wouldn’t feel bad spending a pittance on something that didn’t end up working.

    I really appreciate your help!
    I’ll share a photo of my sandbox when it’s finished!

    You’re welcome. And, yes, please do share when you’re ready.

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.