]> err.no Git - systemd/commit
rules: set group ownership of new firewire driver device files
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 1 Jul 2009 19:41:43 +0000 (21:41 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 1 Jul 2009 21:43:17 +0000 (23:43 +0200)
commitf0fb82d821a9b1c078d98fb283f20ee359d756ab
treea9ab063df00e7466990f2155829e95c272930a97
parentf045aa1cabab0ea0c3c3a6ee45cc9013a36c35b1
rules: set group ownership of new firewire driver device files

The newer firewire-core driver exposes per-device character device files,
called /dev/fw[0-9]*, in contrast to the older raw1394, video1394, dv1394
drivers which created one global file or per-controller files.

This allows to set ownership, permissions, or/ and access control lists
for each device file based on device type markers obtained from sysfs.
The "units" attribute which is used for this purpose has become available
in Linux 2.6.31(-rc1) by commit 0210b66dd88a2a1e451901b00378a2068b6ccb35.

The added rules match identifiers of

  - IIDC devices:
    industrial cameras and some webcams,

  - AV/C devices:
    camcorders, set-top boxes, TV sets, audio devices, and similar
    devices.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
rules/rules.d/50-udev-default.rules