-
Notifications
You must be signed in to change notification settings - Fork 9
Gadget Implementations
GUD Gadget open source implementations.
Source: https://github.com/notro/gud/tree/master/buildroot/external/linux-patches/gud_gadget
Wiki: https://github.com/notro/gud/wiki/Linux-Gadget-Driver
It should be possible to implement GUD in userspace using USB FunctionFS. The problem is that AFAICT this leads to a memcpy when the USB buffer crosses from the kernel into userspace. This will degrade performance, but since I haven't tried it I don't know how severe that is.
Going from userspace into the DRM buffers is no problem since they can be mmap'ed.
Rust implementation (WIP): https://github.com/samcday/gud-gadget/
Source: https://github.com/notro/gud-pico
https://github.com/affbotics/esp32-usb-monitor
It would have been really cool to see old tablets and phones reused as GUD touch displays!