]> err.no Git - systemd/log
systemd
12 years agolibudev: monitor - do not memset() receive buffer
Kay Sievers [Wed, 21 Mar 2012 17:58:51 +0000 (18:58 +0100)]
libudev: monitor - do not memset() receive buffer

12 years agokeymap: Add Samsung 90X3A
Vaidas Jablonskis [Wed, 21 Mar 2012 13:51:39 +0000 (14:51 +0100)]
keymap: Add Samsung 90X3A

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
12 years agorules: sound - add vendor/model strings for firewire devices
Kay Sievers [Wed, 21 Mar 2012 01:09:42 +0000 (02:09 +0100)]
rules: sound - add vendor/model strings for firewire devices

12 years agorelease 182 182
Kay Sievers [Sun, 18 Mar 2012 18:59:41 +0000 (19:59 +0100)]
release 182

12 years agobuild-sys: place build binaries in the root
Kay Sievers [Sun, 18 Mar 2012 16:04:47 +0000 (17:04 +0100)]
build-sys: place build binaries in the root

12 years agorules sort order: /lib, /run, /etc
Kay Sievers [Wed, 14 Mar 2012 13:52:45 +0000 (14:52 +0100)]
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.

12 years agoextras: ata_id - do not log error if HDIO_GET_IDENTITY fails
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

12 years agoextras: path_id - add comment about readdir() rebase logic
Kay Sievers [Tue, 13 Mar 2012 11:55:53 +0000 (12:55 +0100)]
extras: path_id - add comment about readdir() rebase logic

12 years agorules: Enable USB autosuspend on more USB HID devices
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.

12 years agoextras: path_id - skip ATA transport class devices
Kay Sievers [Mon, 12 Mar 2012 17:40:23 +0000 (18:40 +0100)]
extras: path_id - skip ATA transport class devices

12 years agorules: move all rules to top level rules/ dir
Kay Sievers [Wed, 7 Mar 2012 17:01:27 +0000 (18:01 +0100)]
rules: move all rules to top level rules/ dir

12 years agoupdate TODO
Kay Sievers [Wed, 7 Mar 2012 16:55:30 +0000 (17:55 +0100)]
update TODO

12 years agorules: delete s390 rules, they will move to s390utils
Kay Sievers [Wed, 7 Mar 2012 16:54:53 +0000 (17:54 +0100)]
rules: delete s390 rules, they will move to s390utils

12 years agobuild-sys: remove empty directory
Kay Sievers [Wed, 7 Mar 2012 16:22:29 +0000 (17:22 +0100)]
build-sys: remove empty directory

12 years agoremove edd_id extra
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.

12 years agorules: move 42-qemu-usb.rules to rules/ dir
Kay Sievers [Wed, 7 Mar 2012 16:12:15 +0000 (17:12 +0100)]
rules: move 42-qemu-usb.rules to rules/ dir

12 years agorules: delete outdated 30-kernel-compat.rules
Kay Sievers [Wed, 7 Mar 2012 16:10:26 +0000 (17:10 +0100)]
rules: delete outdated 30-kernel-compat.rules

12 years agomove src/extras subdirectories to src/
Kay Sievers [Wed, 7 Mar 2012 15:46:55 +0000 (16:46 +0100)]
move src/extras subdirectories to src/

12 years agoudev.conf - do not set any value by default
Kay Sievers [Wed, 7 Mar 2012 15:38:02 +0000 (16:38 +0100)]
udev.conf - do not set any value by default

12 years agoremove udev-acl
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.

12 years agorules: do not create by-id/scsi-* links for ATA devices
Kay Sievers [Thu, 23 Feb 2012 15:32:42 +0000 (16:32 +0100)]
rules: do not create by-id/scsi-* links for ATA devices

12 years agobuiltin: path_id - remove dead cciss code
Kay Sievers [Thu, 23 Feb 2012 15:22:05 +0000 (16:22 +0100)]
builtin: path_id - remove dead cciss code

12 years agoupdate TOO
Kay Sievers [Mon, 20 Feb 2012 00:08:55 +0000 (01:08 +0100)]
update TOO

12 years agotest: remove outdated key attributes
Kay Sievers [Sun, 19 Feb 2012 23:41:58 +0000 (00:41 +0100)]
test: remove outdated key attributes

12 years agoupdate sd-daemon files
Kay Sievers [Tue, 14 Feb 2012 13:44:34 +0000 (14:44 +0100)]
update sd-daemon files

12 years agobuild-sys: add --disable-manpages
Kay Sievers [Sun, 12 Feb 2012 22:23:12 +0000 (23:23 +0100)]
build-sys: add --disable-manpages

12 years agobuild-sys: unpack test sysfs only for 'make check'
Kay Sievers [Sun, 12 Feb 2012 21:21:08 +0000 (22:21 +0100)]
build-sys: unpack test sysfs only for 'make check'

12 years agorelease 181 181
Kay Sievers [Tue, 7 Feb 2012 00:58:59 +0000 (01:58 +0100)]
release 181

12 years agobuiltin: kmod - depend on libkmod >= 5
Lucas De Marchi [Mon, 6 Feb 2012 23:47:00 +0000 (21:47 -0200)]
builtin: kmod - depend on libkmod >= 5

12 years agokeymap: Add Fujitsu Siemens Amilo Li 2732
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>
12 years agoata_id: fix identify string fixup
Andreas Schwab [Wed, 1 Feb 2012 11:50:48 +0000 (12:50 +0100)]
ata_id: fix identify string fixup

12 years agoata_id: whitespace fixes
Kay Sievers [Wed, 1 Feb 2012 11:45:50 +0000 (12:45 +0100)]
ata_id: whitespace fixes

12 years agokeymap: Fix touchpad toggle button on Lenovo Ideapad
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>
12 years agoextras: cdrom_id - create only /dev/cdrom
Kay Sievers [Mon, 30 Jan 2012 18:03:05 +0000 (19:03 +0100)]
extras: cdrom_id -  create only /dev/cdrom

12 years agoextras: cdrom_id - create /dev/cdrom and conditionally /dev/dvd for sr0
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.

12 years agoconfigure: show ROOTPREFIX in firmware path option help text
Kay Sievers [Mon, 30 Jan 2012 13:53:28 +0000 (14:53 +0100)]
configure: show ROOTPREFIX in firmware path option help text

12 years agorelease 180 180
Kay Sievers [Sun, 29 Jan 2012 04:53:06 +0000 (05:53 +0100)]
release 180

12 years agodo not stop rule processing when device node is no longer around
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.

12 years agobuiltin: blkid - add missing ID_ prefix for PART_ENTRY_* keys
Kay Sievers [Thu, 26 Jan 2012 16:56:18 +0000 (17:56 +0100)]
builtin: blkid - add missing ID_ prefix for PART_ENTRY_* keys

12 years agobuild-sys: we need to install shipped man pages without xsltproc installed
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

12 years agoMakefile: update kernel.org hooks
Kay Sievers [Tue, 24 Jan 2012 23:11:21 +0000 (00:11 +0100)]
Makefile: update kernel.org hooks

12 years agorelease 179 179
Kay Sievers [Tue, 24 Jan 2012 23:01:24 +0000 (00:01 +0100)]
release 179

12 years agofix path to extras
Kay Sievers [Tue, 24 Jan 2012 14:12:46 +0000 (15:12 +0100)]
fix path to extras

12 years agouse sysname() for devices without a device node
Kay Sievers [Tue, 24 Jan 2012 03:29:59 +0000 (04:29 +0100)]
use sysname() for devices without a device node

12 years agobuild-sys: enable everything for 'make distcheck'
Kay Sievers [Tue, 24 Jan 2012 02:20:46 +0000 (03:20 +0100)]
build-sys: enable everything for 'make distcheck'

12 years agoupdate TODO
Kay Sievers [Mon, 23 Jan 2012 15:15:20 +0000 (16:15 +0100)]
update TODO

12 years agomove variable inside condition
Kay Sievers [Mon, 23 Jan 2012 04:21:13 +0000 (05:21 +0100)]
move variable inside condition

12 years agoprint warning when rules try to rename kernel device nodes
Kay Sievers [Mon, 23 Jan 2012 04:00:59 +0000 (05:00 +0100)]
print warning when rules try to rename kernel device nodes

12 years agouse devnode() for $name not sysname(), device nodes might be in a subdirectory
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

12 years agofix some fallout from tab removal
Kay Sievers [Sun, 22 Jan 2012 21:44:13 +0000 (22:44 +0100)]
fix some fallout from tab removal

12 years agorelease 178 178
Kay Sievers [Sat, 21 Jan 2012 05:35:06 +0000 (06:35 +0100)]
release 178

12 years agolibudev: do not set DEVNAME= twice
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.

12 years agowarn about deprecated RUN+="socket:" use
Kay Sievers [Sat, 21 Jan 2012 02:07:32 +0000 (03:07 +0100)]
warn about deprecated RUN+="socket:" use

12 years agorules: rtc - point /dev/rtc symlink to 'hctosys' device
Kay Sievers [Sat, 21 Jan 2012 01:56:32 +0000 (02:56 +0100)]
rules: rtc - point /dev/rtc symlink to 'hctosys' device

12 years agoMakefile: switch from .asc to .sign
Kay Sievers [Wed, 18 Jan 2012 13:47:07 +0000 (14:47 +0100)]
Makefile: switch from .asc to .sign

12 years agokeymap: Add Alienware M14xR1
Martin Pitt [Wed, 18 Jan 2012 11:14:54 +0000 (12:14 +0100)]
keymap: Add Alienware M14xR1

https://launchpad.net/bugs/901513

12 years agokeymap: Fix keyboard brightness keys on Samsung 700Z series
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

12 years agokeymap: Fix eject button on Samsung 700Z series
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

12 years agokeymap: Fix rfkill button on Hewlett-Packard HP ProBook
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

12 years agoudevd: kill hanging event processes after 30 seconds
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.

12 years agobuiltin: blkid - add missing ID_ prefix
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? :)

12 years agoMakefile: update kernel.org doc hooks for kup
Kay Sievers [Thu, 12 Jan 2012 15:30:12 +0000 (16:30 +0100)]
Makefile: update kernel.org doc hooks for kup

12 years agogudev: several minor introspection fixes
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>
12 years agorelease 177 177
Kay Sievers [Thu, 12 Jan 2012 04:31:45 +0000 (05:31 +0100)]
release 177

12 years agorule_generator: use += for dist_udevhome_DATA
Kay Sievers [Thu, 12 Jan 2012 04:28:43 +0000 (05:28 +0100)]
rule_generator: use += for dist_udevhome_DATA

12 years agorule_generator: fix to install rules in rules.d/
Kay Sievers [Thu, 12 Jan 2012 04:10:34 +0000 (05:10 +0100)]
rule_generator: fix to install rules in rules.d/

12 years agoMakefile: update kernel.org sign and upload hook
Kay Sievers [Wed, 11 Jan 2012 23:18:41 +0000 (00:18 +0100)]
Makefile: update kernel.org sign and upload hook

12 years agorelease 176 176
Kay Sievers [Wed, 11 Jan 2012 20:50:29 +0000 (21:50 +0100)]
release 176

12 years agoman: mention that no daemons should be started by udev
Kay Sievers [Wed, 11 Jan 2012 20:49:25 +0000 (21:49 +0100)]
man: mention that no daemons should be started by udev

12 years agofix compiler warning
Kay Sievers [Tue, 10 Jan 2012 18:37:41 +0000 (19:37 +0100)]
fix compiler warning

12 years agocdrom_id: int -> bool
Kay Sievers [Tue, 10 Jan 2012 15:37:41 +0000 (16:37 +0100)]
cdrom_id: int -> bool

12 years agoadd .vimrc
Kay Sievers [Tue, 10 Jan 2012 04:51:47 +0000 (05:51 +0100)]
add .vimrc

12 years agofix debug message
Kay Sievers [Tue, 10 Jan 2012 01:06:36 +0000 (02:06 +0100)]
fix debug message

12 years agoautogen.sh: makedev() misteriously breaks with -O0 here, use -O1 for now
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

12 years agotabs are as useful as a hole in the head
Kay Sievers [Tue, 10 Jan 2012 00:34:15 +0000 (01:34 +0100)]
tabs are as useful as a hole in the head

12 years agoadd test/src to .gitignore
Kay Sievers [Mon, 9 Jan 2012 22:47:00 +0000 (23:47 +0100)]
add test/src to .gitignore

12 years agobuild-sys: try to build without installed xsltproc
Kay Sievers [Mon, 9 Jan 2012 22:44:47 +0000 (23:44 +0100)]
build-sys: try to build without installed xsltproc

12 years agoautogen.sh: add CFLAGS and print entire line, so that mouse copy/paste works
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

12 years agobuiltin: kmod - log if modules are blacklisted
Lucas De Marchi [Tue, 27 Dec 2011 19:45:24 +0000 (17:45 -0200)]
builtin: kmod - log if modules are blacklisted

12 years agodoc: fix out of tree build (copy from libkmod)
Kay Sievers [Mon, 9 Jan 2012 16:38:29 +0000 (17:38 +0100)]
doc: fix out of tree build (copy from libkmod)

12 years agorules: delete arch specific rules
Kay Sievers [Mon, 9 Jan 2012 15:00:00 +0000 (16:00 +0100)]
rules: delete arch specific rules

12 years agoreplace unpacked sysfs test tree 'test/sys/' with packed tarball
Kay Sievers [Fri, 6 Jan 2012 13:34:40 +0000 (14:34 +0100)]
replace unpacked sysfs test tree 'test/sys/' with packed tarball

12 years agomerge udev/, libudev/, systemd/ files in src/; move extras/ to src/
Kay Sievers [Thu, 5 Jan 2012 21:41:45 +0000 (22:41 +0100)]
merge udev/, libudev/, systemd/ files in src/; move extras/ to src/

12 years agoautogen.sh: enable git pre-commit
Kay Sievers [Thu, 5 Jan 2012 18:22:03 +0000 (19:22 +0100)]
autogen.sh: enable git pre-commit

12 years agobuild-sys: use --libexecdir=/usr/lib instead of /usr/lib/udev
Kay Sievers [Thu, 5 Jan 2012 18:13:41 +0000 (19:13 +0100)]
build-sys: use --libexecdir=/usr/lib instead of /usr/lib/udev

12 years agorequire kmod >= 3
Kay Sievers [Thu, 5 Jan 2012 14:23:49 +0000 (15:23 +0100)]
require kmod >= 3

12 years agobuild-sys: use use ${ac_default_prefix}
Kay Sievers [Thu, 5 Jan 2012 03:17:13 +0000 (04:17 +0100)]
build-sys: use use ${ac_default_prefix}

12 years agohwdb: drop useless line freeing
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.

12 years agobuiltin: kmod - hook up kmod_validate_resources()
Kay Sievers [Mon, 2 Jan 2012 11:38:50 +0000 (12:38 +0100)]
builtin: kmod - hook up kmod_validate_resources()

12 years agoremove mknod() logic and rely on 'devtmpfs'
Kay Sievers [Sun, 1 Jan 2012 03:21:15 +0000 (04:21 +0100)]
remove mknod() logic and rely on 'devtmpfs'

12 years agosystemd: rename PassCred= to PsssCredentials=
Kay Sievers [Sun, 1 Jan 2012 03:00:16 +0000 (04:00 +0100)]
systemd: rename PassCred= to PsssCredentials=

12 years agoupdate README
Kay Sievers [Wed, 28 Dec 2011 18:03:43 +0000 (19:03 +0100)]
update README

12 years agoudevd: remove TIMEOUT= handling
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

12 years agobuiltin: kmod - switch to kmod_module_probe_insert_module()
Kay Sievers [Tue, 27 Dec 2011 19:17:39 +0000 (20:17 +0100)]
builtin: kmod - switch to kmod_module_probe_insert_module()

12 years agobuiltin: move usb-db, pci-db to builtins
Kay Sievers [Tue, 27 Dec 2011 16:02:52 +0000 (17:02 +0100)]
builtin: move usb-db, pci-db to builtins

12 years agoudevd: always create runtime dir
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!

12 years agomove rules dirs to udev context; replace inotify with time-controlled stat()
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()

12 years agoupdate NEWS
Kay Sievers [Sun, 25 Dec 2011 19:48:16 +0000 (20:48 +0100)]
update NEWS

12 years agomake: introduce --with-rootprefix=
Kay Sievers [Sun, 25 Dec 2011 19:41:52 +0000 (20:41 +0100)]
make: introduce --with-rootprefix=

12 years agobuiltin: kmod - hook up udev main logging to libkmod
Kay Sievers [Sun, 25 Dec 2011 17:59:42 +0000 (18:59 +0100)]
builtin: kmod - hook up udev main logging to libkmod