summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-05-21 14:10:30 +0100
committerRichard Hughes <richard@hughsie.com>2011-05-21 14:10:30 +0100
commitdc37777f20f53630ff3abdd880795cd882cda60e (patch)
treefac905b4e596eed20db0500fa07a113c0c7b5cf8 /rules
parent51ae9f7cbfedfce9085f0e2ec4f5406863b17358 (diff)
downloadcolord-dc37777f20f53630ff3abdd880795cd882cda60e.tar.gz
Ensure GPhoto2 devices get added to the device list
This must have got lost in the GCM -> colord rules move.
Diffstat (limited to 'rules')
-rw-r--r--rules/95-cd-devices.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/95-cd-devices.rules b/rules/95-cd-devices.rules
index e7e6b5e..8e7b77e 100644
--- a/rules/95-cd-devices.rules
+++ b/rules/95-cd-devices.rules
@@ -16,3 +16,6 @@
# 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"