summaryrefslogtreecommitdiff
path: root/rules/95-cd-devices.rules
blob: 93cf3a390310e1c526698567444b3bfd4e04a984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
########################################################################
# 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 assigned 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"