chiark / gitweb /
Kay Sievers [Wed, 14 Mar 2012 00:01:16 +0000 (01:01 +0100)]
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
Kay Sievers [Tue, 13 Mar 2012 11:55:53 +0000 (12:55 +0100)]
extras: path_id - add comment about readdir() rebase logic
Matthew Garrett [Mon, 12 Mar 2012 19:45:26 +0000 (15:45 -0400)]
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.
Kay Sievers [Mon, 12 Mar 2012 17:40:23 +0000 (18:40 +0100)]
extras: path_id - skip ATA transport class devices
Kay Sievers [Wed, 7 Mar 2012 17:01:27 +0000 (18:01 +0100)]
rules: move all rules to top level rules/ dir
Kay Sievers [Wed, 7 Mar 2012 16:55:30 +0000 (17:55 +0100)]
update TODO
Kay Sievers [Wed, 7 Mar 2012 16:54:53 +0000 (17:54 +0100)]
rules: delete s390 rules, they will move to s390utils
Kay Sievers [Wed, 7 Mar 2012 16:22:29 +0000 (17:22 +0100)]
build-sys: remove empty directory
Kay Sievers [Wed, 7 Mar 2012 16:15:46 +0000 (17:15 +0100)]
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.
Kay Sievers [Wed, 7 Mar 2012 16:12:15 +0000 (17:12 +0100)]
rules: move 42-qemu-usb.rules to rules/ dir
Kay Sievers [Wed, 7 Mar 2012 16:10:26 +0000 (17:10 +0100)]
rules: delete outdated 30-kernel-compat.rules
Kay Sievers [Wed, 7 Mar 2012 15:46:55 +0000 (16:46 +0100)]
move src/extras subdirectories to src/
Kay Sievers [Wed, 7 Mar 2012 15:38:02 +0000 (16:38 +0100)]
udev.conf - do not set any value by default
Kay Sievers [Wed, 7 Mar 2012 15:34:56 +0000 (16:34 +0100)]
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.
Kay Sievers [Thu, 23 Feb 2012 15:32:42 +0000 (16:32 +0100)]
rules: do not create by-id/scsi-* links for ATA devices
Kay Sievers [Thu, 23 Feb 2012 15:22:05 +0000 (16:22 +0100)]
builtin: path_id - remove dead cciss code
Kay Sievers [Mon, 20 Feb 2012 00:08:55 +0000 (01:08 +0100)]
update TOO
Kay Sievers [Sun, 19 Feb 2012 23:41:58 +0000 (00:41 +0100)]
test: remove outdated key attributes
Kay Sievers [Tue, 14 Feb 2012 13:44:34 +0000 (14:44 +0100)]
update sd-daemon files
Kay Sievers [Sun, 12 Feb 2012 22:23:12 +0000 (23:23 +0100)]
build-sys: add --disable-manpages
Kay Sievers [Sun, 12 Feb 2012 21:21:08 +0000 (22:21 +0100)]
build-sys: unpack test sysfs only for 'make check'
Kay Sievers [Tue, 7 Feb 2012 00:58:59 +0000 (01:58 +0100)]
release 181
Lucas De Marchi [Mon, 6 Feb 2012 23:47:00 +0000 (21:47 -0200)]
builtin: kmod - depend on libkmod >= 5
Bruno Redondi [Mon, 6 Feb 2012 08:00:59 +0000 (09:00 +0100)]
keymap: Add Fujitsu Siemens Amilo Li 2732
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Andreas Schwab [Wed, 1 Feb 2012 11:50:48 +0000 (12:50 +0100)]
ata_id: fix identify string fixup
Kay Sievers [Wed, 1 Feb 2012 11:45:50 +0000 (12:45 +0100)]
ata_id: whitespace fixes
James M. Leddy [Wed, 1 Feb 2012 04:48:58 +0000 (05:48 +0100)]
keymap: Fix touchpad toggle button on Lenovo Ideapad
https://launchpad.net/bugs/922405
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Mon, 30 Jan 2012 18:03:05 +0000 (19:03 +0100)]
extras: cdrom_id - create only /dev/cdrom
Kay Sievers [Mon, 30 Jan 2012 14:08:45 +0000 (15:08 +0100)]
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.
Kay Sievers [Mon, 30 Jan 2012 13:53:28 +0000 (14:53 +0100)]
configure: show ROOTPREFIX in firmware path option help text
Kay Sievers [Sun, 29 Jan 2012 04:53:06 +0000 (05:53 +0100)]
release 180
Kay Sievers [Sun, 29 Jan 2012 04:37:39 +0000 (05:37 +0100)]
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.
Kay Sievers [Thu, 26 Jan 2012 16:56:18 +0000 (17:56 +0100)]
builtin: blkid - add missing ID_ prefix for PART_ENTRY_* keys
Kay Sievers [Wed, 25 Jan 2012 15:54:24 +0000 (16:54 +0100)]
build-sys: we need to install shipped man pages without xsltproc installed
Kay Sievers [Tue, 24 Jan 2012 23:11:21 +0000 (00:11 +0100)]
Makefile: update kernel.org hooks
Kay Sievers [Tue, 24 Jan 2012 23:01:24 +0000 (00:01 +0100)]
release 179
Kay Sievers [Tue, 24 Jan 2012 14:12:46 +0000 (15:12 +0100)]
fix path to extras
Kay Sievers [Tue, 24 Jan 2012 03:29:59 +0000 (04:29 +0100)]
use sysname() for devices without a device node
Kay Sievers [Tue, 24 Jan 2012 02:20:46 +0000 (03:20 +0100)]
build-sys: enable everything for 'make distcheck'
Kay Sievers [Mon, 23 Jan 2012 15:15:20 +0000 (16:15 +0100)]
update TODO
Kay Sievers [Mon, 23 Jan 2012 04:21:13 +0000 (05:21 +0100)]
move variable inside condition
Kay Sievers [Mon, 23 Jan 2012 04:00:59 +0000 (05:00 +0100)]
print warning when rules try to rename kernel device nodes
Kay Sievers [Mon, 23 Jan 2012 03:44:35 +0000 (04:44 +0100)]
use devnode() for $name not sysname(), device nodes might be in a subdirectory
Kay Sievers [Sun, 22 Jan 2012 21:44:13 +0000 (22:44 +0100)]
fix some fallout from tab removal
Kay Sievers [Sat, 21 Jan 2012 05:35:06 +0000 (06:35 +0100)]
release 178
Kay Sievers [Sat, 21 Jan 2012 05:00:17 +0000 (06:00 +0100)]
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.
Kay Sievers [Sat, 21 Jan 2012 02:07:32 +0000 (03:07 +0100)]
warn about deprecated RUN+="socket:" use
Kay Sievers [Sat, 21 Jan 2012 01:56:32 +0000 (02:56 +0100)]
rules: rtc - point /dev/rtc symlink to 'hctosys' device
Kay Sievers [Wed, 18 Jan 2012 13:47:07 +0000 (14:47 +0100)]
Makefile: switch from .asc to .sign
Martin Pitt [Wed, 18 Jan 2012 11:14:54 +0000 (12:14 +0100)]
keymap: Add Alienware M14xR1
https://launchpad.net/bugs/901513
Martin Pitt [Wed, 18 Jan 2012 11:06:58 +0000 (12:06 +0100)]
keymap: Fix keyboard brightness keys on Samsung 700Z series
https://launchpad.net/bugs/902332
Martin Pitt [Wed, 18 Jan 2012 11:05:01 +0000 (12:05 +0100)]
keymap: Fix eject button on Samsung 700Z series
https://launchpad.net/bugs/902798
Martin Pitt [Wed, 18 Jan 2012 10:34:44 +0000 (11:34 +0100)]
keymap: Fix rfkill button on Hewlett-Packard HP ProBook
https://bugs.launchpad.net/bugs/914838
Kay Sievers [Wed, 18 Jan 2012 04:06:18 +0000 (05:06 +0100)]
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.
Kay Sievers [Mon, 16 Jan 2012 14:38:41 +0000 (15:38 +0100)]
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? :)
Kay Sievers [Thu, 12 Jan 2012 15:30:12 +0000 (16:30 +0100)]
Makefile: update kernel.org doc hooks for kup
Evan Nemerson [Thu, 12 Jan 2012 07:42:22 +0000 (23:42 -0800)]
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>
Kay Sievers [Thu, 12 Jan 2012 04:31:45 +0000 (05:31 +0100)]
release 177
Kay Sievers [Thu, 12 Jan 2012 04:28:43 +0000 (05:28 +0100)]
rule_generator: use += for dist_udevhome_DATA
Kay Sievers [Thu, 12 Jan 2012 04:10:34 +0000 (05:10 +0100)]
rule_generator: fix to install rules in rules.d/
Kay Sievers [Wed, 11 Jan 2012 23:18:41 +0000 (00:18 +0100)]
Makefile: update kernel.org sign and upload hook
Kay Sievers [Wed, 11 Jan 2012 20:50:29 +0000 (21:50 +0100)]
release 176
Kay Sievers [Wed, 11 Jan 2012 20:49:25 +0000 (21:49 +0100)]
man: mention that no daemons should be started by udev
Kay Sievers [Tue, 10 Jan 2012 18:37:41 +0000 (19:37 +0100)]
fix compiler warning
Kay Sievers [Tue, 10 Jan 2012 15:37:41 +0000 (16:37 +0100)]
cdrom_id: int -> bool
Kay Sievers [Tue, 10 Jan 2012 04:51:47 +0000 (05:51 +0100)]
add .vimrc
Kay Sievers [Tue, 10 Jan 2012 01:06:36 +0000 (02:06 +0100)]
fix debug message
Kay Sievers [Tue, 10 Jan 2012 01:05:08 +0000 (02:05 +0100)]
autogen.sh: makedev() misteriously breaks with -O0 here, use -O1 for now
-O0
[pid 693] mknod("udev-root/sda",
034101566300) = -1 EINVAL (Invalid argument)
-O1
[pid 8087] mknod("udev-root/sda", S_IFBLK, makedev(8, 0)) = 0
Kay Sievers [Tue, 10 Jan 2012 00:34:15 +0000 (01:34 +0100)]
tabs are as useful as a hole in the head
Kay Sievers [Mon, 9 Jan 2012 22:47:00 +0000 (23:47 +0100)]
add test/src to .gitignore
Kay Sievers [Mon, 9 Jan 2012 22:44:47 +0000 (23:44 +0100)]
build-sys: try to build without installed xsltproc
Kay Sievers [Mon, 9 Jan 2012 22:17:56 +0000 (23:17 +0100)]
autogen.sh: add CFLAGS and print entire line, so that mouse copy/paste works
Lucas De Marchi [Tue, 27 Dec 2011 19:45:24 +0000 (17:45 -0200)]
builtin: kmod - log if modules are blacklisted
Kay Sievers [Mon, 9 Jan 2012 16:38:29 +0000 (17:38 +0100)]
doc: fix out of tree build (copy from libkmod)
Kay Sievers [Mon, 9 Jan 2012 15:00:00 +0000 (16:00 +0100)]
rules: delete arch specific rules
Kay Sievers [Fri, 6 Jan 2012 13:34:40 +0000 (14:34 +0100)]
replace unpacked sysfs test tree 'test/sys/' with packed tarball
Kay Sievers [Thu, 5 Jan 2012 21:41:45 +0000 (22:41 +0100)]
merge udev/, libudev/, systemd/ files in src/; move extras/ to src/
Kay Sievers [Thu, 5 Jan 2012 18:22:03 +0000 (19:22 +0100)]
autogen.sh: enable git pre-commit
Kay Sievers [Thu, 5 Jan 2012 18:13:41 +0000 (19:13 +0100)]
build-sys: use --libexecdir=/usr/lib instead of /usr/lib/udev
Kay Sievers [Thu, 5 Jan 2012 14:23:49 +0000 (15:23 +0100)]
require kmod >= 3
Kay Sievers [Thu, 5 Jan 2012 03:17:13 +0000 (04:17 +0100)]
build-sys: use use ${ac_default_prefix}
Mike Frysinger [Mon, 2 Jan 2012 21:00:57 +0000 (16:00 -0500)]
hwdb: drop useless line freeing
getline() takes care of extending the buffer as needed, so no point in
constantly freeing it before every call.
Kay Sievers [Mon, 2 Jan 2012 11:38:50 +0000 (12:38 +0100)]
builtin: kmod - hook up kmod_validate_resources()
Kay Sievers [Sun, 1 Jan 2012 03:21:15 +0000 (04:21 +0100)]
remove mknod() logic and rely on 'devtmpfs'
Kay Sievers [Sun, 1 Jan 2012 03:00:16 +0000 (04:00 +0100)]
systemd: rename PassCred= to PsssCredentials=
Kay Sievers [Wed, 28 Dec 2011 18:03:43 +0000 (19:03 +0100)]
update README
Kay Sievers [Wed, 28 Dec 2011 00:06:55 +0000 (01:06 +0100)]
udevd: remove TIMEOUT= handling
http://thread.gmane.org/gmane.linux.hotplug.devel/17206/focus=17211
Kay Sievers [Tue, 27 Dec 2011 19:17:39 +0000 (20:17 +0100)]
builtin: kmod - switch to kmod_module_probe_insert_module()
Kay Sievers [Tue, 27 Dec 2011 16:02:52 +0000 (17:02 +0100)]
builtin: move usb-db, pci-db to builtins
Kay Sievers [Tue, 27 Dec 2011 05:14:59 +0000 (06:14 +0100)]
udevd: always create runtime dir
<falconindy> kay: udev no longer makes /run/udev on its own?
<kay> falconindy: added back!
Kay Sievers [Tue, 27 Dec 2011 02:49:43 +0000 (03:49 +0100)]
move rules dirs to udev context; replace inotify with time-controlled stat()
Kay Sievers [Sun, 25 Dec 2011 19:48:16 +0000 (20:48 +0100)]
update NEWS
Kay Sievers [Sun, 25 Dec 2011 19:41:52 +0000 (20:41 +0100)]
make: introduce --with-rootprefix=
Kay Sievers [Sun, 25 Dec 2011 17:59:42 +0000 (18:59 +0100)]
builtin: kmod - hook up udev main logging to libkmod
Kay Sievers [Sun, 25 Dec 2011 17:10:07 +0000 (18:10 +0100)]
builtin: firmware - add missing file
Kay Sievers [Sun, 25 Dec 2011 16:58:30 +0000 (17:58 +0100)]
builtin: firmware - move 'firmware' tool to builtins
Kay Sievers [Sun, 25 Dec 2011 15:52:53 +0000 (16:52 +0100)]
update NEWS
Kay Sievers [Sun, 25 Dec 2011 15:37:15 +0000 (16:37 +0100)]
invalidate rules and kmod index with 'udevadm control --reload'
- rename --reload-rules to --reload
- invalidate rules and databases only, delay parsing to the next event
- enable debug output for test-builtin
Kay Sievers [Sat, 24 Dec 2011 16:58:52 +0000 (17:58 +0100)]
builtin: rename load()/unload() to init()/exit()
Kay Sievers [Sat, 24 Dec 2011 02:51:05 +0000 (03:51 +0100)]
builtin: kmod - reload index when rules are reloaded