View: 7806|Reply: 3

Enable gadget_serial or mouse_hid on Orange Pi OS

[Copy link]

2

threads

6

posts

64

credits

Registered member

Rank: 2

credits
64
Published in 2018-5-3 10:09:02 | Show all floors |Read mode
Edited by eld1e6o at 2018-5-3 11:51

Hello!

There is somebody that knows how to enable the Orange Pi  as a gadget serial on Orange Pi OS?
There is some site on the wiki http://linux-sunxi.org/USB_Gadget/Serial that indicates how to, but with his kernel version.

I tried to enable this from https://github.com/orangepi-xunlong/OrangePiH5_kernel.git but I can only compile the .config by default, when try to change the configurations, I receive a lot of questions about modules (and I have no idea what modules I will need).

Also, when I try to use the linux-sunxi repo, from https://github.com/linux-sunxi/linux-sunxi , I have no idea how to compile it.

I think that it is an imprescindible feature, and in other distros is enabled by default.
Beyond that, I'm interested to compile the Orange Pi OS and emulate a HID device (such as a mouse).

Thanks for all!
Diego

4

threads

96

posts

931

credits

Senior member

Rank: 4

credits
931
Published in 2018-5-3 14:08:10 | Show all floors
Check the whole build environment for OrangePi boards: https://github.com/orangepi-xunlong/OrangePi_Build
I could successful build a new kernel for my One Plus using these scripts and the provided sources. It did not solve my particular problem though, but that is another story.

Anyway. For customization grab the kernel/arch/arm[64]/configs defconfig of your board, but it to .config and use menuconfig to select whatever you need (as modules).

0

threads

1

posts

8

credits

Novice

Rank: 1

credits
8
Published in 2022-5-9 12:19:27 | Show all floors
I am alone in my own thoughts. There is no map and no way to get there. It is unique, just like yours mapquest driving directions
Life is unstoppable. You can do everything you wan
Published in 2024-3-30 17:03:23 | Show all floors
It’s difficult to acquire knowledgeable men and women within this topic, however you seem like guess what happens you are preaching about! Thanks        Đăng nhập KUBET
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list