Commits

Alex Hixon committed 68142e0

Added UDEV rules to contrib directory.

Thanks to Willem van Engen for this.

Comments (0)

Files changed (1)

contrib/90-r5u87x-loader.rules

+# 90-r5u87x-loader.rules - udev rules for loading firmware into Ricoh R5U87x USB video devices
+
+ACTION!="add", GOTO="r5u87x_rules_end"
+SUBSYSTEM!="usb", GOTO="r5u87x_rules_end"
+
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1803", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1810", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1812", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1830", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1832", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1833", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1834", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1835", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1836", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1837", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1839", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="183a", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="183b", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="183e", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1841", RUN+="/usr/sbin/r5u87x-loader --reload"
+SYSFS{idVendor}=="05ca", SYSFS{idProduct}=="1870", RUN+="/usr/sbin/r5u87x-loader --reload"
+
+LABEL="r5u87x_rules_end"
+# vim: ft=conf