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>
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
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 000000800000101b". 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.
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.
Lee, Chun-Yi [Fri, 10 Jun 2011 06:45:12 +0000 (14:45 +0800)]
Support more MSI notebook by using asterisk on dmi vendor name
MSI machines have some different vendor name, and the refix on those vendor
name are "MICRO-STAR" or "Micro-Star". So, merge the original two rules to
one, and use asterisk on dmi vendor name for support more MSI machines.
Tested on MSI U270 netbook.
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Mon, 30 May 2011 00:12:02 +0000 (02:12 +0200)]
rules: static_node - use 0660 if group is given to get the cigar
>> On Tue, May 24, 2011 at 15:33, Tom Gundersen <teg@jklm.no> wrote:
>
> Close, but no cigar. Looks like the static nodes are not assigned
> permissions 0660 even if a gid is set (the nodes have perms 0600).
>
> Cheers,
>
> Tom