summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-03-18input_id: Rewrite debug logging to use standard udev info()Martin Pitt
2011-03-18input_id: Cover key devices which only have KEY_* > 255Martin Pitt
We previously only tested the "key" capabilities for keys between 0 and 255 to determine ID_INPUT_KEY. If there are none, also check for keys in the upper block (KEY_OK/0x160 to KEY_TOUCHPAD_OFF/0x214).
2011-03-18input_id: Avoid memory overflow with too long capability masksMartin Pitt
Joey Lee <jlee@novell.com> reported a problem on an MSI laptop which reports a too long capabilities/key: E: EV==3 E: KEY==180000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 This is longer than KEY_MAX and thus caused a memory overflow. Guard against this now and just ignore the excess blocks.
2011-03-18input_id: Add some debugging outputMartin Pitt
If $DEBUG is set, output the capability bitmaps to stderr.
2011-03-18input_id: Consistently use tabs for indentationMartin Pitt
2011-03-17udev-acl/70-acl.rules: tag ID_REMOTE_CONTROL with aclHarald Hoyer
Used by "concordance" to access Logitech Harmony programmable remote controls. http://www.phildev.net/concordance/
2011-03-16NEWS: clarify /dev/.run/ requirementsKay Sievers
2011-03-15cdrom_id: Don't ignore profiles when there is no media availableDavid Zeuthen
Just because the GET CONFIGURATION MMC-2 command returns the current profile as 0 does not mean that we can ignore the profiles describing the capabilities of the drive - it only means that there currently is no recognized media in the drive. Therefore, do process the returned profiles even when cur_profile is 0. This fixes a bug where only ID_CDROM=1 ID_CDROM_CD_R=1 ID_CDROM_CD_RW=1 ID_CDROM_DVD=1 ID_CDROM_DVD_R=1 ID_CDROM_DVD_RAM=1 was returned when there is no media in the drive instead of ID_CDROM=1 ID_CDROM_CD=1 ID_CDROM_CD_R=1 ID_CDROM_CD_RW=1 ID_CDROM_DVD=1 ID_CDROM_DVD_R=1 ID_CDROM_DVD_RW=1 ID_CDROM_DVD_RAM=1 ID_CDROM_DVD_PLUS_R=1 ID_CDROM_DVD_PLUS_RW=1 ID_CDROM_DVD_PLUS_R_DL=1 ID_CDROM_BD=1 ID_CDROM_BD_R=1 ID_CDROM_BD_RE=1 ID_CDROM_HDDVD=1 as is returned now. Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-15move /dev/.udev/ to /dev/.run/udev/ and convert old udev database at udevd ↵Kay Sievers
startup
2011-03-10Remap MSI Laptop touchpad on/off key to F22 and F23Lee, Chun-Yi
MSI Laptop driver will query the real touchpad state then emit KEY_TOUCHPAD_ON/OFF key. Currently, X has defined F22 for touchpad on and F23 for touchpad off. This patch aligns MSI Laptop driver's key with F22 and F23. Tested on MSI U160 netbook using msi-laptop driver. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-03-08udevadm: info - make attribute array static and constThomas Egerer
2011-03-07udev-acl: move sg rule to optical drive ruleKay Sievers
2011-03-07udev-acl: add /dev/sgX nodes for CD-ROMAndrey Borzenkov
Current wine is using /dev/sgX to access CD-ROM devices. Since distributions switched to using ACL instead of group membership to control device access, wine is not able to access them. Add ACL to device nodes that already get GROUP="cdrom". Ref: https://qa.mandriva.com/show_bug.cgi?id=62114 Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
2011-03-05libudev: bump minor versionKay Sievers
2011-03-05libudev: resolve ifindex in udev_device_new_from_id_filename()Kay Sievers
2011-03-04libudev: udev_device_get_sysattr_list_entry() updateKay Sievers
2011-03-04test-libudev: add short optionsKay Sievers
2011-03-04libudev: use sysfs attr ilist interface for attribute walkThomas Egerer
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
2011-03-04libudev: allow to get list of all available sysfs attrs for a deviceThomas Egerer
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
2011-03-01Remap Acer WMI touchpad toggle key to F21 used by XLee, Chun-Yi
Currently, Acer WMI driver generates KEY_F22 but this will soon change to KEY_TOUCHPAD_TOOGLE. X has defined F21 for the purpose of touchpad toggle and other udev keymaps align with this meaning. Patch aligns Acer WMI hotkey drivers with F21. Tested on Acer TravelMate 8572 notebook using acer-wmi driver. Cc: Carlos Corbacho <carlos@strangeworlds.co.uk> Cc: Matthew Garrett <mjg@redhat.com> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Lee, Chun-Yi <jlee@novell.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-02-24cdrom_id: cd_media_toc() extend toc size to 65536Harald Hoyer
Seems like an iDRAC reports a lot of toc entries. "For cd_media_toc() will have to be modified to handle larger tables right now it has an "unsigned char toc[2048]" but the toc can be up to 65536 bytes long . I got a TOC length of 4610 bytes, causing cd_media_toc() to fail." https://bugzilla.redhat.com/show_bug.cgi?id=660367 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-02-20keymap: Fix Acer Aspire 5920G media keyMartin Pitt
From downstream bug: "In Windows this button launch Acer Arcade or Acer Arcade Deluxe application - it's media center like XBMC." https://launchpad.net/bugs/637695
2011-02-15update some commentsKay Sievers
2011-02-15udevadm: enumerate - update prev pointer properlyKei Tokunaga
When I tried to boot a system with 256 disks x 4 paths with device-mapper, udevadm trigger (--type=devices) that was called from start_udev ended up dumping a core due to a segmentation fault. In udev_enumerate_get_list_entry(), if it finds the devices that should be delayed, it calls syspath_add(). If realloc() in syspath_add() allocates the required memory at a different memory address, referring prev->len afterward causes the segmentation fault. Signed-off-by: Kei Tokunaga <tokunaga.keiich@jp.fujitsu.com>
2011-02-15v4l_id: Drop videodev.h check againMartin Pitt
It only uses v4l2 now.
2011-02-15v4l_id: remove left-over variableKay Sievers
2011-02-15v4l_id: kill the v4l1 ioctlKay Sievers
Recent kernels do not have v4l1 anymore.
2011-02-15Merge branch 'master' of git+ssh://master.kernel.org/pub/scm/linux/hotplug/udevKay Sievers
2011-02-15Do not build extras with --disable-extrasMartin Pitt
2011-02-15Fix building with --disable-extrasMartin Pitt
We always need to define automake conditionals, otherwise configure fails with --disable-extras.
2011-02-1560-persistent-input.rules: Do not create duplicate linksMartin Pitt
Commit 5e9eb156c added new symlinks for multi-interface USB input devices. However, we do not actually need the one for interface number "00", as we already have the symlink without the interface number.