Kay Sievers [Sun, 25 Dec 2011 15:37:15 +0000 (16:37 +0100)]
invalidate rules and kmod index with 'udevadm control --reload'
- rename --reload-rules to --reload
- invalidate rules and databases only, delay parsing to the next event
- enable debug output for test-builtin
Kay Sievers [Sat, 24 Dec 2011 16:58:52 +0000 (17:58 +0100)]
builtin: rename load()/unload() to init()/exit()
Kay Sievers [Sat, 24 Dec 2011 02:51:05 +0000 (03:51 +0100)]
builtin: kmod - reload index when rules are reloaded
Kay Sievers [Fri, 23 Dec 2011 17:30:29 +0000 (18:30 +0100)]
add copyright
Kay Sievers [Fri, 23 Dec 2011 17:19:18 +0000 (18:19 +0100)]
builtin: kmod - link against libkmod
Kay Sievers [Fri, 23 Dec 2011 12:38:46 +0000 (13:38 +0100)]
autogen.sh: moce CFLAGS from to configure.ac; print common ./configure options
Kay Sievers [Fri, 23 Dec 2011 12:37:48 +0000 (13:37 +0100)]
update NEWS
Kay Sievers [Fri, 23 Dec 2011 04:18:43 +0000 (05:18 +0100)]
remove last sbindir use
Kay Sievers [Fri, 23 Dec 2011 04:12:34 +0000 (05:12 +0100)]
builtin: apply format string
Kay Sievers [Fri, 23 Dec 2011 03:54:08 +0000 (04:54 +0100)]
rules: do not preprocess 80-drivers.rules + 75-probe_mtd.rules
Kay Sievers [Fri, 23 Dec 2011 03:50:33 +0000 (04:50 +0100)]
builtin: kmod - switch modprobe to builtin
Kay Sievers [Fri, 23 Dec 2011 03:06:34 +0000 (04:06 +0100)]
builtin: blkid - add missing ID_FS_USAGE
Kay Sievers [Fri, 23 Dec 2011 02:40:31 +0000 (03:40 +0100)]
builtin: blkid - add missing newline
Kay Sievers [Fri, 23 Dec 2011 02:30:02 +0000 (03:30 +0100)]
buildsys: disable tar.gz
Kay Sievers [Fri, 23 Dec 2011 02:23:37 +0000 (03:23 +0100)]
rules: do not preprocess 60-persistent-storage.rules
Kay Sievers [Fri, 23 Dec 2011 02:21:53 +0000 (03:21 +0100)]
rules: switch to built-in blkid
Kay Sievers [Fri, 23 Dec 2011 02:16:56 +0000 (03:16 +0100)]
update blkid builtin
Kay Sievers [Fri, 23 Dec 2011 01:02:44 +0000 (02:02 +0100)]
build argv[] for builtin commands
Alan Stern [Thu, 22 Dec 2011 21:12:30 +0000 (16:12 -0500)]
[PATCH[ udev: ata_id: Fix length of INQUIRY command
SCSI INQUIRY commands are 6 bytes long, not 12 bytes.
Kay Sievers [Wed, 21 Dec 2011 22:10:56 +0000 (23:10 +0100)]
add builtin load/unload initializers
Kay Sievers [Wed, 21 Dec 2011 21:30:48 +0000 (22:30 +0100)]
prepare builtins for blkid and kmod
Luis Felipe Strano Moraes [Wed, 21 Dec 2011 19:47:51 +0000 (11:47 -0800)]
Switch spawn_read to void and remove useless stores there.
The return value was never used and even if errors were found inside spawn_wait should still be called.
Kay Sievers [Wed, 21 Dec 2011 14:27:27 +0000 (15:27 +0100)]
make: do not (mis-)use the config file generator, create .xz tarball
Ville Skyttä [Tue, 20 Dec 2011 22:50:01 +0000 (23:50 +0100)]
man: spelling fix
Kay Sievers [Wed, 14 Dec 2011 22:29:48 +0000 (23:29 +0100)]
configure: fix typo
<mgorny> kay: btw you've got sbindir: ${bindir}
<mgorny> in configure check result printing
<mgorny> I think that's a typo
<kay> oh
Kay Sievers [Thu, 1 Dec 2011 11:17:22 +0000 (12:17 +0100)]
use libexecdir, bindir, sbindir, switch to /usr/lib/udev in documentation
Kay Sievers [Wed, 30 Nov 2011 14:21:01 +0000 (15:21 +0100)]
systemd: use PassCred=yes
Kay Sievers [Wed, 30 Nov 2011 14:12:34 +0000 (15:12 +0100)]
rename 'init' directory to 'systemd'
Martin Pitt [Tue, 29 Nov 2011 18:06:49 +0000 (19:06 +0100)]
75-persistent-net-generator.rules: Add Xen
Xen devices are not always caught by the SUBSYSTEMS=="xen" clause, so explictly
add their registered MAC prefix:
http://www.coffer.com/mac_find/?string=00%3A16%3A3E
https://launchpad.net/bugs/897789
Kay Sievers [Tue, 22 Nov 2011 22:51:17 +0000 (23:51 +0100)]
man: clarify 'config file stack'
Kay Sievers [Tue, 22 Nov 2011 00:15:55 +0000 (01:15 +0100)]
do not ship autogen.sh in the tarball
Sjoerd Simons [Fri, 18 Nov 2011 21:37:53 +0000 (21:37 +0000)]
keymap: Add Lenovo Thinkpad X220 Tablet
The Lenovo Thinkpad X220 Tablet has similar buttons as the previous
generations (circular arrow and rotate screen)
Signed-off-by: Sjoerd Simons <sjoerd@luon.net>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Tue, 8 Nov 2011 20:59:27 +0000 (21:59 +0100)]
libudev: print log_fn address instead of ctx when setting logging function
Patch from Jiri Pirko <jpirko@redhat.com> for libabc.
Kay Sievers [Mon, 7 Nov 2011 22:28:10 +0000 (23:28 +0100)]
release 175
Kay Sievers [Mon, 7 Nov 2011 22:21:29 +0000 (23:21 +0100)]
rules: fix typo
Harald Hoyer [Mon, 7 Nov 2011 13:54:47 +0000 (14:54 +0100)]
extras/keymap/findkeyboards: beautify shell code and get rid of grep
- save some extra forks and grep with shell code instead of calling
grep
- use $() instead of backticks (improves readability and addes
nesting capabilities)
Signed-off-by: Harald Hoyer <harald@redhat.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Sun, 6 Nov 2011 22:30:31 +0000 (23:30 +0100)]
rules: restore rule to set cdrom group for optical drives
On Sun, Nov 6, 2011 at 21:45, William Hubbs <w.d.hubbs@gmail.com> wrote:
> someone on gentoo just reported to me that the following rule has been
> deleted from udev-174, which is leaving his optical devices in the
> standard "disk" group. He does not want to add his users to this group.
Kay Sievers [Fri, 4 Nov 2011 14:16:35 +0000 (15:16 +0100)]
make: tweak some autofoo according to Flameeyes' recommendations for libabc
Kay Sievers [Tue, 1 Nov 2011 23:07:59 +0000 (00:07 +0100)]
replace AC_DISABLE_STATIC with LT_INIT([disable-static])
Kay Sievers [Tue, 1 Nov 2011 12:33:33 +0000 (13:33 +0100)]
do not skip /dev/{disk,char}/M:m removal when the device node is already gone
David Zeuthen [Mon, 31 Oct 2011 20:38:14 +0000 (16:38 -0400)]
gudev: Use g_ascii_strtoull() instead of strtoul()
This ensures that we get the same behavior on both 32- and
64-bit. Pointed out on the mailing list:
http://permalink.gmane.org/gmane.linux.hotplug.devel/17145
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Sat, 29 Oct 2011 16:16:43 +0000 (12:16 -0400)]
gudev: Use strtoul to parse unsigned 64-bit integers
Otherwise it will return 0x7fffffffffffffff instead of
0x8000000000000004 for e.g. this property
ID_PART_ENTRY_FLAGS=0x8000000000000004
Signed-off-by: David Zeuthen <davidz@redhat.com>
Martin Pitt [Wed, 26 Oct 2011 13:32:57 +0000 (15:32 +0200)]
keymap: Fix stuck keys on BenQ nScreen
https://launchpad.net/bugs/606599
Martin Pitt [Wed, 26 Oct 2011 13:14:03 +0000 (15:14 +0200)]
keymap: Fix bluetooth key on Acer TravelMate 7720
https://launchpad.net/bugs/696671
Martin Pitt [Wed, 26 Oct 2011 13:10:19 +0000 (15:10 +0200)]
keymap: Fix "internet" key on HP G62
https://launchpad.net/bugs/763525
Martin Pitt [Wed, 26 Oct 2011 13:06:08 +0000 (15:06 +0200)]
keymap: More Asus module variants
https://launchpad.net/bugs/795694
Martin Pitt [Wed, 26 Oct 2011 12:30:26 +0000 (14:30 +0200)]
keymap: Fix stuck keys on GIGABYTE i1520M
Thanks Lukáš Mojžíš!
https://launchpad.net/bugs/770680
Martin Pitt [Wed, 26 Oct 2011 09:11:15 +0000 (11:11 +0200)]
findkeyboards: Consistently use spaces instead of tabs
Martin Pitt [Wed, 26 Oct 2011 09:03:21 +0000 (11:03 +0200)]
extras/keymap/findkeyboards: Filter out non-event devices
This avoids running udevadm info --query=name against a non-existing devnode,
which aborts the script early.
Martin Pitt [Wed, 26 Oct 2011 05:38:06 +0000 (07:38 +0200)]
check-keymaps.sh: Allow running separately
Provide default arguments for SRCDIR and KEYLIST, so that you can just run this
from the root of the source tree, separately from make distcheck.
Jerone Young [Tue, 25 Oct 2011 05:22:30 +0000 (00:22 -0500)]
keymap: Fix micmute remap for Lenovo Thinkpads
Linux Kernel 3.1 now has proper support for a mic mute button:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=
33009557bd
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Sat, 22 Oct 2011 18:50:23 +0000 (20:50 +0200)]
ignore entire rules line if unknown keys are used
Kay Sievers [Wed, 19 Oct 2011 22:01:02 +0000 (00:01 +0200)]
make: add gpg signing bits
Kay Sievers [Wed, 19 Oct 2011 18:49:35 +0000 (20:49 +0200)]
release 174
Kay Sievers [Wed, 19 Oct 2011 18:42:10 +0000 (20:42 +0200)]
rules: do not load sg module
Jerone Young [Thu, 13 Oct 2011 03:31:20 +0000 (22:31 -0500)]
Add mic mute keycode support for Lenovo Thinkpad USB keyboard
This patch adds mic mute keycode support for the Lenovo Thinkpad USB
keyboard. Support for this keycode was introduced upstream, and will be
defined in upcoming 3.1 Linux Kernel input.h header:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=
33009557bd
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Wed, 12 Oct 2011 00:02:16 +0000 (02:02 +0200)]
systemd: use ConditionCapability=CAP_MKNOD instead of ConditionVirtualization=!container
Kay Sievers [Tue, 11 Oct 2011 11:25:44 +0000 (13:25 +0200)]
udevd: add missing braces
David: uh, don't you need curly braces in the udevd.c part at the bottom?
Kay Sievers [Mon, 10 Oct 2011 18:27:20 +0000 (20:27 +0200)]
udevd: install into /lib/udev instead of /sbin
Kay Sievers [Mon, 10 Oct 2011 12:49:18 +0000 (14:49 +0200)]
update NEWS
Kay Sievers [Mon, 10 Oct 2011 00:30:42 +0000 (02:30 +0200)]
udev_ctrl_cleanup()- accept NULL as argument
Kay Sievers [Sun, 9 Oct 2011 22:38:56 +0000 (00:38 +0200)]
udevd: control - no not delete socket file when --daemon is used
Kay Sievers [Sun, 9 Oct 2011 20:52:03 +0000 (22:52 +0200)]
udevadm: control - use /run/udev/control socket instead of abstract namespace one
Steve Langasek [Sat, 8 Oct 2011 09:14:09 +0000 (02:14 -0700)]
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>
Kay Sievers [Thu, 6 Oct 2011 01:14:50 +0000 (03:14 +0200)]
systemd: update drop-in sd-daemon files
Kay Sievers [Thu, 6 Oct 2011 01:11:33 +0000 (03:11 +0200)]
delete left-over files in extras/
Kay Sievers [Wed, 5 Oct 2011 23:49:36 +0000 (01:49 +0200)]
systemd: no not start udev in a container
Kay Sievers [Wed, 5 Oct 2011 23:40:44 +0000 (01:40 +0200)]
systemd: no not start udev in a container
Kay Sievers [Wed, 5 Oct 2011 23:30:55 +0000 (01:30 +0200)]
update TODO
Kay Sievers [Wed, 5 Oct 2011 23:10:59 +0000 (01:10 +0200)]
libudev: export udev_util_encode_string()
Kay Sievers [Wed, 5 Oct 2011 22:45:06 +0000 (00:45 +0200)]
remove 'udevadm trigger --type=failed' and SYSFS, ID, BUS keys
Kay Sievers [Wed, 5 Oct 2011 12:57:21 +0000 (14:57 +0200)]
usb_id: can't use global variables when used as built-in
Kay Sievers [Mon, 3 Oct 2011 12:01:33 +0000 (14:01 +0200)]
update NEWS
Kay Sievers [Mon, 3 Oct 2011 12:00:42 +0000 (14:00 +0200)]
keymap: add genius keymap to Makefile
Petr Uzel [Mon, 3 Oct 2011 11:48:43 +0000 (13:48 +0200)]
udevadm: settle - return failure if unknown option is given
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Kay Sievers [Mon, 26 Sep 2011 19:37:23 +0000 (21:37 +0200)]
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.
Kay Sievers [Mon, 26 Sep 2011 19:36:32 +0000 (21:36 +0200)]
libudev: fix typo in documentation
Kay Sievers [Sun, 18 Sep 2011 15:58:13 +0000 (17:58 +0200)]
update README
David Zeuthen [Wed, 31 Aug 2011 14:00:11 +0000 (10:00 -0400)]
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>
Kay Sievers [Thu, 1 Sep 2011 19:14:54 +0000 (21:14 +0200)]
mknod: do not complain about existing node
Kay Sievers [Sun, 28 Aug 2011 20:41:46 +0000 (22:41 +0200)]
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
Kir Kolyshkin [Mon, 22 Aug 2011 04:42:28 +0000 (06:42 +0200)]
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.
Paul Fox [Mon, 22 Aug 2011 04:39:06 +0000 (06:39 +0200)]
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
Thomas Hood [Mon, 22 Aug 2011 04:34:36 +0000 (06:34 +0200)]
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.
Thomas Hood [Mon, 22 Aug 2011 04:29:50 +0000 (06:29 +0200)]
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
Kay Sievers [Wed, 17 Aug 2011 19:07:09 +0000 (21:07 +0200)]
libudev: udev_device_get_sysattr_value() return syspath of custom links
Kay Sievers [Wed, 17 Aug 2011 19:05:18 +0000 (21:05 +0200)]
export USEC_INITIALIZED= and take timestamp on message receive time
Kay Sievers [Wed, 17 Aug 2011 19:03:05 +0000 (21:03 +0200)]
libudev: util_get_sys_(subsystem,driver}() -> util_get_sys_core_link_value()
Matthias Clasen [Tue, 16 Aug 2011 14:21:42 +0000 (16:21 +0200)]
make: allow to pass ${ACLOCAL_FLAGS}
Kay Sievers [Sun, 14 Aug 2011 17:04:16 +0000 (19:04 +0200)]
preserve 'sticky bit' on 'add/change' events
Kay Sievers [Fri, 12 Aug 2011 12:05:54 +0000 (14:05 +0200)]
update TODO
Kay Sievers [Fri, 12 Aug 2011 12:05:19 +0000 (14:05 +0200)]
rules: remove legacy rules for cdrom and usb printer
Kay Sievers [Thu, 11 Aug 2011 18:33:17 +0000 (20:33 +0200)]
do not remove static nodes on module unload
Martin Pitt [Mon, 8 Aug 2011 09:00:59 +0000 (11:00 +0200)]
keymap: Update Acer Aspire 5920g
https://launchpad.net/bugs/637695
Kay Sievers [Fri, 5 Aug 2011 00:00:30 +0000 (02:00 +0200)]
implement path_id, usb_id, input_id as built-in command
Kay Sievers [Thu, 4 Aug 2011 21:25:03 +0000 (23:25 +0200)]
rules: move input_id to default rules
On Tue, Aug 2, 2011 at 10:56, Thomas Bächler <thomas@archlinux.org> wrote:
> Commit
c49df20758e0f22778cfc93b598f2929f4c86272 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.
Kay Sievers [Thu, 4 Aug 2011 20:59:58 +0000 (22:59 +0200)]
libudev: list - use binary search for list lookup
Kay Sievers [Sun, 31 Jul 2011 00:59:25 +0000 (02:59 +0200)]
gtk-doc: delete empty files
Kay Sievers [Sat, 30 Jul 2011 21:31:54 +0000 (23:31 +0200)]
release 173
Kay Sievers [Sat, 30 Jul 2011 21:16:43 +0000 (23:16 +0200)]
udevd: debug - put timestamp in []