Commit Graph
4296 Commits
Author SHA1 Message Date
Kay Sievers a3a304ddc0 release 182 2012-03-18 19:59:41 +01:00
Kay Sievers 183215e7cd build-sys: place build binaries in the root 2012-03-18 17:04:47 +01:00
Kay Sievers 91418155ae rules sort order: /lib, /run, /etc
After long consideration we came to the conclusion that user
configuration in /etc should always override the (generally
computer generated) configuration in /run. User configuration
should always be what matters over anything else. Hence rearrange
the search orders accordingly. In general this should change
very little as overriding like this is seldomn done so far,
and the order between /etc and /usr stays the same.
2012-03-14 18:10:59 +01:00
Kay Sievers 4b50a3d004 extras: ata_id - do not log error if HDIO_GET_IDENTITY fails
<tomegun> kay: is this a valid issue: https://bugs.archlinux.org/task/27060 ?
<kay> tomegun: udev does not really care if that fails
<tomegun> kay: the suggestion there is to treat EINVAL the same way we treat ENOTTY (i.e. as an info only)
<tomegun> if it really does not matter it might make sense to avoid bogus bug reports
<kay> tomegun: done
2012-03-14 01:01:16 +01:00
Kay Sievers 746b5152cc extras: path_id - add comment about readdir() rebase logic 2012-03-13 12:55:53 +01:00
Matthew Garrett 3bfc7a97b1 rules: Enable USB autosuspend on more USB HID devices
Many servers will be connected to KVMs or include iLO support, and this
is often presented as a set of USB input devices. Enabling autosuspend on
these allows the USB hardware to be powered down, avoiding unnecessary
wakeups and power consumption. The input devices will be self powered, so
there's no risk of losing input events as there would be for real input
devices. The same is true of USB input devices that are built into the
system.
2012-03-12 22:40:40 +01:00
Kay Sievers 481dcf7c8f extras: path_id - skip ATA transport class devices 2012-03-12 18:40:23 +01:00
Kay Sievers 8e90942c7a rules: move all rules to top level rules/ dir 2012-03-07 18:01:27 +01:00
Kay Sievers d0066c7416 update TODO 2012-03-07 17:55:30 +01:00
Kay Sievers 64f7fb8b1e rules: delete s390 rules, they will move to s390utils 2012-03-07 17:54:53 +01:00
Kay Sievers 1bb8c5351a build-sys: remove empty directory 2012-03-07 17:22:29 +01:00
Kay Sievers 4774868cca remove edd_id extra
The use of identifying disks by magic byte sequences outside of the
filesystem or partion table is fragile and usually creates more
problems than it solves.
2012-03-07 17:16:21 +01:00
Kay Sievers df4554c333 rules: move 42-qemu-usb.rules to rules/ dir 2012-03-07 17:12:15 +01:00
Kay Sievers 96ca373628 rules: delete outdated 30-kernel-compat.rules 2012-03-07 17:10:26 +01:00
Kay Sievers 6997e3b2dc move src/extras subdirectories to src/ 2012-03-07 17:03:48 +01:00
Kay Sievers 4683a5fa06 udev.conf - do not set any value by default 2012-03-07 16:38:02 +01:00
Kay Sievers b618e9957b remove udev-acl
Udev-acl will be part of a future ConsoleKit release. On systemd systems,
advanced ConsoleKit and udev-acl functionality are natively provided by
systemd.
2012-03-07 16:34:56 +01:00
Kay Sievers f6ba1a468c rules: do not create by-id/scsi-* links for ATA devices 2012-02-23 16:32:42 +01:00
Kay Sievers e000d7c079 builtin: path_id - remove dead cciss code 2012-02-23 16:22:05 +01:00
Kay Sievers 5f2fa5b1c3 update TOO 2012-02-20 01:08:55 +01:00
Kay Sievers 0f52fdee37 test: remove outdated key attributes 2012-02-20 00:41:58 +01:00
Kay Sievers a82034ba58 update sd-daemon files 2012-02-14 14:44:34 +01:00
Kay Sievers 3840d31801 build-sys: add --disable-manpages 2012-02-12 23:23:12 +01:00
Kay Sievers c03fcc27b4 build-sys: unpack test sysfs only for 'make check' 2012-02-12 22:21:08 +01:00
Kay Sievers 3b2e525a56 release 181 2012-02-07 01:58:59 +01:00
Lucas De Marchi 96b2eef25b builtin: kmod - depend on libkmod >= 5 2012-02-07 00:49:59 +01:00
Bruno Redondi 6118dab105 keymap: Add Fujitsu Siemens Amilo Li 2732
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-02-06 09:00:59 +01:00
Andreas Schwab 2b2823b4b5 ata_id: fix identify string fixup 2012-02-01 12:58:27 +01:00
Kay Sievers 09db3f5b66 ata_id: whitespace fixes 2012-02-01 12:58:27 +01:00
James M. Leddy 705b2a87cc keymap: Fix touchpad toggle button on Lenovo Ideapad
https://launchpad.net/bugs/922405

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-02-01 05:49:46 +01:00
Kay Sievers 927f3bc468 extras: cdrom_id - create only /dev/cdrom 2012-01-30 19:03:05 +01:00
Kay Sievers 19b66dc57c extras: cdrom_id - create /dev/cdrom and conditionally /dev/dvd for sr0
Udev does no longer automatically create udev rules in /etc from the
device hotplug path.

No device name reservation will happen anymore; this model creates
too many problems for setups with many device changes or media which
is booted on different hardware.

Enumerated device names which are based on device discovery order or
on persistent on-disk name reservation will in general not be supported
by udev in the future. It is a problem that can not be solved properly,
and it always creates new problems at the same time it tries to solve
the original one. Udev will no longer pretend it can solve these issues,
and people should switch to available alternatives which provide the
far better compromise.

From now on, udev will only create /dev/cdrom for the first optical
drive, and if the drive is capable /dev/dvd. No other devices will
get any compatibility symlinks or enumerated device names like cdrom1,
cdrom2, and so on. The /dev/cdrom and /dev/dvd links have by default
a negative link priority, which will cause them to be overwritten by
any other device which clains the same names with already existing
udev rules.

If stable device names are needed, the /dev/disk/by-id/ links, which
uniquely identify a specific piece of hardware should be used. The links
usually contain a device serial number and the link names will not depend
on device discovery order.

If completely identical devices with identical or no serial number
need to be handled at the same time, the /dev/disk/by-path/ links can
be used. These links depend on the physical port which is used to connect
the device. It will change when the same device is moved to a different
port or host adapter.

If custom names are needed, custom udev rules which match on specific
device properties need to be added by the administrator.
2012-01-30 15:20:12 +01:00
Kay Sievers 46d4274bb0 configure: show ROOTPREFIX in firmware path option help text 2012-01-30 14:53:28 +01:00
Kay Sievers f13289ffdf release 180 2012-01-29 05:53:06 +01:00
Kay Sievers e7f3289033 do not stop rule processing when device node is no longer around
Device nodes might have been deleted again by the kernel before an
'add' or 'change' event is even started. We need to run all rules,
regardless of the state in /dev.
2012-01-29 05:48:45 +01:00
Kay Sievers a3642381eb builtin: blkid - add missing ID_ prefix for PART_ENTRY_* keys 2012-01-26 17:56:18 +01:00
Kay Sievers 6528a3938f build-sys: we need to install shipped man pages without xsltproc installed 2012-01-25 16:54:24 +01:00
Kay Sievers 3163ddd40d Makefile: update kernel.org hooks 2012-01-25 00:11:21 +01:00
Kay Sievers 9c15822291 release 179 2012-01-25 00:01:24 +01:00
Kay Sievers 9c4eda1260 fix path to extras 2012-01-24 15:12:46 +01:00
Kay Sievers e605cf7782 use sysname() for devices without a device node 2012-01-24 04:29:59 +01:00
Kay Sievers e483478115 build-sys: enable everything for 'make distcheck' 2012-01-24 03:20:46 +01:00
Kay Sievers 385ff54383 update TODO 2012-01-23 16:15:20 +01:00
Kay Sievers a7ef118174 move variable inside condition 2012-01-23 05:21:13 +01:00
Kay Sievers 0ecfcbd4f7 print warning when rules try to rename kernel device nodes 2012-01-23 05:15:12 +01:00
Kay Sievers b0a0080677 use devnode() for $name not sysname(), device nodes might be in a subdirectory 2012-01-23 04:44:35 +01:00
Kay Sievers a1525d1720 fix some fallout from tab removal 2012-01-22 22:44:13 +01:00
Kay Sievers 579734fca5 release 178 2012-01-21 06:35:06 +01:00
Kay Sievers d2b795f2b9 libudev: do not set DEVNAME= twice
When we read the 'uevent' file we need to make sure, that we do not
read the relative DEVNAME= path provided by the kernel and overwrite
the absolute path udev expects here.
2012-01-21 06:18:32 +01:00
Kay Sievers 430959910f warn about deprecated RUN+="socket:" use 2012-01-21 03:07:32 +01:00