1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-14 15:21:37 +03:00
Commit Graph

4138 Commits

Author SHA1 Message Date
Kay Sievers
d964a4bfde udevd: install into /lib/udev instead of /sbin 2011-10-10 20:27:20 +02:00
Kay Sievers
c61e36b1b4 update NEWS 2011-10-10 14:49:18 +02:00
Kay Sievers
29282732bd udev_ctrl_cleanup()- accept NULL as argument 2011-10-10 02:30:42 +02:00
Kay Sievers
1f5a5100f3 udevd: control - no not delete socket file when --daemon is used 2011-10-10 00:38:56 +02:00
Kay Sievers
5cc4112e6d udevadm: control - use /run/udev/control socket instead of abstract namespace one 2011-10-09 22:52:03 +02:00
Steve Langasek
7944a13a2b udevd: exit - process events before signals in worker
When a worker receives both a signal and a udev event in the same epoll_wait
run, the event must be processed first because the udev parent considers the
event already dispatched.  If we process the signal first and exit, udevd
times out after 60 seconds waiting for a response from an already-dead
worker.

Ref: https://bugs.launchpad.net/bugs/818177
Signed-off-by: Steve Langasek <steve.langasek@canonical.com>
2011-10-08 15:02:38 +02:00
Kay Sievers
dd2247464f systemd: update drop-in sd-daemon files 2011-10-06 03:14:50 +02:00
Kay Sievers
f42ee4838d delete left-over files in extras/ 2011-10-06 03:11:33 +02:00
Kay Sievers
ee9bf6bda9 systemd: no not start udev in a container 2011-10-06 01:49:36 +02:00
Kay Sievers
7eff39bcf3 systemd: no not start udev in a container 2011-10-06 01:40:44 +02:00
Kay Sievers
8ac5e7ebf2 update TODO 2011-10-06 01:30:55 +02:00
Kay Sievers
0bbe8838e7 libudev: export udev_util_encode_string() 2011-10-06 01:10:59 +02:00
Kay Sievers
289a1821a4 remove 'udevadm trigger --type=failed' and SYSFS, ID, BUS keys 2011-10-06 00:45:06 +02:00
Kay Sievers
a13d90aec6 usb_id: can't use global variables when used as built-in 2011-10-05 14:57:21 +02:00
Kay Sievers
fd736f3991 update NEWS 2011-10-03 14:01:33 +02:00
Kay Sievers
046d1bf731 keymap: add genius keymap to Makefile 2011-10-03 14:00:42 +02:00
Petr Uzel
d800e8688a udevadm: settle - return failure if unknown option is given
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-10-03 13:57:18 +02:00
Kay Sievers
fe9e1a0d4e rules: fuse: do not mount fusectl from udev rules
All mounting is done by systemd now. Non-systemd systems
need to ship their own rules if they want fusefs be auto-mounted.
2011-09-26 21:37:23 +02:00
Kay Sievers
a3321f687b libudev: fix typo in documentation 2011-09-26 21:36:32 +02:00
Kay Sievers
afb9771b41 update README 2011-09-18 17:58:13 +02:00
David Zeuthen
b93b46e4b7 ata_id: Check for Compact Flash card
Automounters may need information like this to e.g. allow unprivileged
applications to mount filesystems from a CF card but not from
other ATA devices. See https://bugzilla.redhat.com/show_bug.cgi?id=734191

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-09-01 21:15:29 +02:00
Kay Sievers
4fd394c34b mknod: do not complain about existing node 2011-09-01 21:14:54 +02:00
Kay Sievers
c99b72121f libudev: list - properly sort linked list not only the index
<mgorny> it seems that udev-git is b0rked while tag '173' works fine for me
<mgorny> the rule in question is:
<mgorny> also, with >173 persistent-net rules seem to get constantly recreated
         for same devices
<kay> mgorny: logic bug. we only sort the keys in an index, but we don't care
      about the index when reading the list, which doesn't work too well for
      the rules file list where we depend on the order
2011-08-28 22:45:34 +02:00
Kir Kolyshkin
1484205c47 keymap: add Genius SlimStar 320
This keyboard have 16 "multimedia" keys plus a "4-way turbo scroll pad" which
is essentially a round up/down/left/right button. Unfortunately most of these
keys emit non-standard scancodes in a range 495-508 which does not make any
sense. I tried to remap those to the best of my knowledge.

Note the keyboard comes up as two event devices, second one is multimedia
keys, so I ended up adding ENV{ID_USB_INTERFACE_NUM}=="01" to avoid
unnecessary initialization of the "main" keyboard.
2011-08-22 06:42:28 +02:00
Paul Fox
00fc377e7a keymap: update the OLPC keymap for correct function key behavior
New mappings were needed when the mechanical keyboard was
introduced, and GNOME was made a peer to the sugar desktop.
see http://lists.laptop.org/pipermail/devel/2010-July/029384.html
2011-08-22 06:39:06 +02:00
Thomas Hood
6e3b1694a4 keymap: Support for microphone mute button on ThinkPad X220 et al
On a ThinkPad X220 there is a microphone mute button which generates
ACPI event "ibm/hotkey HKEY 00000080 0000101b". As there is no key like
"micmute", map it to prog2.
2011-08-22 06:34:36 +02:00
Thomas Hood
3c00bc177c keymap: Support keymap overrides in /etc/udev/keymaps
Prefer reading keymaps from /etc/udev/keymaps/ so that it's easy to just
locally fix a key or two by copying the existing keymap file from
/lib/udev/keymaps/. This works similarly to udev rules.

http://bugs.debian.org/556045
2011-08-22 06:29:50 +02:00
Kay Sievers
2fdaa983a9 libudev: udev_device_get_sysattr_value() return syspath of custom links 2011-08-17 21:07:09 +02:00
Kay Sievers
a20a57a7bf export USEC_INITIALIZED= and take timestamp on message receive time 2011-08-17 21:05:18 +02:00
Kay Sievers
cdfdc85fb5 libudev: util_get_sys_(subsystem,driver}() -> util_get_sys_core_link_value() 2011-08-17 21:03:05 +02:00
Matthias Clasen
ac03072310 make: allow to pass ${ACLOCAL_FLAGS} 2011-08-16 16:21:42 +02:00
Kay Sievers
b3e44c5291 preserve 'sticky bit' on 'add/change' events 2011-08-14 19:04:16 +02:00
Kay Sievers
38f6aefc47 update TODO 2011-08-12 14:05:54 +02:00
Kay Sievers
d132be4d58 rules: remove legacy rules for cdrom and usb printer 2011-08-12 14:05:19 +02:00
Kay Sievers
79449642eb do not remove static nodes on module unload 2011-08-11 20:37:49 +02:00
Martin Pitt
2a30eaa452 keymap: Update Acer Aspire 5920g
https://launchpad.net/bugs/637695
2011-08-08 11:00:59 +02:00
Kay Sievers
d7867b3183 implement path_id, usb_id, input_id as built-in command 2011-08-05 02:00:30 +02:00
Kay Sievers
617746e097 rules: move input_id to default rules
On Tue, Aug 2, 2011 at 10:56, Thomas Bächler <thomas@archlinux.org> wrote:
> Commit c49df20758 prevented udev from
> creating broken symlinks for bluetooth hid devices. Unfortunately,
> it also removed the ID_INPUT=1 and ID_INPUT_{KEY,MOUSE}=1 properties
> from those devices. Xorg relies on these properties for cold- and
> hotplugging of input devices.
2011-08-04 23:25:03 +02:00
Kay Sievers
869c903160 libudev: list - use binary search for list lookup 2011-08-04 22:59:58 +02:00
Kay Sievers
ce0119d98a gtk-doc: delete empty files 2011-07-31 02:59:25 +02:00
Kay Sievers
ad667dff51 release 173 2011-07-30 23:31:54 +02:00
Kay Sievers
2dd7eed2eb udevd: debug - put timestamp in [] 2011-07-30 23:16:43 +02:00
Kay Sievers
05b74d8563 udevadm: trigger --type=failed - log deprecation warning 2011-07-30 23:01:28 +02:00
Martin Pitt
2614261e4d keymap: Only run on key devices
Skip event devices which don't have ID_INPUT_KEY set, to avoid running the long
list of rules more than necessary.

Note that we don't limit ourselves to ID_INPUT_KEYBOARD, as we might want to
fix extra buttons on e. g. fancy mouses or tablet screens, too.
2011-07-20 12:52:28 +02:00
Kay Sievers
4da9fcb366 keymap: do not run usb_id for bluetooth devices 2011-07-20 00:39:58 +02:00
Kay Sievers
2ba5c37829 rules: sound - instead of ID_IFACE use standard ID_USB_INTERFACE_NUM 2011-07-20 00:21:07 +02:00
Kay Sievers
edb0d9d8d7 rules: serial - do not export ID_PORT, use ID_USB_INTERFACE_NUM 2011-07-20 00:20:00 +02:00
Kay Sievers
c49df20758 rules: input - do not create (broken) links for bluetooth devices 2011-07-20 00:05:38 +02:00
Kay Sievers
e3c14a7ff3 configure: reorder options 2011-07-19 21:17:05 +02:00
Allin Cottrell
4fb270171d configure: allow to disable mtd_probe 2011-07-19 21:16:22 +02:00