Debian Codegraph @

rules/95-cd-devices.rules

raw
1 ########################################################################
2 # Copyright (C) 2009-2011 Richard Hughes <[email protected]>
3 #
4 # Licensed under the GNU General Public License Version 2
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # Devices that may have profiles.
12 #
13 # These are properties defining the behavior:
14 # COLORD_DEVICE Can be assigned a profile
15 # COLORD_KIND The kind of device
16
17 # video cameras
18 SUBSYSTEM=="video4linux", ENV{ID_V4L_PRODUCT}!="", ENV{COLORD_DEVICE}="1", ENV{COLORD_KIND}="camera"
19
20 # Cameras with gphoto drivers
21 SUBSYSTEM=="usb", ENV{ID_GPHOTO2}!="", ENV{COLORD_DEVICE}="1", ENV{COLORD_KIND}="camera"