[go: up one dir, main page]

File: 95-cd-devices.rules

package info (click to toggle)
colord 1.4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,340 kB
  • sloc: ansic: 48,896; xml: 24,173; python: 79; sh: 70; makefile: 47; cpp: 38
file content (21 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (4)
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"