summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-11Docs: udev.xml: Clean up description of RUN assignment keyMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Clean up description of ENV assignment keyMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Clean up description of SYMLINK assignment keyMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Clean up description of NAME assignment keyMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Clean character range descriptionMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Clean `*' descriptionMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: `a shell style' -> `shell-style'Michael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Clarify PROGRAM keyMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Use `unless' for clarityMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Add a few more words for contextMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Remove unnecessary repititionMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: `comma-separated' is a better descriptionMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Use `assignment' consistentlyMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: `,' -> `:'Michael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: `key value' -> `key-value'Michael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: `,' -> `;'Michael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Clarification through proper wordingMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Use present tenseMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: `are' -> `is'; the subject is `Access'Michael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Remove commas (and unnecessary repetition)Michael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-11Docs: udev.xml: Offset daemon name with commasMichael Witten
Signed-off-by: Michael Witten <mfwitten@gmail.com>
2011-04-08selinux: firmware - do not label files in runtime dirKay Sievers
2011-04-08selinux: do not label files in runtime dirKay Sievers
Do not label any files in the udev runtime directory, but only nodes, links and directories below /dev. In case the runtime directory falls back to /dev/.udev, label this directory once at udevd startup, but never anything below it.
2011-04-05keymap: Support Dell Latitude XT2 tablet-mode navigation keysSeth Forshee
The XT2 has a rocker (up/down/enter) and back button on the side in tablet mode, none of which work currently. Add entries for these keys. There is some overlap here with scan codes used in other Dell models, so these buttons are put in a new file specific to this model. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-04-04Avoid spinning up CD on pressing eject buttonMartin Pitt
When the CD tray door is locked and the hardware eject button is pressed, newer kernels (2.6.38+) will send out a change event with a DISK_EJECT_REQUEST==1 property. Do not run cdrom_id and blkid in this case, as the media state and contents does not change, and this only needlessly spins up the drive again right before ejection.
2011-03-31Revert "Do not build extras with --disable-extras"Martin Pitt
This reverts commit 905818f5961446ac32d1b2d165185fffddc4915a. We do want to build some extras, just not the ones with extra dependencies. Thanks to Juergen Daubert for pointing this out.
2011-03-31udevd: add 'N:' to optstring in getopt_longThomas Egerer
2011-03-31Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymapLee, Chun-Yi
Acer Aspire One ZG8's bluetooth HW key emit 0xD9 scancode, it must map to KEY_BLUETOOTH like Acer Aspire 5720. So, add rule for Acer Aspire One ZG8 use acer-aspire_5720 keymap. Tested on Acer Aspire One ZG8 netbook. Signed-off-by: Lee, Chun-Yi <jlee@novell.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-03-31systemd: let settle depend on trigger, do not block basic with triggerKay Sievers
2011-03-30Run ata_id on non-removable USB devicesDavid Zeuthen
If a USB device is marked as removable, it is often a SATA/PATA disk in an enclosure (note that flash card readers and usb storage sticks are always marked as removable). In this case, try running ata_id (which sends ATA commands wrapped in SCSI ATA PASS THROUGH commands) to get information about the disk. If this fails, just fall back to running usb_id since it could be the device isn't an ATA device at all or the device doesn't have a SAT layer. This extra information is nice to have as it indicates if it is suitable to send e.g. SMART commands to the disk, whether the disk supports power management and so on. Additionally, the VPD and serial number returned by ata_id is usually more accurate as it stems from the disk itself instead of the enclosure. Note that udisks has been doing this for a while KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode" so this change shouldn't be too disruptive (udisks-probe-ata-smart also sends ATA commands via the ATA PASS THROUGH command). Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-30version bumpKay Sievers
2011-03-30release 167Kay Sievers
2011-03-29systemd: udev.socket - disable implicit dependenciesKay Sievers
Set hostname to <eeepc>. Found ordering cycle on sysinit.target/start Walked on cycle path to systemd-tmpfiles-setup.service/start Walked on cycle path to local-fs.target/start Walked on cycle path to fedora-storage-init.service/start Walked on cycle path to fedora-wait-storage.service/start Walked on cycle path to udev-settle.service/start Walked on cycle path to udev.service/start Walked on cycle path to udev.socket/start Walked on cycle path to sysinit.target/start Breaking ordering cycle by deleting job systemd-tmpfiles-setup.service/start
2011-03-29systemd: do not enable udev-settle.service by defaultKay Sievers
This barrier service is usually not enabled by default. If enabled, it acts as a barrier for basic.target -- so all later services will wait for udev completely finishing its coldplug run. It might be enabled just unconditionally, or pulled-in on-demand by broken or non-hotplug-aware services that assume a fully populated /dev at startup.
2011-03-28libudev: make valgrind happyKay Sievers
Warning: noted but unhandled ioctl 0x641e with no size/direction hints Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s) at 0x6A30BAA: setsockopt (syscall-template.S:82) by 0x4E36E1C: udev_monitor_filter_update (libudev-monitor.c:347) by 0x4E36ED8: udev_monitor_enable_receiving (libudev-monitor.c:373) by 0x8A9E68E: I830ScreenInit (intel_driver.c:838) by 0x42EE9E: AddScreen (dispatch.c:3890) by 0x471561: InitOutput (xf86Init.c:738) by 0x422C18: main (main.c:205) Location 0x7ff0000c2 is 2 bytes inside local var "filter" declared at libudev-monitor.c:256, in frame #1 of thread 1 Uninitialised value was created by a stack allocation at 0x4E30860: ??? (in /lib64/libudev.so.0.10.0) Thanks to Zdenek Kabelac.
2011-03-25libudev: docs - add udev_get_run_path()Kay Sievers
2011-03-25libudev: export udev_get_run_path()Kay Sievers
2011-03-24keymap: continue reading keymap after invalid scancodesSeth Forshee
Reading of keymaps is aborted when EINVAL is returned from EVIOCGETKEYCODE. Scan codes are not always continuous ranges of values starting at 0, so this can result in not getting the full keymap for a device. Instead, continue processing if EINVAL is returned.
2011-03-23man: remove trigger --type=failed handlingKay Sievers
2011-03-23systemd: use sockets.target not socket.targetKay Sievers
2011-03-23systemd: bind udev control socket in systemd and split udev.serviceKay Sievers
We should bind the udev socket from systemd, so we are sure that the abstract namespace socket is always bound by a root process and there is never a window during an update where an untrusted process can steal our socket. Also split the udev.service file, so that the daemon can be updated/restarted without triggering any coldplug events.
2011-03-23rules: run ata_id only on SPC-3 or later optical drivesKay Sievers
2011-03-23use /run/udev/ if possible and fall back to /dev/.udev/Kay Sievers
2011-03-23udevd: initialize fds, for proper close() on exitKay Sievers
2011-03-23udevd: use facility == LOG_DAEMON when writing to /dev/kmsgKay Sievers
Syslog wants to distinguish the sorce of messages. We should indicate that this is a userspace message (LOG_DAEMON) and not a kernel message (LOG_KERNEL).
2011-03-23update sd-daemon.[ch]Kay Sievers
2011-03-19fstab_import: remove from configureKay Sievers
2011-03-19systemd: remove deprecated udev-retry.serviceKay Sievers
2011-03-19fstab_import: disable buildKay Sievers
2011-03-19input_id: silent gcc warningsKay Sievers