summaryrefslogtreecommitdiff
path: root/rules/rules.d/50-udev-default.rules
AgeCommit message (Collapse)Author
2012-03-07rules: move all rules to top level rules/ dirKay Sievers
2012-01-21rules: rtc - point /dev/rtc symlink to 'hctosys' deviceKay Sievers
2012-01-10tabs are as useful as a hole in the headKay Sievers
2011-12-25builtin: firmware - move 'firmware' tool to builtinsKay Sievers
2011-11-07rules: fix typoKay Sievers
2011-11-06rules: restore rule to set cdrom group for optical drivesKay Sievers
On Sun, Nov 6, 2011 at 21:45, William Hubbs <w.d.hubbs@gmail.com> wrote: > someone on gentoo just reported to me that the following rule has been > deleted from udev-174, which is leaving his optical devices in the > standard "disk" group. He does not want to add his users to this group.
2011-09-26rules: fuse: do not mount fusectl from udev rulesKay Sievers
All mounting is done by systemd now. Non-systemd systems need to ship their own rules if they want fusefs be auto-mounted.
2011-08-12rules: remove legacy rules for cdrom and usb printerKay Sievers
2011-08-05implement path_id, usb_id, input_id as built-in commandKay Sievers
2011-08-04rules: move input_id to default rulesKay Sievers
On Tue, Aug 2, 2011 at 10:56, Thomas Bächler <thomas@archlinux.org> wrote: > Commit c49df20758e0f22778cfc93b598f2929f4c86272 prevented udev from > creating broken symlinks for bluetooth hid devices. Unfortunately, > it also removed the ID_INPUT=1 and ID_INPUT_{KEY,MOUSE}=1 properties > from those devices. Xorg relies on these properties for cold- and > hotplugging of input devices.
2011-07-14rules: mount fuse filesystem only 'add'Kay Sievers
2011-07-05rules: fix wrong wildcard match, we always need a ':*' at the endKay Sievers
2011-07-05rules: remove redundant MODE="0664" from lp rulesKay Sievers
2011-05-27rules: apply 'audio' group of the static snd/{seq,timer} nodesKay Sievers
2010-12-10udevd: always create /dev/{char,block}/$major:$minorKay Sievers
2010-11-24rules: drop OSS audio ruleKay Sievers
2010-09-21fix various syntax errors in rulesMartin Pitt
2010-07-12rules: remove firewire rules for deprecated driversKay Sievers
2010-07-12rules: add more FireWire IDs: Point Grey IIDC; AV/C + vendor uniqueStefan Richter
1. IIDC cameras from Point Grey use the vendor OUI as Specifier_ID instead of the 1394 TA's OUI but are otherwise fully compliant to the IIDC spec. Their device files should be accessible like those of any other IIDC cameras. 2. Originally, the Software_Version of devices that implement FCP (IEC 61883-1 Function Control Protocol) was meant to be a bitmap of all command sets that an FCP capable unit supports. Bitmap flags are defined for AV/C, CAL, EHS, HAVi, and vendor unique command sets. Software_Version was revised to be a simple identifier instead, and devices that support several command sets were meant to instantiate one unit directory for each command set. Still, some devices with the flags for AV/C and vendor unique command sets combined were released (but apparently no devices with any other flag combinations). These rare but existing AV/C + vendor unique devices need to be accessible just like plain AV/C devices. Side notes: - Many AV/C devices make use of the Vendor Dependent AV/C command, but this is unrelated to vendor unique FCP command sets. - Here are all standardized FireWire protocol identifiers that I know of, listed as Specifier_ID:Software_Version | specifier | protocol. 0x00005e:0x000001 | IANA | IPv4 over 1394 (RFC 2734) 0x00005e:0x000002 | IANA | IPv6 over 1394 (RFC 3146) 0x00609e:0x010483 | INCITS | SBP-2 (or SCSI command sets over SBP-3) 0x00609e:0x0105bb | INCITS | AV/C over SBP-3 0x00a02d:0x010001 | 1394 TA | AV/C (over FCP) 0x00a02d:0x010002 | 1394 TA | CAL 0x00a02d:0x010004 | 1394 TA | EHS 0x00a02d:0x010008 | 1394 TA | HAVi 0x00a02d:0x014000 | 1394 TA | Vendor Unique 0x00a02d:0x014001 | 1394 TA | Vendor Unique and AV/C (over FCP) 0x00a02d:0x000100 | 1394 TA | IIDC 1.04 0x00a02d:0x000101 | 1394 TA | IIDC 1.20 0x00a02d:0x000102 | 1394 TA | IIDC 1.30 0x00a02d:0x0A6BE2 | 1394 TA | DPP 1.0 0x00a02d:0x4B661F | 1394 TA | IICP 1.0 For now we are only interested in udev rules for AV/C and IIDC. Reported-by: Damien Douxchamps <ddsf@douxchamps.net> (Point Grey IIDC ID) Reported-by: Clemens Ladisch <clemens@ladisch.de> (AV/C + vendor unique ID) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2010-06-17Fix usb printer rule for multiple USB interfacesMartin Pitt
Commit f61e72d89 failed to match for the case where an USB printer has multiple interfaces, such as ID_USB_INTERFACES=:ffffff:070102: Thanks to Pablo Mazzini for spotting this!
2010-05-25rules: mount fuse control filesystemKay Sievers
2010-05-20create static nodes provided by kernel modules to allow module autoloadingKay Sievers
2010-04-13rules: call modprobe on all events but "remove"Kay Sievers
2010-04-12rules: we do not have static devices which are renamedKay Sievers
2010-03-22rules: virtio - fix is to check if the 'name' attribute is presentAmit Shah
Fix provided by Harald Hoyer. Signed-off-by: Amit Shah <amit.shah@redhat.com>
2010-03-04Fix virtio-ports rule to use $attr instead of $ATTRAmit Shah
Newer udev versions don't understand $ATTR. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-01-21rules: Add symlink rule for virtio portsAmit Shah
virtio ports spawned by the virtio_console.c driver can have 'names' assigned to them by hosts. The ports are distinguishable using these names. Make a rule to create a symlink to the chardev associated for a port with a name. The symlink created is: /dev/virtio-ports/org.libvirt.console0 -> /dev/vport0p0 if the first port for the first device was given a name of 'org.libvirt.console0'. Signed-off-by: Amit Shah <amit.shah@redhat.com>
2009-12-15rules: add "block" match to floppy ruleKay Sievers
2009-12-15floppy: fix rule to create additional floppy device nodesKay Sievers
2009-11-19rules: remove support for IDE (hd*) devicesKay Sievers
The kernel IDE drivers get deprecated now: http://article.gmane.org/gmane.linux.ide/43151 Almost everybody has switched over to libata devices long ago. Recent services do not work with the now deprecated IDE drivers at all and require libata drivers and SCSI infrastructure. Systems who care about the old stuff need to add the rules to the compat rules.
2009-11-12rules: set mode of floppy device nodes to 0660Kay Sievers
2009-10-0550-udev-default.rules: fix printer MODEMartin Pitt
Prefix with a 0 to be consistent with other rules. https://launchpad.net/bugs/438114
2009-09-30make raw USB printer devices world-readable againMartin Pitt
Commit f61e72d8 made raw USB printers accessible for the lp group. However, chmoding them to 0660 is a bit over-zealous, since by default raw USB devices are world-readable. Not being so breaks lsusb unnecessarily. Now set permissions to 0664.
2009-09-16rules: drop almost all NAME= keysKay Sievers
The drivers in kernel 2.6.31 supply the names for custom node names if needed.
2009-09-09simplify "symlink name stack"Kay Sievers
With well defined and kernel-supplied node names, we no longer need to support a possible stack of conflicting symlinks and node names. Only symlinks with identical names can be claimed by multiple devices. This shrinks the former /dev/.udev/names/ significantly. Also the /dev/{block,char}/MAJ:MIN" links are excluded from the name stack - they are unique and can not conflict.
2009-09-04make raw USB printer devices accessible for lpMartin Pitt
Starting from version 1.4, cups now uses libusb and printer USB devices instead of the usblp generated /dev/usb/lpX ones. In order to not require the cups USB backend to run as root now, change raw USB printer devices to be root:lp 0660, similar to usblpX devices. This might also enable the hplip backend to not run as root, since this has always used raw device nodes. https://launchpad.net/bugs/420015
2009-08-16rules: rfkill has no group, so use 0644Kay Sievers
Thanks to Marco d'Itri<md@linux.it> for noticing.
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-07-01rules: set group ownership of new firewire driver device filesStefan Richter
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>
2009-06-05rules: make RFKILL control device world readableMarcel Holtmann
2009-05-22rules: add SUBSYSTEM match to scsi rulesKay Sievers
On Fri, May 22, 2009 at 16:15, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote: > I've been looking at what is responsible for all the path lookup activity in > coldplug. On my debian stable system, it looks like every device gets its > parent looked up in sysfs. I think this is due to SUBSYSTEMS matches. > > I see the udev default rules are different, but it looks like they still > test for SUBSYSTEMS on every single device. Should we add SUBSYSTEM="scsi_generic" > to these three rules?
2009-05-05rules: fix ieee1394 rulesKay Sievers
2009-05-04oops, removed ppp entry from rules got committedKay Sievers
2009-05-04handle devtmpfs nodesKay Sievers
UDev follows the kernel given name, and re-uses the kernel created device node. If the kernel and spcecified udev rules disagree, the udev specified node node is created and the kernel-created on is deleted.
2009-05-03rules: remove initramfs commentKay Sievers
2009-04-28rules: add rfcomm* to group dialoutKay Sievers
https://bugs.launchpad.net/bugs/368109
2009-04-24rules: create /dev/cpu/<n>/cpuid world readableAndre Przywara
I don't see any security implications, to be actually useful, /dev/cpu/<n>/cpuid should be world readable. The cpuid instruction can be called from userspace anyway, so there is nothing to hide. The device does not support any write operation, so 0444 should suffice. Signed-off-by: Andre Przywara <andre.przywara@amd.com>
2009-04-16rules: remove DVB shell scriptKay Sievers
2009-03-18rules: fix extra quote in 50-udev-default.rulesKay Sievers
Patch from Gerardo Exequiel Pozzi.
2009-03-05udevd: switch watch symlinks to devpathKay Sievers
Some broken tools get confused following links to /sys, switch to link targets carrying the devpath instead of the syspath, like the queue links.