Last active
February 11, 2025 06:21
-
-
Save nielsvaes/c0f16ba9df41a92b30e038dda96782b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "dtoverlay=dwc2,dr_mode=otg" | sudo tee -a /boot/config.txt | |
| sudo apt install -y git meson libcamera-dev libjpeg-dev | |
| git clone https://gitlab.freedesktop.org/camera/uvc-gadget.git | |
| cd uvc-gadget | |
| make uvc-gadget | |
| cd build | |
| sudo meson install | |
| sudo ldconfig | |
| cd ~/ | |
| wget https://gist.githubusercontent.com/nielsvaes/17be5d737f1314a396cc7c9b80f1135f/raw/c0295876cad0588d1c25161d7c10dad9408e715c/rpi-uvc-gadget.sh | |
| chmod +x rpi-uvc-gadget.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment