Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 3666|Reply: 1

Enable gadget_serial or mouse_hid on Orange Pi OS

[Copy link]

2

Threads

6

Posts

64

Credits

Registered member

Rank: 2

Credits
64
Post time 2018-5-3 10:09:02 | Show all posts |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
Post time 2018-5-3 14:08:10 | Show all posts
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).
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-2-28 03:16 GMT+8 , Processed in 0.024696 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list