Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
Q&A USB host: any special kernel option(s) needed to detect Gadget devices?

I have a custom, ARM Cortex A53 based Linux system, based on Buildroot one RaspberryPi CM3 module, connected to the other system via USB The USB gadget is correctly set up on the CM3 module ...

0 answers  ·  posted 3y ago by sktpin‭

Question USB gadget buildroot
#1: Initial revision by user avatar sktpin‭ · 2021-07-27T14:43:05Z (over 3 years ago)
USB host: any special kernel option(s) needed to detect Gadget devices?
I have
* a custom, ARM Cortex A53 based Linux system, based on Buildroot
* one RaspberryPi CM3 module, connected to the other system via USB

The USB gadget is correctly set up on the CM3 module - if I connect it, over an adapter board, to a Raspi4, the Raspi4, as a USB host, discovers the CM3 gadget and I can communicate over the "usb0" network device. between the two.

This currently does not work when the CM3 is connected to the Buildroot-based machine. That one doesn't detect anything.

While I am reading "everywhere" that, for this to work, it does not depend on host side setup, only on the gadget device being properly set up, I am skeptical in this instance, because this trimmed-to-size Buildroot based Linux image is not your run off the mill Linux that will likely fulfill all usual expectations.

So - does somebody know for sure?
Is there anything that might need setting up on the host side with buildroot / kernel options, to make this work?`