Last active
February 21, 2024 13:49
-
-
Save matiaspl/45941e0718d3f14545c3ebb4c4b2c049 to your computer and use it in GitHub Desktop.
This file contains 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
Endeco's idea: | |
/etc/udev/rules.d/11-usb-hotplug.rules | |
ATTRS(idVendor)=="1edb", ATTRS(idProduct)=="be??", RUN+="/etc/udev/atem.sh" | |
/etc/udev/atem.sh | |
echo "1edb be55" | tee /sys/bus/usb/drivers/uvcvideo/new_id | |
echo "1edb be49" | tee /sys/bus/usb/drivers/uvcvideo/new_id | |
atem mini: be49 | |
atem mini other: be55 | |
My idea: | |
/etc/udev/rules.d/11-usb-hotplug.rules | |
ATTRS(idVendor)=="1edb", ATTRS(idProduct)=="be??", RUN+="echo -n "1edb %ID_MODEL_ID" > /sys/bus/usb/drivers/uvcvideo/new_id " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment