chiark / gitweb /
keymap: Add Logitech Wave USB
[elogind.git] / NEWS
1 udev 147
2 ========
3 Bugfixes.
4
5 To support DEVPATH strings larger than the maximum file name length, the
6 private udev database format has changed. If some software still reads the
7 private files in /dev/.udev/, which it shouldn't, now it's time to fix it.
8 Please do not port anything to the new format again, everything in /dev/.udev
9 is and always was private to udev, and may and will change any time without
10 prior notice.
11
12 Multiple devices claiming the same names in /dev are limited to symlinks
13 only now. Mixing identical symlink names and node names is not supported.
14 This reduces the amount of data in the database significantly.
15
16 NAME="%k" causes a warning now. It's is and always was completely superfluous.
17 It will break kernel supplied DEVNAMEs and therefore it needs to be removed
18 from all rules.
19
20 Most NAME= instructions got removed. Kernel 2.6.31 supplies the needed names
21 if they are not the default. To support older kernels, the NAME= rules need to
22 be added to the compat rules file.
23
24 Symlinks to udevadm with the old command names are no longer resolved to
25 the udevadm commands.
26
27 The udev-acl tool got adopted to changes in ConsoleKit. Version 0.4.11 is
28 required now.
29
30 udev 146
31 ========
32 Bugfixes.
33
34 The udevadm trigger "--retry-failed" option, which is replaced since quite
35 a while by "--type=failed" is removed.
36
37 The failed tracking was not working at all for a few releases. The RUN
38 option "ignore_error" is replaced by a "fail_event_on_error" option, and the
39 default is not to track any failing RUN executions.
40
41 New keymaps, new modem, hid2hci updated.
42
43 udev 145
44 ========
45 Fix possible crash in udevd when worker processes are busy, rules are
46 changed at the same time, and workers get killed to reload the rules.
47
48 udev 144
49 ========
50 Bugfixes.
51
52 Properties set with ENV{.FOO}="bar" are marked private by starting the
53 name with a '.'. They will not be stored in the database, and not be
54 exported with the event.
55
56 Firmware files are looked up in:
57   /lib/firmware/updates/$(uname -r)
58   /lib/firmware/updates
59   /lib/firmware/$(uname -r)
60   /lib/firmware"
61 now.
62
63 ATA devices switched the property from ID_BUS=scsi to ID_BUS=ata.
64 ata_id, instead of scsi_id, is the default tool now for ATA devices.
65
66 udev 143
67 ========
68 Bugfixes.
69
70 The configure options have changed because another library needs to be
71 installed in a different location. Instead of exec_prefix and udev_prefix,
72 libdir, rootlibdir and libexecdir are used. The Details are explained in
73 the README file.
74
75 Event processes now get re-used after they handled an event. This reduces
76 the number of forks and the pressure on the CPU significantly, because
77 cloned event processes no longer cause page faults in the main daemon.
78 After the events have settled, a few worker processes stay around for
79 future events, all others get cleaned up.
80
81 To be able to use signalfd(), udev depends on kernel version 2.6.25 now.
82 Also inotify support is mandatory now to run udev.
83
84 The format of the queue exported by the udev damon has changed. There is
85 no longer a /dev/.udev/queue/ directory. The current event queue can be
86 accessed with udevadm settle and libudedv.
87
88 Libudev does not have the unstable API header anymore. From now on,
89 incompatible changes will be handled by bumping the library major version.
90
91 To build udev from the git tree gtk-doc is needed now. The tarballs will
92 build without it and contain the pre-built documentation. An online copy
93 is available here:
94   http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/
95
96 The tools from the udev-extras repository have been merged into the main
97 udev repository. Some of the extras have larger external dependencies, and
98 they can be disabled with the configure switch --disable-extras.
99
100 udev 142
101 ========
102 Bugfixes.
103
104 The program vol_id and the library libvolume_id are removed from the
105 repository. Libvolume_id is merged with libblkid from the util-linux-ng
106 package. Persistent disk links for label and uuid depend on the
107 util-linux-ng version (2.15) of blkid now. Older versions of blkid
108 can not be used with udev.
109
110 Libudev allows to subscribe to udev events. To prevent unwanted messages
111 to be delivered, and waking up the subscribing process, a filter can be
112 installed, to drop messages inside a kernel socket filter. The filters
113 match on the <subsytem>:<devtype> properties of the device.
114     This is part of the ongoing effort to replace HAL, and switch current
115 users over to directly use libudev.
116     Libudev is still marked as experimental, and its interface might
117 eventually change if needed, but no major changes of the currently exported
118 interface are expected anymore, and a first stable release should happen
119 soon.
120
121 A too old kernel (2.6.21) or a kernel with CONFIG_SYSFS_DEPRECATED
122 is not supported since while and udevd will log an error message at
123 startup. It should still be able to boot-up, but advanced rules and system
124 services which depend on the information not available in the old sysfs
125 format will fail to work correctly.
126
127 DVB device naming is supplied by the kernel now. In case older kernels
128 need to be supported, the old shell script should be added to a compat
129 rules file.
130
131 udev 141
132 ========
133 Bugfixes.
134
135 The processed udev events get send back to the netlink socket. Libudev
136 provides access to these events. This is work-in-progress, to replace
137 the DeviceKit daemon functionality directly with libudev. There are
138 upcoming kernel changes to allow non-root users to subcribe to these
139 events.
140
141 udev 140
142 ========
143 Bugfixes.
144
145 "udevadm settle" now optionally accepts a range of events to wait for,
146 instead of waiting for "all" events.
147
148 udev 139
149 ========
150 Bugfixes.
151
152 The installed watch for block device metadata changes is now removed
153 during event hadling, because some (broken) tools may be called from udev
154 rules and (wrongly) open the device with write access. After the finished
155 event handling the watch is restored.
156
157 udev 138
158 ========
159 Bugfixes.
160
161 Device nodes can be watched for changes with inotify with OPTIONS="watch".
162 If closed after being opened for writing, a "change" uevent will occur.
163 /dev/disk/by-{label,uuid}/* symlinks will be automatically updated.
164
165 udev 137
166 ========
167 Bugfixes.
168
169 The udevadm test command has no longer a --force option, nodes and symlinks
170 are always updated with a test run now.
171
172 The udevd daemon can be started with --resolve-names=never to avoid all user
173 and group lookups (e.g. in cut-down systems) or --resolve-names=late to
174 lookup user and groups every time events are handled.
175
176 udev 136
177 ========
178 Bugfixes.
179
180 We are currently merging the Ubuntu rules in the udev default rules,
181 and get one step closer to provide a common Linux /dev setup, regarding
182 device names, symlinks, and default device permissions. On udev startup,
183 we now expect the following groups to be resolvable to their ids with
184 glibc's getgrnam():
185   disk, cdrom, floppy, tape, audio, video, lp, tty, dialout, kmem.
186 LDAP setups need to make sure, that these groups are always resolvable at
187 bootup, with only the rootfs mounted, and without network access available.
188
189 Some systems may need to add some new, currently not used groups, or need
190 to add some users to new groups, but the cost of this change is minimal,
191 compared to the pain the current, rather random, differences between the
192 various distributions cause for upstream projects and third-party vendors.
193
194 In general, "normal" users who log into a machine should never be a member
195 of any such group, but the device-access should be managed by dynamic ACLs,
196 which get added and removed for the specific users on login/logout and
197 session activity/inactivity. These groups are only provided for custom setups,
198 and mainly system services, to allow proper privilege separation.
199 A video-streaming daemon uid would be a member of "audio" and "video", to get
200 access to the sound and video devices, but no "normal" user should ever belong
201 to the "audio" group, because he could listen to the built-in microphone with
202 any ssh-session established from the other side of the world.
203
204 /dev/serial/by-{id,path}/ now contains links for ttyUSB devices,
205 which do not depend on the kernel device name. As usual, unique
206 devices - only a single one per product connected, or a real
207 USB serial number in the device - are always found with the same
208 name in the by-id/ directory.
209 Completely identical devices may overwrite their names in by-id/
210 and can only be found reliably in the by-path/ directory. Devices
211 specified by by-path/ must not change their connection, like the
212 USB port number they are plugged in, to keep their name.
213
214 To support some advanced features, Linux 2.6.22 is the oldest supported
215 version now. The kernel config with enabled SYSFS_DEPRECATED is no longer
216 supported. Older kernels should still work, and devices nodes should be
217 reliably created, but some rules and libudev will not work correctly because
218 the old kernels do not provide the expected information or interfaces.
219
220 udev 135
221 ========
222 Bugfixes.
223
224 Fix for a possible segfault while swapping network interface names in udev
225 versions 131-134.
226
227 udev 134
228 ========
229 Bugfixes.
230
231 The group "video" is part of the default rules now.
232
233 udev 133
234 ========
235 Bugfix for kernels using SYSFS_DEPRECATED* option and finding parent
236 block devices in some cases. No common distro uses this option anymore,
237 and we do not get enough testing for this and recent udev versions. If
238 this option is not needed to run some old distro with a new kernel,
239 it should be disabled in the kernel config.
240
241 Bugfix for the $links substitution variable, which may crash if no links
242 are created. This should not happen in usual setups because we always
243 create /dev/{block,char}/ links.
244
245 The strings of the parsed rules, which are kept in memory, no longer
246 contain duplicate entries, or duplicate tails of strings. This, and the
247 new rules parsing/matching code reduces the total in-memory size of
248 a huge distro rule sets to 0.08 MB, compared to the 1.2MB of udev
249 version 130.
250
251 The export of DEVTYPE=disk/partition got removed from the default
252 rules. This value is available from the kernel. The pnp shell script
253 modprobe hack is removed from the default rules. ACPI devices have _proper_
254 modalias support and take care of the same functionality.
255 Installations which support old kernels, but install current default
256 udev rules may want to add that to the compat rules file.
257
258 Libvolume_id now always probes for all known filesystems, and does not
259 stop at the first match. Some filesystems are marked as "exclusive probe",
260 and if any other filesytem type matches at the same time, libvolume_id
261 will, by default, not return any probing result. This is intended to prevent
262 mis-detection with conflicting left-over signatures found from earlier
263 file system formats. That way, we no longer depend on the probe-order
264 in case of multiple competing signatures. In some setups the kernel allows
265 to mount a volume with just the old filesystem signature still in place.
266 This may damage the new filesystem and cause data-loss, just by mounting
267 it. Because volume_id can not decide which one the correct signature is,
268 the wrong signatures need to be removed manually from the volume, or the
269 volume needs to be reformatted, to enable filesystem detection and possible
270 auto-mounting.
271
272 udev 132
273 ========
274 Fix segfault if compiled without optimization and dbg() does not get
275 compiled out and uses variables which are not available.
276
277 udev 131
278 ========
279 Bugfixes. (And maybe new bugs. :))
280
281 The rule matching engine got converted from a rule list to a token
282 array which reduced the in-memory rules representation of a full
283 featured distros with thousends of udev rules from 1.2MB to 0.12 MB.
284 Limits like 5 ENV and ATTR matches, and one single instance for most
285 other keys per rule are gone.
286
287 The NAME assignment is no longer special cased. If later rules assign
288 a NAME value again, the former value will be overwritten. As usual
289 for most other keys, the NAME value can be protected by doing a final
290 assignment with NAME:="<value>".
291
292 All udev code now uses libudev, which is also exported. The library
293 is still under development, marked as experimental, and its interface
294 may change as long as the DeviceKit integration is not finished.
295
296 Many thanks to Alan Jenkins for his continuous help, and finding and
297 optimizing some of the computing expensive parts.
298
299 udev 130
300 ========
301 Bugfixes.
302
303 Kernel devices and device nodes are connected now by reverse indizes in
304 /sys and /dev. A device number retrieved by a stat() or similar, the
305 kernel device directory can be found by looking up:
306   /sys/dev/{block,char}/<maj>:<min>
307 and the device node of the same device by looking up:
308   /dev/{block,char}/<maj>:<min>
309
310 udev 129
311 ========
312 Fix recently introduced bug, which caused a compilation without large
313 file support, where vol_id does not recognize raid signatures at the end
314 of a volume.
315
316 Firewire disks now create both, by-id/scsi-* and by-id/ieee-* links.
317 Seems some kernel versions prevent the creation of the ieee-* links,
318 so people used the scsi-* link which disappeared now.
319
320 More libudev work. Almost all udevadm functionality comes from libudev
321 now.
322
323 udevadm trigger has a new option --type, which allows to trigger events
324 for "devices", for "subsystems", or "failed" devices. The old option
325 --retry-failed" still works, but is no longer mentioned in the man page.
326
327 udev 128
328 ========
329 Bugfixes.
330
331 The udevadm info --device-id-of-file= output has changed to use
332 the obvious format. Possible current users should use the --export
333 option which is not affected.
334
335 The old udev commands symlinks to udevadm are not installed, if
336 these symlinks are used, a warning is printed.
337
338 udev 127
339 ========
340 Bugfixes.
341
342 Optical drive's media is no longer probed for raid signatures,
343 reading the end of the device causes some devices to malfunction.
344 Also the offset of the last session found is used now to probe
345 for the filesystem.
346
347 The volume_id library got a major version number update to 1,
348 some deprecated functions are removed.
349
350 A shared library "libudev" gets installed now to provide access
351 to udev device information. DeviceKit, the successor of HAL, will
352 need this library to access the udev database and search sysfs for
353 devices.
354 The library is currently in an experimental state, also the API is
355 expected to change, as long as the DeviceKit integration is not
356 finished.
357
358 udev 126
359 ========
360 We use ./configure now. See INSTALL for details. Current
361 options are:
362     --prefix=
363         "/usr" - prefix for man pages, include files
364     --exec-prefix=
365         "" - the root filesystem, prefix for libs and binaries
366     --sysconfdir=
367         "/etc"
368     --with-libdir-name=
369         "lib" - directory name for libraries, not a path name
370         multilib 64bit systems may use "lib64" instead of "lib"
371     --enable-debug
372         compile-in verbose debug messages
373     --disable-logging
374         disable all logging and compile-out all log strings
375     --with-selinux
376         link against SELInux libraries, to set the expected context
377         for created files
378
379 In the default rules, the group "disk" gets permissions 0660 instead
380 of 0640. One small step closer to unify distro rules. Some day, all
381 distros hopefully end up with the same set of rules.
382
383 No symlinks to udevadm are installed anymore, if they are still needed,
384 they should be provided by the package.
385
386 udev 125
387 ========
388 Bugfixes.
389
390 Default udev rules, which are not supposed to be edited by the user, should
391 be placed in /lib/udev/rules.d/ now, to make it clear that they are private to
392 the udev package and will be replaced with an update. Udev will pick up rule
393 files from:
394   /lib/udev/rules.d/  - default installed rules
395   /etc/udev/rules.d/  - user rules + on-the-fly generated rules
396   /dev/.udev/rules.d/ - temporary non-persistent rules created after bootup
397 It does not matter in which directory a rule file lives, all files are sorted
398 in lexical order.
399
400 To help creating /dev/root, we have now:
401   $ udevadm info --export --export-prefix="ROOT_" --device-id-of-file=/
402   ROOT_MAJOR=8
403   ROOT_MINOR=5
404 In case the current --device-id-of-file is already used, please switch to
405 the --export format version, it saves the output parsing and the old
406 format will be changed to use ':' as a separator, like the format in the
407 sysfs 'dev' file.
408
409 udev 124
410 ========
411 Fix cdrom_id to properly recognize blank media.
412
413 udev 123
414 ========
415 Bugfixes.
416
417 Tape drive id-data is queried from /dev/bsg/* instead of the tape
418 nodes. This avoids rewinding tapes on open().
419
420 udev 122
421 ========
422 Bugfixes.
423
424 The symlinks udevcontrol and udevtrigger are no longer installed by
425 the Makefile.
426
427 The scsi_id program does not depend on sysfs anymore. It can speak
428 SGv4 now, so /dev/bsg/* device nodes can be used, to query SCSI device
429 data, which should solve some old problems with tape devices, where
430 we better do not open all tape device nodes to identify the device.
431
432 udev 121
433 ========
434 Many bugfixes.
435
436 The cdrom_id program is replaced by an advanced version, which can
437 detect most common device types, and also properties of the inserted
438 media. This is part of moving some basic functionality from HAL into
439 udev (and the kernel).
440
441 udev 120
442 ========
443 Bugfixes.
444
445 The last WAIT_FOR_SYSFS rule is removed from the default rules.
446
447 The symlinks to udevadm for the debugging tools: udevmonitor and
448 udevtest are no longer created.
449
450 The symlinks to the udevadm man page for the old tool names are
451 no longer created.
452
453 Abstract namespace sockets paths in RUN+="socket:@<path>" rules,
454 should be prefixed with '@' to indicate that the path is not a
455 real file.
456
457 udev 119
458 ========
459 Bugfixes.
460
461 udev 118
462 ========
463 Bugfixes.
464
465 Udevstart is removed from the tree, it did not get installed for
466 a long time now, and is long replaced by trigger and settle.
467
468 udev 117
469 ========
470 Bugfixes.
471
472 All udev tools are merged into a single binary called udevadm.
473 The old names of the tools are built-in commands in udevadm now.
474 Symlinks to udevadm, with the names of the old tools, provide
475 the same functionality as the standalone tools. There is also
476 only a single udevadm.8 man page left for all tools.
477
478 Tools like mkinitramfs should be checked, if they need to include
479 udevadm in the list of files.
480
481 udev 116
482 ========
483 Bugfixes.
484
485 udev 115
486 ========
487 Bugfixes.
488
489 The etc/udev/rules.d/ directory now contains a default set of basic
490 udev rules. This initial version is the result of a rules file merge
491 of Fedora and openSUSE. For these both distros only a few specific
492 rules are left in their own file, named after the distro. Rules which
493 are optionally installed, because they are only valid for a specific
494 architecture, or rules for subsystems which are not always used are
495 in etc/udev/packages/.
496
497 udev 114
498 ========
499 Bugfixes.
500
501 Dynamic rules can be created in /dev/.udev/rules.d/ to trigger
502 actions by dynamically created rules.
503
504 SYMLINK=="<value>" matches agains the entries in the list of
505 currently defined symlinks. The links are not created in the
506 filesystem at that point in time, but the values can be matched.
507
508 RUN{ignore_error}+="<program>" will ignore any exit code from the
509 program and not record as a failed event.
510
511 udev 113
512 ========
513 Bugfixes.
514
515 Final merge of patches/features from the Ubuntu package.
516
517 udev 112
518 ========
519 Bugfixes.
520
521 Control characters in filesystem label strings are no longer silenty
522 removed, but hex-encoded, to be able to uniquely identify the device
523 by its symlink in /dev/disk/by-label/.
524 If libvolume_id is used by mount(8), LABEL= will work as expected,
525 if slashes or other characters are used in the label string.
526
527 To test the existence of a file, TEST=="<file>" and TEST!="<file>"
528 can be specified now. The TEST key accepts an optional mode mask
529 TEST{0100}=="<is executable file>".
530
531 Scsi_id now supports a mode without expecting scsi-specific sysfs
532 entries to allow the extraction of cciss-device persistent properties.
533
534 udev 111
535 ========
536 Bugfixes.
537
538 In the future, we may see uuid's which are just simple character
539 strings (see the DDF Raid Specification). For that reason vol_id now
540 exports ID_FS_UUID_SAFE, just like ID_FS_LABEL_SAFE. For things like
541 the creation of symlinks, the *_SAFE values ensure, that no control
542 or whitespace characters are used in the filename.
543
544 Possible users of libvolume_id, please use the volume_id_get_* functions.
545 The public struct will go away in a future release of the library.
546
547 udev 110
548 ========
549 Bugfixes.
550
551 Removal of useless extras/eventrecorder.sh.
552
553 udev 109
554 ========
555 Bugfixes.
556
557 udev 108
558 ========
559 Bugfixes.
560
561 The directory multiplexer for dev.d/ and hotplug.d are finally removed
562 from the udev package.
563
564 udev 107
565 ========
566 Bugfixes.
567
568 Symlinks can have priorities now, the priority is assigned to the device
569 and specified with OPTIONS="link_priority=100". Devices with higher
570 priorities overwrite the symlinks of devices with lower priorities.
571 If the device that currently owns the link, goes away, the symlink
572 will be removed, and recreated, pointing to the next device with the
573 highest actual priority. This should make /dev/disk/by-{label,uuid,id}
574 more reliable, if multiple devices contain the same metadata and overwrite
575 these symlinks.
576
577 The dasd_id program is removed from the udev tree, and dasdinfo, with the
578 needed rules, are part of the s390-tools now.
579
580 Please add KERNEL=="[0-9]*:[0-9]*" to the scsi wait-for-sysfs rule,
581 we may get the scsi sysfs mess fixed some day, and this will only catch
582 the devices we are looking for.
583
584 USB serial numbers for storage devices have the target:lun now appended,
585 to make it possibble to distinguish broken multi-lun devices with all
586 the same SCSI identifiers.
587
588 Note: The extra "run_directory" which searches and executes stuff in
589 /etc/hotplug.d/ and /etc/dev.d/ is long deprecated, and will be removed
590 with the next release. Make sure, that you don't use it anymore, or
591 provides your own implementation of that inefficient stuff.
592 We are tired of reports about a "slow udev", because these directories
593 contain stuff, that runs with _every_ event, instead of using rules,
594 that run programs only for the matching events.
595
596 udev 106
597 ========
598 Bugfixes.
599
600 udev 105
601 ========
602 Bugfixes.
603
604 DRIVER== will match only for devices that actually have a real
605 driver. DRIVERS== must be used, if parent devices should be
606 included in the match.
607
608 Libvolume_id's "linux_raid" detection needed another fix.
609
610 udev 104
611 ========
612 Bugfixes.
613
614 udev 103
615 ========
616 Add additional check to volume_id detection of via_raid, cause
617 some company decided to put a matching pattern all over the empty
618 storage area of their music players.
619
620 udev 102
621 ========
622 Fix path_id for SAS devices.
623
624 udev 101
625 ========
626 The udev daemon can be started with --debug-trace now, which will
627 execute all events serialized to get a chance to catch a possible
628 action that crashes the box.
629
630 A warning is logged, if PHYSDEV* keys, the "device" link, or a parent
631 device attribute like $attr{../file} is used, only WAIT_FOR_SYSFS rules
632 are excluded from the warning. Referencing parent attributes directly
633 may break when something in the kernel driver model changes. Udev will
634 just find the attribute by walking up the parent chain.
635
636 Udevtrigger now sorts the list of devices depending on the device
637 dependency, so a "usb" device is triggered after the parent "pci"
638 device.
639
640 udev 100
641 ========
642 Revert persistent-storage ata-serial '_' '-' replacement.
643
644 udev 099
645 ========
646 Bugfixes.
647
648 Udevtrigger can now filter the list of devices to be triggered. Matches
649 for subsystems or sysfs attributes can be specified.
650
651 The entries in /dev/.udev/queue and /dev/.udev/failed have changed to
652 zero-sized files to avoid pointing to /sys and confuse broken tools which
653 scan the /dev directory. To retry failed events, udevtrigger --retry-failed
654 should be used now.
655
656 The rules and scripts to create udev rules for persistent network
657 devices and optical drives are in the extras/rules_generator directory
658 now. If you use something similar, please consider replacing your own
659 version with this, to share the support effort. The rule_generator
660 installs its own rules into /etc/udev/rules.d.
661
662 The cdrom_id tool installs its own rule now in /etc/udev/rules.d, cause
663 the rule_generator depends on cdrom_id to be called in an earlier rule.
664
665 udev 098
666 ========
667 Bugfixes.
668
669 Renaming of some key names (the old names still work):
670 BUS -> SUBSYSTEMS, ID -> KERNELS, SYSFS -> ATTRS, DRIVER -> DRIVERS.
671 (The behavior of the key DRIVER will change soon in one of the next
672 releases, to match only the event device, please switch to DRIVERS
673 instead. If DRIVER is used, it will behave like DRIVERS, but an error
674 is logged.
675 With the new key names, we have a more consistent and simpler scheme.
676 We can match the properties of the event device only, with: KERNEL,
677 SUBSYSTEM, ATTR, DRIVER. Or include all the parent devices in the match,
678 with: KERNELS, SUBSYSTEMS, ATTRS, DRIVERS. ID, BUS, SYSFS, DRIVER are no
679 longer mentioned in the man page and should be switched in the rule
680 files.
681
682 ATTR{file}="value" can be used now, to write to a sysfs file of the
683 event device. Instead of:
684   ..., SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys$$DEVPATH/timeout'"
685 we now can do:
686   ..., ATTR{type}=="0|7|14", ATTR{timeout}="60"
687
688 All the PHYSDEV* keys are deprecated and will be removed from a
689 future kernel:
690   PHYDEVPATH -    is the path of a parent device and should not be
691                   needed at all.
692   PHYSDEVBUS -    is just a SUBSYSTEM value of a parent, and can be
693                   matched with SUBSYSTEMS==
694   PHYSDEVDRIVER - for bus devices it is available as ENV{DRIVER}.
695                   Newer kernels will have DRIVER in the environment,
696                   for older kernels udev puts in. Class device will
697                   no longer carry this property of a parent and
698                   DRIVERS== can be used to match such a parent value.
699 Note that ENV{DRIVER} is only available for a few bus devices, where
700 the driver is already bound at device event time. On coldplug, the
701 events for a lot devices are already bound to a driver, and they will have
702 that value set. But on hotplug, at the time the kernel creates the device,
703 it can't know what driver may claim the device after that, therefore
704 in most cases it will be empty.
705
706 Failed events should now be re-triggered with:
707    udevtrigger --retry-failed.
708 Please switch to this command, so we keep the details of the /dev/.udev/failed/
709 files private to the udev tools. We may need to switch the current symlink
710 target, cause some obviously broken tools try to scan all files in /dev
711 including /dev/.udev/, find the links to /sys and end up stat()'ing sysfs files
712 million times. This takes ages on slow boxes.
713
714 The udevinfo attribute walk (-a) now works with giving a device node
715 name (-n) instead of a devpath (-p). The query now always works, also when
716 no database file was created by udev.
717
718 The built-in /etc/passwd /etc/group parser is removed, we always depend on
719 getpwnam() and getgrnam() now. One of the next releases will depend on
720 fnmatch() and may use getopt_long().
721
722 udev 097
723 ========
724 Bugfixes and small improvements.
725
726 udev 096
727 ========
728 Fix path_id for recent kernels.
729
730 udev 095
731 ========
732 %e is finally gone.
733
734 Added support for swapping network interface names, by temporarily
735 renaming the device and wait for the target name to become free.
736
737 udev 094
738 ========
739 The built-in MODALIAS key and substitution is removed.
740
741 udev 093
742 ========
743 The binary firmware helper is replaced by the usual simple
744 shell script. Udevsend is removed from the tree.
745
746 udev 092
747 ========
748 Bugfix release.
749
750 udev 091
751 ========
752 Some more keys require the correct use of '==' and '=' depending
753 on the kind of operation beeing an assignment or a match. Rules
754 with invalid operations are skipped and logged to syslog. Please
755 test with udevtest if the parsing of your rules throws errors and
756 fix possibly broken rules.
757
758 udev 090
759 ========
760 Provide "udevsettle" to wait for all current udev events to finish.
761 It also watches the current kernel netlink queue by comparing the
762 even sequence number to make sure that there are no current pending
763 events that have not already arrived in the daemon.
764
765 udev 089
766 ========
767 Fix rule to skip persistent rules for removable IDE devices, which
768 also skipped optical IDE drives.
769
770 All *_id program are installed in /lib/udev/ by default now.
771
772 No binary is stripped anymore as this should be done in the
773 packaging process and not at build time.
774
775 libvolume_id is provided as a shared library now and vol_id is
776 linked against it. Also one of the next HAL versions will require
777 this library, and the HAL build process will also require the
778 header file to be installed. The copy of the same code in HAL will
779 be removed to have only a single copy left on the system.
780
781 udev 088
782 ========
783 Add persistent links for SCSI tapes. The rules file is renamed
784 to 60-persistent-storage.rules.
785
786 Create persistent path for usb devices. Can be used for all sorts
787 of devices that can't be distinguished by other properties like
788 multiple identical keyboards and mice connected to the same box.
789
790 Provide "udevtrigger" program to request events on coldplug. The
791 shell script is much too slow with thousends of devices.
792
793 udev 087
794 ========
795 Fix persistent disk rules to exclude removable IDE drives.
796
797 Warn if %e, $modalias or MODALIAS is used.
798
799 udev 086
800 ========
801 Fix queue export, which wasn't correct for subsequent add/remove
802 events for the same device.
803
804 udev 085
805 ========
806 Fix cramfs detection on big endian.
807
808 Make WAIT_FOR_SYSFS usable in "normal" rules and silent if the whole
809 device goes away.
810
811 udev 084
812 ========
813 If BUS== and SYSFS{}== have been used in the same rule, the sysfs
814 attributes were only checked at the parent device that matched the
815 by BUS requested subsystem. Fix it to also look at the device we
816 received the event for.
817
818 Build variable CROSS has changed to CROSS_COMPILE to match the kernel
819 build name.
820
821 udev 083
822 ========
823 Fix a bug where NAME="" would prevent RUN from beeing executed.
824
825 RUN="/bin/program" does not longer automatically add the subsystem
826 as the first parameter. This is from the days of /sbin/hotplug
827 which is dead now and it's just confusing to need to add a space at
828 the end of the program name to prevent this.
829 If you use rules that need the subsystem as the first parameter,
830 like the old "udev_run_hotlugd" and "udev_run_devd", add the subsystem
831 to the key like RUN+="/bin/program $env{SUBSYSTEM}".
832
833 udev 082
834 ========
835 The udev man page has moved to udev(7) as it does not describe a command
836 anymore. The programs udev, udevstart and udevsend are no longer installed
837 by default and must be copied manually, if they should be installed or
838 included in a package.
839
840 Fix a bug where "ignore_device" could run earlier collected RUN keys before
841 the ignore rule was applied.
842
843 More preparation for future sysfs changes. usb_id and scsi_id no longer
844 depend on a magic order of devices in the /devices chain. Specific devices
845 should be requested by their subsytem.
846
847 This will always find the scsi parent device without depending on a specific
848 path position:
849   dev = sysfs_device_get(devpath);
850   dev_usb = sysfs_device_get_parent_with_subsystem(dev, "scsi");
851
852 The "device" link in the current sysfs layout will be automatically
853 _resolved_ as a parent and in the new sysfs layout it will just _be_ the
854 parent in the devpath. If a device is requested by it's symlink, like all
855 class devices in the new sysfs layout will look like, it gets automatically
856 resolved and substituted with the real devpath and not the symlink path.
857
858 Note:
859 A similar logic must be applied to _all_ sysfs users, including
860 scripts, that search along parent devices in sysfs. The explicit use of
861 the "device" link must be avoided. With the future sysfs layout all
862 DEVPATH's will start with /devices/ and have a "subsystem" symlink poiting
863 back to the "class" or the "bus". The layout of the parent devices in
864 /devices is not necessarily expected to be stable across kernel releases and
865 searching for parents by their subsystem should make sysfs users tolerant
866 for changed parent chains.
867
868 udev 081
869 ========
870 Prepare udev to work with the experimental kernel patch, that moves
871 /sys/class devices to /sys/devices and /sys/block to /sys/class/block.
872
873 Clarify BUS, ID, $id usage and fix $id behavior. This prepares for
874 moving the class devices to /sys/devices.
875
876 Thanks again to Marco for help finding a hopefully nice compromise
877 to make %b simpler and working again.
878
879 udev 080
880 ========
881 Complete removal of libsysfs, replaced by simple helper functions
882 which are much simpler and a bit faster. The udev daemon operatesentirely
883 on event parameters and does not use sysfs for simple rules anymore.
884 Please report any new bugs/problems, that may be caused by this big
885 change. They will be fixed immediately.
886
887 The enumeration format character '%e' is deprecated and will be
888 removed sometimes from a future udev version. It never worked correctly
889 outside of udevstart, so we can't use it with the new parallel
890 coldplug. A simple enumeration is as useless as the devfs naming
891 scheme, just get rid of both if you still use it.
892
893 MODALIAS and $modalias is not needed and will be removed from one of
894 the next udev versions, replace it in all rules with ENV{MODALIAS} or
895 the sysfs "modalias" value.
896
897 Thanks a lot to Marco for all his help on finding and fixing bugs.
898
899 udev 079
900 ========
901 Let scsi_id request libata drive serial numbers from page 0x80.
902
903 Renamed etc/udev/persistent.rules to persistent-disk.rules and
904 added /dev/disk/by-name/* for device mapper device names.
905
906 Removed %e from the man page. It never worked reliably outside
907 of udevstart and udevstart is no longer recommended to use.
908
909 udev 078
910 ========
911 Symlinks are now exported to the event environment. Hopefully it's no
912 longer needed to run udevinfo from an event process, like it was
913 mentioned on the hotplug list:
914   UDEV  [1134776873.702967] add@/block/sdb
915   ...
916   DEVNAME=/dev/sdb
917   DEVLINKS=/dev/disk/by-id/usb-IBM_Memory_Key_0218B301030027E8 /dev/disk/by-path/usb-0218B301030027E8:0:0:0
918
919 udev 077
920 ========
921 Fix a problem if udevsend is used as the hotplug handler and tries to use
922 syslog, which causes a "vc" event loop. 2.6.15 will make udevsend obsolete
923 and this kind of problems will hopefully go away soon.
924
925 udev 076
926 ========
927 All built-in logic to work around bad sysfs timing is removed with this
928 version. The need to wait for sysfs files is almost fixed with a kernel
929 version that doesn't work with this udev version anyway. Until we fix
930 the timing of the "bus" link creation, the former integrated logic should
931 be emulated by a rule placed before all other rules:
932   ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
933
934 The option "udev_db" does no longer exist. All udev state will be in
935 /$udev_root/.udev/ now, there is no longer an option to set this
936 to anything else.
937 If the init script or something else used this value, just depend on
938 this hardcoded path. But remember _all_content_ of this directory is
939 still private to udev and can change at any time.
940
941 Default location for rule sripts and helper programs is now: /lib/udev/.
942 Everything that is not useful on the commandline should go into this
943 directory. Some of the helpers in the extras folder are installed there
944 now. The rules need to be changed, to find the helpers there.
945
946 Also /lib/udev/devices is recommended as a directory where packages or
947 the user can place real device nodes, which get copied over to /dev at
948 every boot. This should replace the various solutions with custom config
949 files.
950
951 Udevsend does no longer start the udev daemon. This must be done with
952 the init script that prepares /dev on tmpfs and creates the initial nodes,
953 before starting the daemon.
954
955 udev 075
956 ========
957 Silent a too verbose error logging for the old hotplug.d/ dev.d/
958 emulation.
959
960 The copy of klibc is removed. A systemwide installed version of klibc
961 should be used to build a klibc udev now.
962
963 udev 074
964 ========
965 NAME="" will not create any nodes, but execute RUN keys. To completely
966 ignore an event the OPTION "ignore_device" should be used.
967
968 After removal of the reorder queue, events with a TIMEOUT can be executed
969 without any queuing now.
970
971 udev 073
972 ========
973 Fixed bug in udevd, if inotify is not available. We depend on netlink
974 uevents now, kernels without that event source will not work with that
975 version of udev anymore.
976
977 udev 072
978 ========
979 The rule parsing happens now in the daemon once at startup, all udev
980 event processes inherit the already parsed rules from the daemon.
981 It is shipped with SUSE10.0 and reduces heavily the system load at
982 startup. The option to save precompiled rules and let the udev process
983 pick the them up is removed, as it's no longer needed.
984
985 Kernel 2.6.15 will have symlinks at /class/input pointing to the real
986 device. Libsysfs is changed to "translate" the requested link into the
987 real device path, as it would happen with the hotplug event. Otherwise
988 device removal and the udev database will not work.
989
990 Using 'make STRIPCMD=' will leave the binaries unstripped for debugging
991 and packaging.
992
993 A few improvements for vol_id, the filesytem probing code.
994
995 udev 071
996 ========
997 Fix a stupid typo in extras/run_directory for "make install".
998
999 scsi_id creates the temporary devnode now in /dev for usage with a
1000 non-writable /tmp directory.
1001
1002 The uevent kernel socket buffer can carry app. 50.000 events now,
1003 let's see who can break this again. :)
1004
1005 The upcoming kernel will have a new input driver core integration.
1006 Some class devices are now symlinks to the real device. libsysfs
1007 needs a fix for this to work correctly. Udevstart of older udev
1008 versions will _not_ create these devices!
1009
1010 udev 070
1011 ========
1012 Fix a 'install' target in the Makefile, that prevents EXTRAS from
1013 beeing installed.
1014
1015 udev 069
1016 ========
1017 A bunch of mostly trivial bugfixes. From now on no node name or
1018 symlink name can contain any character than plain whitelisted ascii
1019 characters or validated utf8 byte-streams. This is needed for the
1020 /dev/disk/by-label/* links, because we import untrusted data and
1021 export it to the filesystem.
1022
1023 udev 068
1024 ========
1025 More bugfixes. If udevd was started from the kernel, we don't
1026 have stdin/stdout/stderr, which broke the forked tools in some
1027 situations.
1028
1029 udev 067
1030 ========
1031 Bugfix. udevstart event ordering was broken for a long time.
1032 The new run_program() uncovered it, because /dev/null was not
1033 available while we try to run external programs.
1034 Now udevstart should create it before we run anything.
1035
1036 udev 066
1037 ========
1038 Minor bugfixes and some distro rules updates. If you don't have the
1039 persistent disk rules in /dev/disk/by-*/* on your distro, just
1040 grab it from here. :)
1041
1042 udev 065
1043 ========
1044 We can use socket communication now to pass events from udev to
1045 other programs:
1046   RUN+="socket:/org/freedesktop/hal/udev_event"
1047 will pass the whole udev event to the HAL daemon without the need
1048 for a forked helper. (See ChangeLog for udevmonitor, as an example)
1049
1050 udev 064
1051 ========
1052 Mostly bugfixes and see ChangeLog.
1053
1054 The test for the existence of an environment value should be
1055 switched from:
1056   ENV{KEY}=="*" to ENV{KEY}=="?*"
1057 because "*" will not fail anymore, if the key does not exist or
1058 is empty.
1059
1060 udev 063
1061 ========
1062 Bugfixes and a few tweaks described in the ChangeLog.
1063
1064 udev 062
1065 ========
1066 Mostly a Bugfix release.
1067
1068 Added WAIT_FOR_SYSFS="<attribute>" to be able to fight against the sysfs
1069 timing with custom rules.
1070
1071 udev 061
1072 ========
1073 We changed the  internal rule storage format. Our large rule files took
1074 2 MB of RAM, with the change we are down to 99kB.
1075
1076 If the device-node has been created with default name and no symlink or
1077 options are to remenber, it is not longer stored in the udevdb. HAL will
1078 need to be updated to work correctly with that change.
1079
1080 To overrride optimization flags, OPTFLAGS may be used now.
1081
1082 udev 060
1083 ========
1084 Bugfix release.
1085
1086 udev 059
1087 ========
1088 Major changes happened with this release. The goal is to take over the
1089 complete kernel-event handling and provide a more efficient way to dispatch
1090 kernel events. Replacing most of the current shell script logic and the
1091 kernel forked helper with a netlink-daemon and a rule-based event handling.
1092
1093 o udevd listens to netlink events now. The first valid netlink event
1094   will make udevd ignore any message from udevsend that contains a
1095   SEQNUM, to avoid duplicate events. The forked events can be disabled
1096   with:
1097     echo "" > /proc/sys/kernel/hotplug
1098   For full support, the broken input-subsytem needs to be fixed, not to
1099   bypass the driver core.
1100
1101 o /etc/dev.d/ + /etc/hotplug.d/ directory multiplexing is completely
1102   removed from udev itself and must be emulated by calling small
1103   helper binaries provided in the extras folder:
1104     make EXTRAS=extras/run_directory/
1105   will build udev_run_devd and udev_run_hotplugd, which can be called
1106   from a rule if needed:
1107     RUN+="/sbin/udev_run_hotplugd"
1108   The recommended way to handle this is to convert all the calls from
1109   the directories to explicit udev rules and get completely rid of the
1110   multiplexing. (To catch a ttyUSB event, you now no longer need to
1111   fork and exit 300 tty script instances you are not interested in, it
1112   is just one rule that matches exactly the device.)
1113
1114 o udev handles now _all_ events not just events for class and block
1115   devices, this way it is possible to control the complete event
1116   behavior with udev rules. Especially useful for rules like:
1117     ACTION="add", DEVPATH="/devices/*", MODALIAS=="?*", RUN+="/sbin/modprobe $modalias"
1118
1119 o As used in the modalias rule, udev supports now textual
1120   substitution placeholder along with the usual format chars. This
1121   needs to be documented, for now it's only visible in udev_rules_parse.c.
1122
1123 o The rule keys support now more operations. This is documented in the
1124   man page. It is possible to add values to list-keys like the SYMLINK
1125   and RUN list with KEY+="value" and to clear the list by assigning KEY="".
1126   Also "final"-assignments are supported by using KEY:="value", which will
1127   prevent changing the key by any later rule.
1128
1129 o kernel 2.6.12 has the "detached_state" attribute removed from
1130   sysfs, which was used to recognize sysfs population. We switched that
1131   to wait for the "bus" link, which is only available in kernels after 2.6.11.
1132   Running this udev version on older kernels may cause a short delay for
1133   some events.
1134
1135 o To provide infrastructure for persistent device naming, the id programs:
1136   scsi_id, vol_id (former udev_volume_id), and ata_id (new) are able now
1137   to export the probed data in environment key format:
1138     pim:~ # /sbin/ata_id --export /dev/hda
1139     ID_MODEL=HTS726060M9AT00
1140     ID_SERIAL=MRH401M4G6UM9B
1141     ID_REVISION=MH4OA6BA
1142
1143   The following rules:
1144     KERNEL="hd*[!0-9]", IMPORT="/sbin/ata_id --export $tempnode"
1145     KERNEL="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_MODEL}_$env{ID_SERIAL}"
1146
1147   Will create:
1148     kay@pim:~> tree /dev/disk
1149     /dev/disk
1150     |-- by-id
1151     |   |-- HTS726060M9AT00_MRH401M4G6UM9B -> ../../hda
1152     |   `-- IBM-Memory_Key -> ../../sda
1153     |-- by-label
1154     |   |-- swap -> ../../hda1
1155     |   |-- date -> ../../sda1
1156     |   `-- home -> ../../hda3
1157     `-- by-uuid
1158         |-- 2E08712B0870F2E7 -> ../../hda3
1159         |-- 9352cfef-7687-47bc-a2a3-34cf136f72e1 -> ../../hda1
1160         |-- E845-7A89 -> ../../sda1
1161         `-- b2a61681-3812-4f13-a4ff-920d70604299 -> ../../hda2
1162
1163   The IMPORT= operation will import these keys in the environment and make
1164   it available for later PROGRAM= and RUN= executed programs. The keys are
1165   also stored in the udevdb and can be queried from there with one of the
1166   next udev versions.
1167
1168 o A few binaries are silently added to the repository, which can be used
1169   to replay kernel events from initramfs instead of using coldplug. udevd
1170   can be instructed now to queue-up events while the stored events from
1171   initramfs are filled into the udevd-queue. This code is still under
1172   development and there is no documentation now besides the code itself.
1173   The additional binaries get compiled, but are not installed by default.
1174
1175 o There is also a temporary fix for a performance problem where too many
1176   events happen in parallel and every event needs to parse the rules.
1177   udev can now read precompiled rules stored on disk. This is likely to be
1178   replaced by a more elegant solution in a future udev version.
1179
1180 udev 058
1181 ========
1182 With kernel version 2.6.12, the sysfs file "detached_state" was removed.
1183 Fix for libsysfs not to expect this file was added.
1184
1185 udev 057
1186 ========
1187 All rules are applied now, but only the first matching rule with a NAME-key
1188 will be applied. All later rules with NAME-key are completely ignored. This
1189 way system supplied symlinks or permissions gets applied to user-defined
1190 naming rules.
1191
1192 Note:
1193 Please check your rules setup, if you may need to add OPTIONS="last_rule"
1194 to some rules, to keep the old behavior.
1195
1196 The rules are read on "remove"-events too. That makes is possible to match
1197 with keys that are available on remove (KERNEL, SUBSYSTEM, ID, ENV, ...) to
1198 instruct udev to ignore an event (OPTIONS="ignore_device").
1199 The new ACTION-key may be used to let a rule act only at a "remove"-event.
1200
1201 The new RUN-key supports rule-based execution of programs after device-node
1202 handling. This is meant as a general replacement for the dev.d/-directories
1203 to give fine grained control over the execution of programs.
1204
1205 The %s{}-sysfs format char replacement values are searched at any of the
1206 devices in the device chain now, not only at the class-device.
1207
1208 We support log priority levels now. The value udev_log in udev.conf is used
1209 to determine what is printed to syslog. This makes it possible to
1210 run a version with compiled-in debug messages in a production environment
1211 which is sometimes needed to find a bug.
1212 It is still possible to supress the inclusion of _any_ syslog usage with
1213 USE_LOG=false to create the smallest possible binaries if needed.
1214 The configured udev_log value can be overridden with the environment variable
1215 UDEV_LOG.
1216
1217 udev 056
1218 ========
1219 Possible use of a system-wide klibc:
1220   make USE_KLIBC=true KLCC=/usr/bin/klcc all
1221 will link against an external klibc and our own version will be ignored.
1222
1223 udev 055
1224 ========
1225 We support an unlimited count of symlinks now.
1226
1227 If USE_STATIC=true is passed to a glibc build, we link statically and use
1228 a built-in userdb parser to resolve user and group names.
1229
1230 The PLACE= key is gone. It can be replaced by an ID= for a long time, because
1231 we walk up the chain of physical devices to find a match.
1232
1233 The KEY="<value>" format supports '=', '==', '!=,' , '+=' now. This makes it
1234 easy to skip certain attribute matches without composing rules with weird
1235 character class negations like:
1236   KERNEL="[!s][!c][!d]*"
1237 this can now be replaced with:
1238   KERNEL!="scd*"
1239 The current simple '=' is still supported, and should work as it does today,
1240 but existing rules should be converted if possible, to be better readable.
1241
1242 We have new ENV{}== key now, to match against a maximum of 5 environment
1243 variables.
1244
1245 udevstart is its own binary again, because we don't need co carry this araound
1246 with every forked event.