USB OTG host mode, unable to get BOS descriptor

enbytedenbyted New Member Posts: 4

Hi all!

My setup:

  • up2 with N4200 8GB ram
  • Ubuntu server with GUI installed
  • 2x Kinect v2 (USB3.0 device, consumes almost full 5Gbps bandwidth)

I'm working on a project that involves using two Kinect v2 sensors. I found that USB3 lines in N4200 chip share bandwidth, however it appears that OTG is on separate controller which would be perfect.

The Kinect is properly enumerated in OTG port, however when I try to open it (with libusb) it fails.
In dmesg there is only one message: usb 1-1: unable to get BOS descriptor

It should be mentioned that the library that I'm using (libfreenect2) resets the device before actually opening it.

Any idea how can I fix it?

Comments

  • ccaldeccalde Administrator, Moderator, Emutex Posts: 285 admin

    Hi @enbyted ,

    Try to follow the steps for Ubilinux/Ubuntu from UP Wiki:
    https://wiki.up-community.org/Serial_console#USB3.0_OTG_port_in_device_mode

    These steps should let you connect to USB OTG port.

    Cheers!

  • enbytedenbyted New Member Posts: 4

    Hi @ccalde ,

    I need the USB3.0 OTG in host mode, the link that you've provided is about device mode.

  • ccaldeccalde Administrator, Moderator, Emutex Posts: 285 admin

    Hi @enbyted ,

    The link that I provided you says for UPSquared:
    "The functionality should work out of the box from BIOS version 2.1. No bios settings modification are needed."

    So, that looks like you can use it automatically, as the port should normally be able to detect which mode is needed depending on what type of cable and device is plugged in.

  • enbytedenbyted New Member Posts: 4

    Whops, totally missed the "BIOS version 2.1" part, it appears that I have version 1.8 - I'll try the update tomorrow and see how it goes.
    BTW. The forum won't send email notifications about replies :(

  • ccaldeccalde Administrator, Moderator, Emutex Posts: 285 admin

    hi @enbyted ,

    Yes please, a BIOS up to date is important to work normally.

    About the email notifications, check your preferences in your profile: Home › Profile › Notification Preferences

    Cheers!

  • enbytedenbyted New Member Posts: 4

    Sorry for the delay.

    I've updated the BIOS to 3.3 and still have the same issue.

  • ccaldeccalde Administrator, Moderator, Emutex Posts: 285 admin
    edited October 2018

    Hi @enbyted ,

    With the latest BIOS 3.3, did you change to host mode in the BIOS settings (Chipset > South Bridge) and do you still get the same dmesg message??

Sign In or Register to comment.