Commit graph

4276 commits

Author SHA1 Message Date
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
Kay Sievers 6102188c93 rules: rtc - point /dev/rtc symlink to 'hctosys' device 2012-01-21 02:56:32 +01:00
Kay Sievers c23d8fb18f Makefile: switch from .asc to .sign 2012-01-18 14:50:12 +01:00
Martin Pitt 46505c52a6 keymap: Add Alienware M14xR1
https://launchpad.net/bugs/901513
2012-01-18 12:14:54 +01:00
Martin Pitt c861d52fd6 keymap: Fix keyboard brightness keys on Samsung 700Z series
https://launchpad.net/bugs/902332
2012-01-18 12:06:58 +01:00
Martin Pitt 1cb6889100 keymap: Fix eject button on Samsung 700Z series
https://launchpad.net/bugs/902798
2012-01-18 12:05:01 +01:00
Martin Pitt 4bebab9998 keymap: Fix rfkill button on Hewlett-Packard HP ProBook
https://bugs.launchpad.net/bugs/914838
2012-01-18 11:34:44 +01:00
Kay Sievers e64fae5573 udevd: kill hanging event processes after 30 seconds
Some broken kernel drivers load firmware synchronously in the module init
path and block modprobe until the firmware request is fulfilled.

The modprobe-generated firmware request is a direct child device of the
device which caused modprobe to run. Child device event are blocked until
the parent device is handled. This dead-locks until the kernel firmware
loading timeout of 60 seconds is reached.

The hanging modprobe event should now time-out and allow the firmware
event to run before the 60 second kernel timeout.
2012-01-18 05:06:18 +01:00
Kay Sievers 1b9e13e2e2 builtin: blkid - add missing ID_ prefix
<ridikulus_rat>  60-persistent-storage.rules gpt by-partlabel/by-partuuid
  symlinks not created in udev-177 util-linux-2.20.1 kmod-3 in Archlinux x86_64.
<falconindy> ridikulus_rat: fix the rule, or fix the blkid builtin ;)
<kay> oh, i missed the ID_ stuff? :)
2012-01-16 15:38:41 +01:00
Kay Sievers 338dc67a00 Makefile: update kernel.org doc hooks for kup 2012-01-12 18:52:21 +01:00
Evan Nemerson a5f834204f gudev: several minor introspection fixes
- Include exported package information
  - Include C include information
  - g_udev_device_get_parent & g_udev_device_get_parent_with_subsystem
    transfer ownership of their return values

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-01-12 09:06:43 +01:00
Kay Sievers 1305ffe045 release 177 2012-01-12 05:31:45 +01:00
Kay Sievers ccf4fd45f6 rule_generator: use += for dist_udevhome_DATA 2012-01-12 05:28:43 +01:00
Kay Sievers 00e35730af rule_generator: fix to install rules in rules.d/ 2012-01-12 05:10:34 +01:00
Kay Sievers afa462dc18 Makefile: update kernel.org sign and upload hook 2012-01-12 00:18:41 +01:00
Kay Sievers d8d2af0635 release 176 2012-01-11 21:50:29 +01:00
Kay Sievers 2b76eb68ac man: mention that no daemons should be started by udev 2012-01-11 21:49:25 +01:00
Kay Sievers bd59d82322 fix compiler warning 2012-01-10 19:37:41 +01:00
Kay Sievers db8f32f6ed cdrom_id: int -> bool 2012-01-10 16:37:41 +01:00
Kay Sievers 04daa3407a add .vimrc 2012-01-10 16:20:40 +01:00
Kay Sievers 22dde8d712 fix debug message 2012-01-10 02:06:36 +01:00