1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00
Commit Graph

3549 Commits

Author SHA1 Message Date
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
Martin Pitt
9c0c2fe6bb keymap: fix findkeyboards
Update findkeyboards for the recent ID_CLASS deprecation, use ID_INPUT_KEYBOARD
instead. This simplifies the logic a bit, too.
2009-12-15 11:49:12 +01:00
Johannes Stezenbach
8350d0b9ec keymap: handle atkbd force_release quirk
Some laptop keyboards don't generate release events
for some hotkeys.  Since linux-2.6.32 the list of scancodes
for which to enable the force_release quirk can be set
via sysfs.
Apply this to Samsung N130.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-14 19:19:35 +01:00
Martin Pitt
92b8cea053 95-keymap.rules: Run on change events, too 2009-12-14 14:31:51 +01:00
Johannes Stezenbach
666faec4e4 keymap: add Samsung N130
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-14 09:30:17 +01:00
Scott James Remnant
4fe41ac874 70-acl.rules: ACL manage Android G1 dev phones
There doesn't seem to be any special class for their developer
interface, so match by Vendor and Device id like we do for things
like fingerprint readers.

This is better than their current 0666 suggestion <g>

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
2009-12-10 20:01:05 +00:00
Martin Pitt
d0a161ce64 keymap: Add Acer Aspire 1810T
https://launchpad.net/bugs/492657
2009-12-10 09:22:33 +01:00
Kay Sievers
99eb7c451c util_unlink_secure(): chmod() before chown() 2009-12-08 18:44:45 +01:00
David Zeuthen
7f4954d040 Export ID_WWN_VENDOR_EXTENSION and ID_WWN_WITH_EXTENSION
Some SCSI devices use the same WWN and have a WWN extension that we
need to take into account when creating the /dev/disk/by-id/wwn
symlinks. Thus, introduce ID_WWN_WITH_EXTENSION. This property will
contain either the WWN (if no extension is present) or the WWN with
the vendor extension appended.

Example:

 # /lib/udev/ata_id/ata_id --export /dev/sda |grep WWN
 ID_WWN=0x5001517387d61905
 ID_WWN_WITH_EXTENSION=0x5001517387d61905

 # /lib/udev/scsi_id --whitelisted --export -d /dev/sdb |grep WWN
 ID_WWN=0x600508b400105df7
 ID_WWN_VENDOR_EXTENSION=0x0000e00000d80000
 ID_WWN_WITH_EXTENSION=0x600508b400105df70000e00000d80000

 # /lib/udev/scsi_id --whitelisted --export -d /dev/sdc |grep WWN
 ID_WWN=0x600508b400105df7
 ID_WWN_VENDOR_EXTENSION=0x0000e00000db0000
 ID_WWN_WITH_EXTENSION=0x600508b400105df70000e00000db0000

Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-12-04 11:40:00 -05:00
Kay Sievers
07fb7fce66 release 149 2009-12-03 14:39:12 +01:00
Kay Sievers
baf2e222d5 fix both in-tree and out-of-tree builds
On Thu, Dec 3, 2009 at 14:31, Daniel Elstner <daniel.kitta@googlemail.com> wrote:
> However, I'd recommend to look first in the build directory, and then in
> the source directory to match the behavior of make with VPATH builds.
> The idea is that a file in the build tree, if it exists, overrides a
> file of the same name in the source tree.
2009-12-03 14:36:36 +01:00
Kay Sievers
83d288085f really really fix both in-tree and out-of-tree builds
The include is still missing:
  GEN    extras/gudev/GUdev-1.0.gir
  In file included from <stdin>:4:
  /home/kay/work/src/udev/extras/gudev/gudev.h:26:34: error: gudev/gudevenumtypes.h: No such file or directory

Also prepend $(builddir).
2009-12-03 13:58:18 +01:00
Daniel Elstner
a4035cce36 really fix both in-tree and out-of-tree builds
Makefile.am (extras/gudev/GUdev-1.0.gir): Look for gudevenumtypes.h
in both the build directory and the source directory, so that it works
in either case.
2009-12-03 13:57:44 +01:00
Kay Sievers
4cf3298e1f configure.ac: version bump 2009-12-03 13:31:43 +01:00
Kay Sievers
79ef2e97d9 libudev: doc - use #NULL 2009-12-03 13:31:27 +01:00
Martin Pitt
54d4f54e85 udev_device_get_parent_with_subsystem_devtype(): Clarify documentation
devtype can be NULL, in which case it is ignored for matching.
2009-12-03 13:25:19 +01:00