3 ms·
No, this allows userspace to act as a USB gadget connected to the Linux kernel it's running on.
by Vogtinator 7y ago
No, this allows userspace to act as a USB gadget connected to the Linux kernel it's running on.
- XMPPwocky 7y agoIt sure doesn't seem to. That's why they have a separate subproject for it- https://github.com/xairy/raw-gadget/blob/master/dummy_hcd/README.md https://github.com/xairy/raw-gadget/blob/master/dummy_hcd/RE... But you certainly could know more than me about it! Why do you think it's exclusively for acting as a USB gadget connected to the Linux kernel it's running on?
- Vogtinator 7y agoIt looks like I'm only partially right: dummy_hcd is just for the local kernel, but raw gadget is just yet another interface to the UDC, so like usb functionfs just without sanity checks. I found documentation about this in the submission to mainline: https://lwn.net/ml/linux-usb/461a787e63a9a01d83edc563575b8585bc138e8d.1579007786.git.andreyknvl@google.com/ https://lwn.net/ml/linux-usb/461a787e63a9a01d83edc563575b858...