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.
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:
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.