1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

4267 Commits

Author SHA1 Message Date
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
Kay Sievers
dc401e0189 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
2012-01-10 02:05:08 +01:00
Kay Sievers
912541b024 tabs are as useful as a hole in the head 2012-01-10 01:34:15 +01:00
Kay Sievers
ebda27438b add test/src to .gitignore 2012-01-09 23:47:00 +01:00
Kay Sievers
9e4e44e578 build-sys: try to build without installed xsltproc 2012-01-09 23:44:47 +01:00
Kay Sievers
c59d1e45bd autogen.sh: add CFLAGS and print entire line, so that mouse copy/paste works 2012-01-09 23:17:56 +01:00
Lucas De Marchi
6a6b254354 builtin: kmod - log if modules are blacklisted 2012-01-09 20:40:29 +01:00
Kay Sievers
1111415a75 doc: fix out of tree build (copy from libkmod) 2012-01-09 17:38:29 +01:00
Kay Sievers
32740a39b5 rules: delete arch specific rules 2012-01-09 17:27:11 +01:00
Kay Sievers
d914e44509 replace unpacked sysfs test tree 'test/sys/' with packed tarball 2012-01-06 16:13:13 +01:00