Jump to content

Recommended Posts

Posted

Hi there,

 

I have this device left over from a previous project, and now I want to repurpose it for a forked version of PiKVM that is meant for alternate SBC such as the OrangePi. 

I spent the last 2 days adjusting various build settings and compiling.

After installing, the kvmd service would complain about the UDC driver missing. Also executing ls /sys/class/udc/ would return nothing, seemingly indicating that OTG is not possible.

 

Just last night I came across the file "sun50i-h6-orangepi-3-lts.dts" in which there is a comment containing the following:

/*
     * This board doesn't have a controllable VBUS even though it
     * does have an ID pin. Using it as anything but a USB host is
     * unsafe.
     */

 

My question is if I either use an adaptor that disconnects the +5v ping, or tape over the +5v pin on the USB connector itself, I would be able to set dr_mode to otg and not risk damaging anything on either the pi itself or the server I plan to plug it into?

<
Posted (edited)

sun50i-h6-orangepi-3.dts

 

No otg for this board?

did you find any OTG function for android?
you can set it as OTG and use the otg port as power supply

 

&usb2otg {
    /*
     * This board doesn't have a controllable VBUS even though it
     * does have an ID pin. Using it as anything but a USB host is
     * unsafe.
     */
    dr_mode = "otg";
    status = "okay";
};
 

Edited by Hqnicolas
Posted

That is the config I was looking at, but I wanted to be sure that if I set dr_mode = "otg"; I would not risk damaging anything, as per the comment above it.

 

I'd like to set it to this mode, not for powering the board with a different USB port, but rather for being able to use kbm emulation and/or USB passthrough.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines