summaryrefslogtreecommitdiff
path: root/rules
AgeCommit message (Collapse)Author
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-20fix previous commit for CD detectionMartin Pitt
Do not run blkid twice. *brown paperbag*
2009-09-20fix single-session CD detectionMartin Pitt
ID_CDROM_MEDIA_SESSION_LAST_OFFSET is not set for CDs with only a single session (i. e. for the vast majority of CDs out there). The previous rules ran blkid with invalid arguments for these, causing CD detection to fail in DK-disks and gvfs. Now check whether we actually have ID_CDROM_MEDIA_SESSION_LAST_OFFSET, and if not, call blkid without -O for specifying the offset. Many thanks to Maxim Levitsky for tracking this down! https://launchpad.net/bugs/431055
2009-09-19rules: Gentoo updateMatthias Schwarzott
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-16rules: remove remaining NAME="%k"Kay Sievers
2009-09-09sound: recognize saa7134 TV card sound devices as TV cardsLennart Poettering
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-09-01rules: sound - do not use /usr/bin/envMarco d'Itri
The C version of path_id does not look at the environment anymore, so there is no reason to empty it.
2009-08-31rules: suse - use NAME for mapper/controlKay Sievers
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-08-07Merge libudev, udev, and the unconditional extras in a single Makefile.am.Diego Elio 'Flameeyes' Pettenò
Instead of using multiple recursive Makefile.am files, use a single Makefile.am that sets and builds all the basic suite of libraries and binaries for udev. This reduces the number of files in the source tree, and also reduces drastically the build time when using parallel-make. With this setup, all the compile steps will be executed in parallel, and just the linking stage will be (partially) serialised on the libraries creation.
2009-08-06re-enable failed event trackingKay Sievers
It did not work for the last couple of releases. If RUN{record_failed}+="..." is given, a non-zero execution will mark the event as failed. Recorded failed events can be re-triggered with: udevadm trigger --type=failed The failed tracking _might_ be useful for things which might not be ready to be executed at early bootup, but a bit later when the needed dependencies are available. In many cases though, it indicates that something is used in a way it should not.
2009-08-05rules: exclude digitizers from joystick classAnssi Hannula
Exclude digitizers and similar devices from ID_CLASS joystick by checking modalias for BTN_DIGI. This was also done for linux kernel joydev interface in linux commit d07a9cba6be5c0e947afc1014b5a62182a86f1f1.
2009-07-23rules: serial - fix path_id callKay Sievers
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-28rules: make ata_id properties the default for all ATA block devicesKay Sievers
We need to call ata_id as the default for libata sd* devices. We want ID_BUS=ata, and the ATA device proeprties, and be independent of the SCSI emulation with the truncated values. The links in /dev/disk/by-id/{ata-*,scsi-*} are still the same.
2009-06-28ata_id: sync ID_SERIAL(_SHORT) with other *_id toolsKay Sievers
ID_SERIAL is the full serial number used for the links, ID_SERIAL_SHORT is the device serial number.
2009-06-17rules: do not install usb-id/pci-id rules when --disable-extras is usedKay Sievers
2009-06-17rules: Gentoo updateMatthias Schwarzott
2009-06-17rules: remove MMC rule, 2.6.30 has the modaliasKay Sievers
2009-06-17cleanup ./configure installation directory optionsKay Sievers
2009-06-16rules: tty/net - move from udev-extrasDan Williams
2009-06-16rules: sound - move from udev-extraLennart Poettering
2009-06-16v4l_id: move from udev-extrasKay Sievers
2009-06-16rules: Gentoo updateMatthias Schwarzott
2009-06-14rules: Gentoo updateMatthias Schwarzott
2009-06-10rules: remove scsi ch module loading ruleKay Sievers
2009-06-08path_id: delete old shell scriptKay Sievers
Removed with this is SAS disk support which never really worked properly, and legacy IDE disk support, which can be re-implemented if needed.
2009-06-08path_id: add iscsi supportKay Sievers
2009-06-08path_id: handle fibre channelKay Sievers
2009-06-06path_id: implement in C using libudevKay Sievers
2009-06-05rules: make RFKILL control device world readableMarcel Holtmann
2009-06-04rules: do not call path_id for virtual devicesKay Sievers
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-14Revert "rules: v4l do not mix vbi and video nodes"Kay Sievers
This reverts commit 6205f1186e4980544ea425d31770358d1b2579e4.
2009-05-13rules: v4l do not mix vbi and video nodesKay Sievers
2009-05-11delete vol_id and require util-linux-ng's blkidKay Sievers
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-05-01rules: add "event*" matchKay Sievers
2009-04-28rules: add rfcomm* to group dialoutKay Sievers
https://bugs.launchpad.net/bugs/368109
2009-04-27rules: input - fix commentsKay Sievers
2009-04-27rules: input - add links for USB/platform non-kbd/mouse devicesKay Sievers
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>