1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
Commit Graph

4162 Commits

Author SHA1 Message Date
Kay Sievers
eabac232a5 rules: fix typo 2011-11-07 23:21:29 +01:00
Harald Hoyer
7b9cebf082 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>
2011-11-07 17:54:04 +01:00
Kay Sievers
5101923ff9 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.
2011-11-06 23:30:31 +01:00
Kay Sievers
6a90a5124a make: tweak some autofoo according to Flameeyes' recommendations for libabc 2011-11-04 15:16:35 +01:00
Kay Sievers
6dd19db57c replace AC_DISABLE_STATIC with LT_INIT([disable-static]) 2011-11-02 00:07:59 +01:00
Kay Sievers
dbfb570586 do not skip /dev/{disk,char}/M:m removal when the device node is already gone 2011-11-01 13:33:33 +01:00
David Zeuthen
45197c02a5 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>
2011-10-31 22:20:34 +01:00
David Zeuthen
39649a8b3a 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>
2011-10-31 13:47:22 +01:00
Martin Pitt
092a53bb92 keymap: Fix stuck keys on BenQ nScreen
https://launchpad.net/bugs/606599
2011-10-26 15:32:57 +02:00
Martin Pitt
18ba176189 keymap: Fix bluetooth key on Acer TravelMate 7720
https://launchpad.net/bugs/696671
2011-10-26 15:14:03 +02:00
Martin Pitt
b3ffede4d9 keymap: Fix "internet" key on HP G62
https://launchpad.net/bugs/763525
2011-10-26 15:10:19 +02:00
Martin Pitt
6415f89732 keymap: More Asus module variants
https://launchpad.net/bugs/795694
2011-10-26 15:06:08 +02:00
Martin Pitt
23afb57f29 keymap: Fix stuck keys on GIGABYTE i1520M
Thanks Lukáš Mojžíš!

https://launchpad.net/bugs/770680
2011-10-26 14:30:26 +02:00
Martin Pitt
6882949d7a findkeyboards: Consistently use spaces instead of tabs 2011-10-26 11:11:15 +02:00
Martin Pitt
8ab7a9be03 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.
2011-10-26 11:03:21 +02:00
Martin Pitt
3aa3be179f 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.
2011-10-26 07:38:06 +02:00
Jerone Young
7796af6ae6 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>
2011-10-26 07:34:53 +02:00
Kay Sievers
9569148736 ignore entire rules line if unknown keys are used 2011-10-22 20:50:23 +02:00
Kay Sievers
af9cfc1190 make: add gpg signing bits 2011-10-20 00:01:02 +02:00
Kay Sievers
b3eccdce81 release 174 2011-10-19 20:49:35 +02:00
Kay Sievers
09637f7434 rules: do not load sg module 2011-10-19 20:42:10 +02:00
Jerone Young
6ac6c3a04c 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>
2011-10-19 20:29:07 +02:00
Kay Sievers
9371e6f3e0 systemd: use ConditionCapability=CAP_MKNOD instead of ConditionVirtualization=!container 2011-10-12 02:02:16 +02:00
Kay Sievers
54da62909f udevd: add missing braces
David: uh, don't you need curly braces in the udevd.c part at the bottom?
2011-10-11 13:25:44 +02:00
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