chiark / gitweb /
elogind.git
10 years agolibudev: add udev_device_new_from_environment()
Kay Sievers [Wed, 17 Mar 2010 16:42:35 +0000 (17:42 +0100)]
libudev: add udev_device_new_from_environment()

10 years agodo not reset SELinux context when the node was not touched
Kay Sievers [Wed, 17 Mar 2010 08:15:18 +0000 (09:15 +0100)]
do not reset SELinux context when the node was not touched

10 years agoFix switching Logitech bluetooth adapters into hci mode.
Marco d'Itri [Tue, 16 Mar 2010 11:47:42 +0000 (12:47 +0100)]
Fix switching Logitech bluetooth adapters into hci mode.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567237
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/444420

10 years agorules: input - create by-path/ links for pci devices
Marco d'Itri [Tue, 16 Mar 2010 11:44:43 +0000 (12:44 +0100)]
rules: input - create by-path/ links for pci devices

10 years agofirmware: fix possible segfault when firmware device goes away while loading
Kay Sievers [Tue, 16 Mar 2010 09:57:44 +0000 (10:57 +0100)]
firmware: fix possible segfault when firmware device goes away while loading

Thanks to Ruediger Oertel.

10 years agoudev needs automake 1.10
Adrian Bunk [Thu, 11 Mar 2010 13:05:42 +0000 (15:05 +0200)]
udev needs automake 1.10

extras/gudev/docs/Makefile.am:4: require Automake 1.10, but have 1.9.6
libudev/docs/Makefile.am:4: require Automake 1.10, but have 1.9.6

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agolibudev: docs - .gitignore backup files
Kay Sievers [Thu, 11 Mar 2010 12:01:48 +0000 (13:01 +0100)]
libudev: docs - .gitignore backup files

10 years agouse major:minor as entries in watch directory
Kay Sievers [Wed, 10 Mar 2010 17:54:35 +0000 (18:54 +0100)]
use major:minor as entries in watch directory

10 years agouse major:minor as entries in symlink stack instead of devpath
Kay Sievers [Wed, 10 Mar 2010 16:29:27 +0000 (17:29 +0100)]
use major:minor as entries in symlink stack instead of devpath

10 years agoudevadm: monitor - use / as separator in --subsystem-match=subsystem[/devtype]
Kay Sievers [Wed, 10 Mar 2010 14:00:00 +0000 (15:00 +0100)]
udevadm: monitor - use / as separator in --subsystem-match=subsystem[/devtype]

10 years agolibbudev-private: rename udev_list_entry_get_flag()
Kay Sievers [Wed, 10 Mar 2010 13:52:42 +0000 (14:52 +0100)]
libbudev-private: rename udev_list_entry_get_flag()

10 years agoreplace utimes() with utimensat()
Kay Sievers [Wed, 10 Mar 2010 13:43:07 +0000 (14:43 +0100)]
replace utimes() with utimensat()

10 years agoinput_id: Fix linking
Martin Pitt [Wed, 10 Mar 2010 11:17:03 +0000 (12:17 +0100)]
input_id: Fix linking

Link against libudev-private.a instead of libudev.a, to avoid runtime
dependency to libudev.

10 years agoudev-acl: no not encourage use of ACL_MANAGE outside of rules file
Kay Sievers [Sun, 7 Mar 2010 12:47:34 +0000 (13:47 +0100)]
udev-acl: no not encourage use of ACL_MANAGE outside of rules file

10 years agoudev-acl: Correctly handle ENV{ACL_MANAGE}==0
Martin Pitt [Wed, 3 Mar 2010 23:48:59 +0000 (00:48 +0100)]
udev-acl: Correctly handle ENV{ACL_MANAGE}==0

When a custom rule sets ACL_MANAGE to 0 to disable ACL management for a
particular device, handle this as "disabled", by explicitly checking against
"1" instead of "nonempty".

Thanks to Rafał Rzepecki for pointing this out.

10 years agoFix virtio-ports rule to use $attr instead of $ATTR
Amit Shah [Fri, 26 Feb 2010 08:35:41 +0000 (14:05 +0530)]
Fix virtio-ports rule to use $attr instead of $ATTR

Newer udev versions don't understand $ATTR.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agoIncrease UTIL_LINE_SIZE from 2048 to 16384
David Zeuthen [Tue, 2 Mar 2010 22:10:02 +0000 (17:10 -0500)]
Increase UTIL_LINE_SIZE from 2048 to 16384

Recent udisks versions, for LVM2 integration, ships with probers that
produce very long lines such as

UDISKS_LVM2_PV_VG_PV_LIST=
  uuid=98lyZl-Ya7U-p26Z-Ia7b-xf8u-xZqP-jc4njb;size=2000397795328;allocated_size=2000397795328
  uuid=iFs0cM-sxCF-ceQK-hZl1-kbwo-ZTjq-gSewQR;size=2000397795328;allocated_size=2000397795328
  [...]

e.g. roughly 100 bytes per LVM2 physical volume for each LVM2
PV encountered.

Signed-off-by: David Zeuthen <davidz@redhat.com>
10 years agoUse UTIL_LINE_SIZE, not UTIL_PATH_SIZE to truncate properties
David Zeuthen [Tue, 2 Mar 2010 22:07:14 +0000 (17:07 -0500)]
Use UTIL_LINE_SIZE, not UTIL_PATH_SIZE to truncate properties

Signed-off-by: David Zeuthen <davidz@redhat.com>
10 years agoDecrease buffer size when advancing past NUL byte
David Zeuthen [Tue, 2 Mar 2010 22:06:33 +0000 (17:06 -0500)]
Decrease buffer size when advancing past NUL byte

Otherwise we'll overflow the buffer if space is tight. Also add a comment explaining this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
10 years agokeymap: Add Fujitsu Amilo 1848+u force-release quirk
Andy Whitcroft [Tue, 2 Mar 2010 13:00:32 +0000 (14:00 +0100)]
keymap: Add Fujitsu Amilo 1848+u  force-release quirk

The Fujitsu Amilo Si 1848+u laptop requires the volume and mute keys
quirking.

https://launchpad.net/bugs/530089

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agokeymap: Add Samsung Q210/P210 force-release quirk
Andy Whitcroft [Tue, 2 Mar 2010 12:55:03 +0000 (13:55 +0100)]
keymap: Add Samsung Q210/P210 force-release quirk

The Samsung Q210/P210 laptop also needs all of its function keys quirked.

https://launchpad.net/bugs/530093

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agoconfigure.ac: version bump
Kay Sievers [Thu, 18 Feb 2010 10:09:25 +0000 (11:09 +0100)]
configure.ac: version bump

10 years agoudevadm: fix untested and broken commit to set buffer size
Kay Sievers [Thu, 18 Feb 2010 10:03:28 +0000 (11:03 +0100)]
udevadm: fix untested and broken commit to set buffer size

10 years agolibudev: bump minor version
Kay Sievers [Thu, 18 Feb 2010 10:03:09 +0000 (11:03 +0100)]
libudev: bump minor version

10 years agoudevadm monitor: increase netlink buffer size
Scott James Remnant [Wed, 17 Feb 2010 15:27:36 +0000 (15:27 +0000)]
udevadm monitor: increase netlink buffer size

A common use (e.g. in Ubuntu) for udevadm monitor is to log the events
received by udev during boot; events can be lost of the buffer size isn't
increased as udevd does.

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
10 years agolibudev: export udev_monitor_set_receive_buffer_size()
Scott James Remnant [Wed, 17 Feb 2010 15:26:00 +0000 (15:26 +0000)]
libudev: export udev_monitor_set_receive_buffer_size()

This function is useful for anything that's likely to be running
alongside udevd during cold-plugging, and is using libudev to
receive the events.

It makes little sense for it to be private, or to require other
software to relearn how to adjust the buffer size.

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
10 years agokeymap: Add Toshiba Satellite M30X
Martin Pitt [Mon, 15 Feb 2010 12:15:25 +0000 (13:15 +0100)]
keymap: Add Toshiba Satellite M30X

Thanks to Alessio Gaeta!

https://launchpad.net/bugs/510019

10 years agoForce key release for volume keys on Dell Studio 1557
Jerone Young [Sat, 13 Feb 2010 00:08:08 +0000 (18:08 -0600)]
Force key release for volume keys on Dell Studio 1557

Dell Studio 1557 does not generate a release code when the volume keys
are pressed, causing them to generate infinite key presses. This forces
key release of these keys.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agokeymap: Fix LG X110
Martin Pitt [Fri, 12 Feb 2010 18:25:47 +0000 (19:25 +0100)]
keymap: Fix LG X110

The LG X110 is not a perfect clone of the MSI Wind after all, and needs its own
keymap. Thanks to Konstantin Lavrov!

https://launchpad.net/bugs/520650

10 years agokeymap: Add support for Gateway AOA110/AOA150 clones.
Robert Hooker [Sun, 7 Feb 2010 18:56:27 +0000 (13:56 -0500)]
keymap: Add support for Gateway AOA110/AOA150 clones.

https://launchpad.net/bugs/518496

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agoFix brightness keys on MSI Wind U-100
Martin Pitt [Tue, 9 Feb 2010 14:47:47 +0000 (15:47 +0100)]
Fix brightness keys on MSI Wind U-100

The MSI Wind 100 generates ACPI/input events on the LNXVIDEO input device. On
top of that, the video module/BIOS synthesize some extra event on atkbd as an
echo of actually changing the brightness.

Ignore the wrong and useless atkbd ones, to avoid event loops.

Many thanks to Hans de Goede for tracking this down!

https://launchpad.net/bugs/415023

10 years agokeymap: Add Dell Inspiron 1011 (Mini 10)
Martin Pitt [Mon, 1 Feb 2010 23:27:46 +0000 (15:27 -0800)]
keymap: Add Dell Inspiron 1011 (Mini 10)

This fixes the broken WLAN key.

10 years agofirmware: fix error reporting on missing firmware files
Thomas Bächler [Sun, 31 Jan 2010 12:49:02 +0000 (13:49 +0100)]
firmware: fix error reporting on missing firmware files

The new firmware loader does not report an error to the kernel if a firmware file
is missing. This results in modprobe stalling for 60 seconds for each firmware
a module tries to load.

10 years agorelease 151
Kay Sievers [Wed, 27 Jan 2010 08:34:28 +0000 (09:34 +0100)]
release 151

10 years agoupdate tests
Kay Sievers [Wed, 27 Jan 2010 08:30:48 +0000 (09:30 +0100)]
update tests

10 years agoupdate README and NEWS
Kay Sievers [Mon, 25 Jan 2010 10:10:10 +0000 (11:10 +0100)]
update README and NEWS

10 years agodelete outdated and unmaintained writing_udev_rules
Kay Sievers [Mon, 25 Jan 2010 09:48:04 +0000 (10:48 +0100)]
delete outdated and unmaintained writing_udev_rules

Many statements in this document are no longer correct, or even
suggest things we do not want to support, or do not work at all
with the current version of udev.

Any new documentation should better be added to the udev man page,
which is usually kept up-to-date.

10 years agokeymap: linux/input.h - get absolute include path from gcc
Kay Sievers [Mon, 25 Jan 2010 07:22:47 +0000 (08:22 +0100)]
keymap: linux/input.h - get absolute include path from gcc

10 years agokeymap: include linux/limits.h
Kay Sievers [Mon, 25 Jan 2010 06:37:41 +0000 (07:37 +0100)]
keymap: include linux/limits.h

10 years agorules: Add symlink rule for virtio ports
Amit Shah [Thu, 21 Jan 2010 13:15:04 +0000 (18:45 +0530)]
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>
10 years agorulews: suse - add do-not-load-KMS-modules rules
Egbert Eich [Thu, 21 Jan 2010 10:38:32 +0000 (11:38 +0100)]
rulews: suse - add do-not-load-KMS-modules rules

10 years agoinput_id: include limits.h
Kay Sievers [Wed, 20 Jan 2010 23:23:17 +0000 (00:23 +0100)]
input_id: include limits.h

10 years agokeymap: Fix invalid map line
Martin Pitt [Thu, 21 Jan 2010 00:10:28 +0000 (01:10 +0100)]
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.

10 years agoextras/keymap/check-keymaps.sh: Ignore comment-only lines
Martin Pitt [Thu, 21 Jan 2010 00:09:16 +0000 (01:09 +0100)]
extras/keymap/check-keymaps.sh: Ignore comment-only lines

10 years agokeymap: move force-release directory
Martin Pitt [Wed, 20 Jan 2010 23:55:59 +0000 (00:55 +0100)]
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.

10 years agoadd ACL rule for Garmin GPSMap 60
Martin Pitt [Tue, 19 Jan 2010 20:31:27 +0000 (21:31 +0100)]
add ACL rule for Garmin GPSMap 60

https://qa.mandriva.com/show_bug.cgi?id=55836

10 years agokeymap: support for the Samsung N140 keyboard
Marco d'Itri [Tue, 19 Jan 2010 09:43:06 +0000 (10:43 +0100)]
keymap: support for the Samsung N140 keyboard

10 years agoclarify message about not removed device node
Kay Sievers [Thu, 14 Jan 2010 23:32:10 +0000 (00:32 +0100)]
clarify message about not removed device node

10 years agorules: acl - add COLOR_MEASUREMENT_DEVICE match
Frederic Crozat [Thu, 14 Jan 2010 15:12:19 +0000 (16:12 +0100)]
rules: acl - add COLOR_MEASUREMENT_DEVICE match

10 years agolibudev: device - create db file atomically
Kay Sievers [Wed, 13 Jan 2010 12:26:56 +0000 (13:26 +0100)]
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.

10 years agodo not remove device nodes of active kernel devices
Kay Sievers [Wed, 13 Jan 2010 12:18:14 +0000 (13:18 +0100)]
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.

10 years agoudevd: inotify - do not parse rules at create but at close
Kay Sievers [Wed, 13 Jan 2010 12:09:02 +0000 (13:09 +0100)]
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.

10 years agoconfigure.ac: version bump
Kay Sievers [Wed, 13 Jan 2010 11:59:37 +0000 (12:59 +0100)]
configure.ac: version bump

10 years agowriting_udev_rules: update rules files names
Marco d'Itri [Mon, 11 Jan 2010 10:55:50 +0000 (11:55 +0100)]
writing_udev_rules: update rules files names

10 years agoFix reverted floppy-device permissions
Bryan Kadzban [Mon, 11 Jan 2010 01:02:29 +0000 (17:02 -0800)]
Fix reverted floppy-device permissions

Commit d93fb59c50a720e2a1ace2177cc824c00ff8eed6 ("rules: set mode of
floppy device nodes to 0660") changed the create_floppy_devices -M
argument to 0660, for udev-148.

Commit 78171d9549fafdfc1e29d30915104a3ad55e116b 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>
10 years agorelease 150
Kay Sievers [Thu, 7 Jan 2010 16:21:26 +0000 (17:21 +0100)]
release 150

10 years agogobject-introspection: use $datadir instead of $prefix
Kay Sievers [Thu, 7 Jan 2010 16:16:23 +0000 (17:16 +0100)]
gobject-introspection: use $datadir instead of $prefix

10 years agowork around gtk-doc which breaks distcheck
Kay Sievers [Thu, 7 Jan 2010 16:11:06 +0000 (17:11 +0100)]
work around gtk-doc which breaks distcheck

10 years agolibudev: doc - add symbols to sections.txt
Kay Sievers [Thu, 7 Jan 2010 15:42:23 +0000 (16:42 +0100)]
libudev: doc - add symbols to sections.txt

10 years agorules: udev-acl - add firewire video devices
Marco d'Itri [Thu, 7 Jan 2010 15:17:22 +0000 (16:17 +0100)]
rules: udev-acl - add firewire video devices

10 years agobuild: keymap - create subdir
Marco d'Itri [Thu, 7 Jan 2010 15:16:00 +0000 (16:16 +0100)]
build: keymap - create subdir

10 years agokeymap: Samsung R70/R71 force-release quirk
Clemens Buchacher [Tue, 5 Jan 2010 15:55:18 +0000 (16:55 +0100)]
keymap: Samsung R70/R71 force-release quirk

http://www.spinics.net/lists/hotplug/msg03269.html

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agokeymap: Document force-release
Martin Pitt [Tue, 5 Jan 2010 08:52:30 +0000 (09:52 +0100)]
keymap: Document force-release

Make a note in README.keymap.txt about stuck keys which need a force-release
quirk.

10 years agokeymap: Add Fujitsu Amilo Li 1718
Martin Pitt [Tue, 5 Jan 2010 08:39:53 +0000 (09:39 +0100)]
keymap: Add Fujitsu Amilo Li 1718

https://launchpad.net/bugs/250732

10 years agokeymap: Lenovo Thinkpad USB Keyboard with Tracepoint
Jerone Young [Sun, 3 Jan 2010 10:42:12 +0000 (11:42 +0100)]
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>
10 years agolibudev: enumerate - fix move_later logic
Thomas de Grenier de Latour [Wed, 30 Dec 2009 15:21:59 +0000 (16:21 +0100)]
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.

10 years agokeymap: Add LG X110
Martin Pitt [Sun, 27 Dec 2009 10:42:21 +0000 (11:42 +0100)]
keymap: Add LG X110

This is an MSI Wind clone.

Reported on hal ML by Ozan Çağlayan <ozan@pardus.org.tr>

10 years agokeymap: Fix typo in compal rules
Daniel Drake [Thu, 24 Dec 2009 12:46:09 +0000 (12:46 +0000)]
keymap: Fix typo in compal rules

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agokeymap: Add OLPC XO key mappings
Daniel Drake [Thu, 24 Dec 2009 12:43:46 +0000 (12:43 +0000)]
keymap: Add OLPC XO key mappings

This supports both XO-1 and XO-1.5.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agokeymap: Add Acer Aspire 1810TZ
Martin Pitt [Sun, 27 Dec 2009 10:30:53 +0000 (11:30 +0100)]
keymap: Add Acer Aspire 1810TZ

https://launchpad.net/bugs/492657

10 years agokeymap: add Acer TravelMate 8471
Martin Pitt [Sat, 26 Dec 2009 10:16:33 +0000 (11:16 +0100)]
keymap: add Acer TravelMate 8471

https://launchpad.net/bugs/492657

10 years agoudevadm: logging - copy va_list and do not use it twice
Kay Sievers [Fri, 25 Dec 2009 15:14:22 +0000 (16:14 +0100)]
udevadm: logging - copy va_list and do not use it twice

10 years agoremove UDEV_RUN environment variable
Kay Sievers [Fri, 25 Dec 2009 14:23:45 +0000 (15:23 +0100)]
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.

10 years agofix typo in log message priority handling
Kay Sievers [Fri, 25 Dec 2009 13:47:59 +0000 (14:47 +0100)]
fix typo in log message priority handling

10 years agoremove remaining support for CONFIG_SYSFS_DEPRECATED
Kay Sievers [Thu, 24 Dec 2009 21:10:40 +0000 (22:10 +0100)]
remove remaining support for CONFIG_SYSFS_DEPRECATED

10 years agoudevadm: info - fix info --root --query=name --path= for device without a device...
Kay Sievers [Thu, 24 Dec 2009 19:42:02 +0000 (20:42 +0100)]
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

10 years agokeymap: Add Logitech S510 USB keyboard
Martin Pitt [Wed, 23 Dec 2009 09:38:20 +0000 (10:38 +0100)]
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

10 years agoClarify RUN/IMPORT documentation
Martin Pitt [Tue, 22 Dec 2009 12:08:23 +0000 (13:08 +0100)]
Clarify RUN/IMPORT documentation

Explain command/argument separation rules, search path, and quoting for RUN and
IMPORT.

http://bugs.debian.org/550206

10 years agokeymap: Add hotkey quirk for Acer Aspire One (AO531h/AO751h)
Martin Pitt [Tue, 22 Dec 2009 11:48:50 +0000 (12:48 +0100)]
keymap: Add hotkey quirk for Acer Aspire One (AO531h/AO751h)

From hal-info ML, thanks to Keng-Yü Lin!

10 years agoSpeed up udev_enumerate_scan_*
Martin Pitt [Mon, 21 Dec 2009 14:41:25 +0000 (15:41 +0100)]
Speed up udev_enumerate_scan_*

Check property match earlier, to avoid lots of readlink() and stat()
calls when we check property matches.

10 years agoadd Samsung R70/R71 keymap
Clemens Buchacher [Mon, 21 Dec 2009 08:24:34 +0000 (09:24 +0100)]
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>
10 years agoupdate mtime of nodes and links when we re-use them
Kay Sievers [Fri, 18 Dec 2009 20:25:13 +0000 (21:25 +0100)]
update mtime of nodes and links when we re-use them

10 years agofirmware: convert shell script to C
Piter PUNK [Tue, 15 Dec 2009 15:28:52 +0000 (16:28 +0100)]
firmware: convert shell script to C

10 years agorules: add "block" match to floppy rule
Kay Sievers [Tue, 15 Dec 2009 15:17:12 +0000 (16:17 +0100)]
rules: add "block" match to floppy rule

10 years agocdrom_id: remove deprecated device matches
Kay Sievers [Tue, 15 Dec 2009 15:15:33 +0000 (16:15 +0100)]
cdrom_id: remove deprecated device matches

10 years agoremove remaining support for CONFIG_SYSFS_DEPRECATED
Kay Sievers [Tue, 15 Dec 2009 15:14:14 +0000 (16:14 +0100)]
remove remaining support for CONFIG_SYSFS_DEPRECATED

10 years agoconfigure.ac: version bump
Kay Sievers [Tue, 15 Dec 2009 14:53:21 +0000 (15:53 +0100)]
configure.ac: version bump

10 years agofloppy: fix rule to create additional floppy device nodes
Kay Sievers [Tue, 15 Dec 2009 14:07:25 +0000 (15:07 +0100)]
floppy: fix rule to create additional floppy device nodes

10 years agolibudev: wrap in extern "C" block for C++
Daniel Elstner [Mon, 14 Dec 2009 20:15:20 +0000 (21:15 +0100)]
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.

10 years agokeymap: fix findkeyboards
Martin Pitt [Tue, 15 Dec 2009 10:49:12 +0000 (11:49 +0100)]
keymap: fix findkeyboards

Update findkeyboards for the recent ID_CLASS deprecation, use ID_INPUT_KEYBOARD
instead. This simplifies the logic a bit, too.

10 years agokeymap: handle atkbd force_release quirk
Johannes Stezenbach [Sun, 13 Dec 2009 22:54:05 +0000 (23:54 +0100)]
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>
10 years ago95-keymap.rules: Run on change events, too
Martin Pitt [Mon, 14 Dec 2009 13:31:51 +0000 (14:31 +0100)]
95-keymap.rules: Run on change events, too

10 years agokeymap: add Samsung N130
Johannes Stezenbach [Mon, 14 Dec 2009 00:14:03 +0000 (01:14 +0100)]
keymap: add Samsung N130

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years ago70-acl.rules: ACL manage Android G1 dev phones
Scott James Remnant [Thu, 10 Dec 2009 20:01:05 +0000 (20:01 +0000)]
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>
10 years agokeymap: Add Acer Aspire 1810T
Martin Pitt [Thu, 10 Dec 2009 08:22:33 +0000 (09:22 +0100)]
keymap: Add Acer Aspire 1810T

https://launchpad.net/bugs/492657

10 years agoutil_unlink_secure(): chmod() before chown()
Kay Sievers [Tue, 8 Dec 2009 17:44:45 +0000 (18:44 +0100)]
util_unlink_secure(): chmod() before chown()

10 years agoExport ID_WWN_VENDOR_EXTENSION and ID_WWN_WITH_EXTENSION
David Zeuthen [Fri, 4 Dec 2009 16:25:09 +0000 (11:25 -0500)]
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>
10 years agorelease 149
Kay Sievers [Thu, 3 Dec 2009 13:39:12 +0000 (14:39 +0100)]
release 149

10 years agofix both in-tree and out-of-tree builds
Kay Sievers [Thu, 3 Dec 2009 13:36:36 +0000 (14:36 +0100)]
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.

10 years agoreally really fix both in-tree and out-of-tree builds
Kay Sievers [Thu, 3 Dec 2009 12:58:18 +0000 (13:58 +0100)]
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).