View file File name : 95-cd-devices.rules Content :######################################################################## # Copyright (C) 2009-2011 Richard Hughes <richard@hughsie.com> # # Licensed under the GNU General Public License Version 2 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # Devices that may have profiles. # # These are properties defining the behavior: # COLORD_DEVICE Can be assinged a profile # COLORD_KIND The kind of device # video cameras SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}!="", ENV{COLORD_DEVICE}="1", ENV{COLORD_KIND}="camera" # Cameras with gphoto drivers SUBSYSTEM=="usb", ENV{ID_GPHOTO2}!="", ENV{COLORD_DEVICE}="1", ENV{COLORD_KIND}="camera"