Skip to content

Instantly share code, notes, and snippets.

@matiaspl
Last active February 21, 2024 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matiaspl/45941e0718d3f14545c3ebb4c4b2c049 to your computer and use it in GitHub Desktop.
Save matiaspl/45941e0718d3f14545c3ebb4c4b2c049 to your computer and use it in GitHub Desktop.
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