1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 20:25:38 +03:00
Commit Graph

3464 Commits

Author SHA1 Message Date
Amit Shah
7b79a59b28 rules: Add symlink rule for virtio ports
virtio ports spawned by the virtio_console.c driver can have 'names'
assigned to them by hosts. The ports are distinguishable using these
names. Make a rule to create a symlink to the chardev associated for a
port with a name.

The symlink created is:
    /dev/virtio-ports/org.libvirt.console0 -> /dev/vport0p0

if the first port for the first device was given a name of
'org.libvirt.console0'.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
2010-01-21 14:21:42 +01:00
Egbert Eich
2b8a573536 rulews: suse - add do-not-load-KMS-modules rules 2010-01-21 11:38:32 +01:00
Kay Sievers
7ca9a05dca input_id: include limits.h 2010-01-21 08:46:17 +01:00
Martin Pitt
1e6cff0b3b keymap: Fix invalid map line
Fix invalid line in keymaps/lenovo-thinkpad-usb-keyboard-trackpoint which did
not assign any key to a scan code.
2010-01-21 01:10:28 +01:00
Martin Pitt
386aa6ebd8 extras/keymap/check-keymaps.sh: Ignore comment-only lines 2010-01-21 01:09:16 +01:00
Martin Pitt
9a6741ba2f keymap: move force-release directory
Move extras/keymap/keymaps/force-release/ to
extras/keymap/force-release-maps/, so that check-keymaps.sh does not stumble
over the directory. It's also a more logical source layout.
2010-01-21 00:55:59 +01:00
Martin Pitt
bba10e1c92 add ACL rule for Garmin GPSMap 60
https://qa.mandriva.com/show_bug.cgi?id=55836
2010-01-19 21:31:27 +01:00
Marco d'Itri
fc8e4dd932 keymap: support for the Samsung N140 keyboard 2010-01-19 10:43:06 +01:00
Kay Sievers
7b4038a96f clarify message about not removed device node 2010-01-15 00:32:10 +01:00
Frederic Crozat
456863e351 rules: acl - add COLOR_MEASUREMENT_DEVICE match 2010-01-14 16:12:19 +01:00
Kay Sievers
7c34949019 libudev: device - create db file atomically
We need to prevent that libudev parses half-written database files.

Also for "change" events, we need to make sure, that database files
always exist to be read by libudev, and that they are not first deleted
before they are re-created.
2010-01-13 13:26:56 +01:00
Kay Sievers
889dd1061c do not remove device nodes of active kernel devices
We do no longer delete the primary device node while handling "remove"
events if the same kernel device is already re-created in the meantime.
This prevents the asynchronously running udev from removing and re-creating
primary device nodes for active devices.
2010-01-13 13:18:14 +01:00
Kay Sievers
6f1892dc7a udevd: inotify - do not parse rules at create but at close
We do not need to get notified about created files, only about moved
ones or files closed-after-writing.
2010-01-13 13:09:02 +01:00
Kay Sievers
a16b18f091 configure.ac: version bump 2010-01-13 12:59:37 +01:00
Marco d'Itri
390312b8ed writing_udev_rules: update rules files names 2010-01-11 11:55:50 +01:00
Bryan Kadzban
0196d02a76 Fix reverted floppy-device permissions
Commit d93fb59c50 ("rules: set mode of
floppy device nodes to 0660") changed the create_floppy_devices -M
argument to 0660, for udev-148.

Commit 78171d9549 reverted this, when it
moved the call to create_floppy_devices out to another rules file, for
udev-150.

Presumably the 0660 mode was correct, and the 0640 reversion was not
intentional; this restores 0660.

Signed-off-by: Bryan Kadzban <bryan@kadzban.is-a-geek.net>
2010-01-11 10:44:37 +01:00
Kay Sievers
ca63e6a8cf release 150 2010-01-07 17:21:26 +01:00
Kay Sievers
4e45e1ad93 gobject-introspection: use $datadir instead of $prefix 2010-01-07 17:16:23 +01:00
Kay Sievers
43cb1551d5 work around gtk-doc which breaks distcheck 2010-01-07 17:11:06 +01:00
Kay Sievers
1a259f1ac8 libudev: doc - add symbols to sections.txt 2010-01-07 16:42:23 +01:00
Marco d'Itri
fa0612104a rules: udev-acl - add firewire video devices 2010-01-07 16:18:18 +01:00
Marco d'Itri
6714dc2015 build: keymap - create subdir 2010-01-07 16:18:18 +01:00
Clemens Buchacher
6b48014b18 keymap: Samsung R70/R71 force-release quirk
http://www.spinics.net/lists/hotplug/msg03269.html

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-01-05 16:55:18 +01:00
Martin Pitt
1e69248fec keymap: Document force-release
Make a note in README.keymap.txt about stuck keys which need a force-release
quirk.
2010-01-05 09:52:30 +01:00
Martin Pitt
7cbbd7e7b1 keymap: Add Fujitsu Amilo Li 1718
https://launchpad.net/bugs/250732
2010-01-05 09:39:53 +01:00
Jerone Young
5da8438016 keymap: Lenovo Thinkpad USB Keyboard with Tracepoint
Add support for special function keys on Lenovo Thinkpad USB Keyboard
Tracepoint.

    - VoIP hotkey "FN+F6" is mapped to camera, and may need to change
      if there is a standard VoIP hotkey defined.
    - Mute Microphone key has not been defined, as there is no
      standard key defined for it yet.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-01-03 11:42:12 +01:00
Thomas de Grenier de Latour
9bdcffd738 libudev: enumerate - fix move_later logic
The move_later_prefix variable was reset to zero on each
loop iteration, and thus the move_later entry (if any) was
not added right after changing to another syspath prefix,
but rather after exiting the enumeration loop.
2009-12-30 16:21:59 +01:00
Martin Pitt
1f819a1776 keymap: Add LG X110
This is an MSI Wind clone.

Reported on hal ML by Ozan Çağlayan <ozan@pardus.org.tr>
2009-12-27 11:42:21 +01:00
Daniel Drake
fd3401a641 keymap: Fix typo in compal rules
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-27 11:37:00 +01:00
Daniel Drake
bf088a572e keymap: Add OLPC XO key mappings
This supports both XO-1 and XO-1.5.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-27 11:36:36 +01:00
Martin Pitt
f1707f125a keymap: Add Acer Aspire 1810TZ
https://launchpad.net/bugs/492657
2009-12-27 11:30:53 +01:00
Martin Pitt
6ab861dcce keymap: add Acer TravelMate 8471
https://launchpad.net/bugs/492657
2009-12-26 11:16:33 +01:00
Kay Sievers
d5a01cb8b3 udevadm: logging - copy va_list and do not use it twice 2009-12-25 16:14:22 +01:00
Kay Sievers
f46d2e54a8 remove UDEV_RUN environment variable
It handles only RUN but not IMPORT and PROGRAM. There is no sane way
to suppress program execution. Most important programs run with IMPORT
these days. Also events can no longer suppressed with the libudev
netlink messages, so UDEV_RUN does nothing useful and is just
inconsistent.
2009-12-25 15:23:45 +01:00
Kay Sievers
1d67ec16c4 fix typo in log message priority handling 2009-12-25 14:47:59 +01:00
Kay Sievers
58b533f417 remove remaining support for CONFIG_SYSFS_DEPRECATED 2009-12-24 22:10:40 +01:00
Kay Sievers
299650f1e3 udevadm: info - fix info --root --query=name --path= for device without a device node
Subject: Bug#561279: udev: Crash location and first-level cause
Reply-To: Stephen Kitt <steve@sk2.org>, 561279@bugs.debian.org
2009-12-24 20:42:02 +01:00
Martin Pitt
db05f93727 keymap: Add Logitech S510 USB keyboard
The Logitech S510 identifies just like the already existing
"logitech-wave-cordless" variant, but with wildly different scancodes. So just
merge the tables, since they won't collide.

https://launchpad.net/bugs/259244
2009-12-23 10:38:20 +01:00
Martin Pitt
7729cd2fad Clarify RUN/IMPORT documentation
Explain command/argument separation rules, search path, and quoting for RUN and
IMPORT.

http://bugs.debian.org/550206
2009-12-22 13:08:23 +01:00
Martin Pitt
b24e3bb62f keymap: Add hotkey quirk for Acer Aspire One (AO531h/AO751h)
From hal-info ML, thanks to Keng-Yü Lin!
2009-12-22 12:48:50 +01:00
Martin Pitt
b73bf332c2 Speed up udev_enumerate_scan_*
Check property match earlier, to avoid lots of readlink() and stat()
calls when we check property matches.
2009-12-21 15:41:25 +01:00
Clemens Buchacher
c71d6a45aa add Samsung R70/R71 keymap
Required for the keyboard driver to recognize special keys such as Fn+F2
(battery), Fn+F3 (euro), Fn+F4 (switchmode), Fn+F6 (mute), Fn+F7
(XF86Launch2), Fn+up/down (brightness), Fn+left/right (volume). Fn+F5 (blank
screen) and Fn+F8 still do not generate events after this change, howver.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-21 09:24:34 +01:00
Kay Sievers
5607391481 update mtime of nodes and links when we re-use them 2009-12-18 21:25:13 +01:00
Piter PUNK
6fb1b637d4 firmware: convert shell script to C 2009-12-15 16:28:52 +01:00
Kay Sievers
caf87866a7 rules: add "block" match to floppy rule 2009-12-15 16:17:12 +01:00
Kay Sievers
63480d01aa cdrom_id: remove deprecated device matches 2009-12-15 16:15:33 +01:00
Kay Sievers
3c1898863f remove remaining support for CONFIG_SYSFS_DEPRECATED 2009-12-15 16:14:14 +01:00
Kay Sievers
ac9b4baac5 configure.ac: version bump 2009-12-15 15:53:21 +01:00
Kay Sievers
78171d9549 floppy: fix rule to create additional floppy device nodes 2009-12-15 15:07:25 +01:00
Daniel Elstner
3fac12b9a0 libudev: wrap in extern "C" block for C++
When libudev.h is included from C++ code, wrap the declarations in an
extern "C" { ... } block.  This tells the C++ compiler that symbols
are exported with C linkage and no name-mangling.
2009-12-15 12:49:25 +01:00