USB3.0 OTG port in device mode

nagineninagineni Posts: 3New Member
Hi,

Does the UP Squared support USB3.0 OTG port in device mode? Wiki [1] says it supports only on UP , so I am just wondering what's the status on UP Squared.

Thanks

[1] https://up-community.org/wiki/Serial_console#USB3.0_OTG_port_in_device_mode

Comments

  • Nicola LunghiNicola Lunghi Posts: 131Emutex mod
    Hi nagineni

    We and the bios team are currently working on it it should be enabled in next bios/ubilinux release.

    Regards
    Nicola Lunghi
  • nagineninagineni Posts: 3New Member
    Thank you for quick response, Nicola!

    When can we expect the next BIOS release?
  • DCleriDCleri Posts: 501Administrator, Emutex admin
    Hi nagineni,

    We should release the next BIOS in a week or so.
  • nagineninagineni Posts: 3New Member
    Thanks for the update, dcleri!
  • raresh_praresh_p Posts: 6New Member

    Hi, can you please confirm that current version of Up Squared is supporting USB OTG device mode ?
    I'm interested in impersonating USB storage device and/or HID devices in Ubuntu.

    Thank you.

  • Javier ArteagaJavier Arteaga Posts: 163Emutex mod

    Hi raresh_p,

    USB OTG should be supported on UP2 from BIOS V2.1 onwards. See:
    https://wiki.up-community.org/Serial_console#UP_Squared

  • raresh_praresh_p Posts: 6New Member
    edited July 25

    Thank you for your comment, based on this I have ordered an UP Board.
    While in basic tests seemed to work with memtest ISOs (mounting it then having it available as USB Flash on Win 10 laptop) , now I have the "UDC error" :
    udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers

    Is there any description how to specifically debug this and even check if the hardware is working ok?
    Or even how the BIOS setting should look in order to use UP Board as USB Device ?

    PS: Forgot to mention, I have the UP Board version with 2Gb memory and 16GB eMMC disk.

    Thank you.

  • ccaldeccalde Posts: 140New Member, Emutex mod

    Hi @raresh_p ,

    Did you get that error when you connect your UP to your PC via USB OTG port, right?

    To be sure your OTG is working you must check in your PC if the board is available.

    Use dmesg | tail for example.
    You should see something like that:

    [48794.482725] usb 2-2: Manufacturer: Intel
    [48794.482729] usb 2-2: SerialNumber: 012345678
    [48794.484283] cdc_acm 2-2:1.0: ttyACM0: USB ACM device
    [48845.288162] usb 2-2: USB disconnect, device number 33
    [48852.476676] usb 2-2: new high-speed USB device number 34 using xhci_hcd
    [48852.626517] usb 2-2: New USB device found, idVendor=0525, idProduct=a4a7
    [48852.626524] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [48852.626529] usb 2-2: Product: Gadget Serial v2.4
    [48852.626533] usb 2-2: Manufacturer: Linux 4.9.88-ubilinux+ with dwc3-gadget
    [48852.627912] cdc_acm 2-2:2.0: ttyACM0: USB ACM device

Sign In or Register to comment.