Messages in this thread | | | From | Kay Sievers <> | Date | Sat, 23 May 2009 02:35:36 +0200 | Subject | Re: [PATCH 2/2] firewire: core: add sysfs attribute for easier udev rules |
| |
On Fri, May 22, 2009 at 23:17, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote: > This adds the attribute /sys/bus/firewire/devices/fw[0-9]+/units. It > can be used in udev rules like the following ones: > > # IIDC devices: industrial cameras and some webcams > SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010?*", GROUP="video" > > # AV/C devices: camcorders, set-top boxes, TV sets, audio devices, ... > SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video"
> Here is an example of a node which implements an IPv4 unit and an IPv6 > unit: $ cat /sys/bus/firewire/devices/fw2/units > 0x00005e:0x000001 0x00005e:0x000002
Looks great. Let me know when you are merging this, so we can put the rules in the udev tree.
Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |