Harald Hoyer [Thu, 8 Jul 2010 09:36:01 +0000 (11:36 +0200)]
60-persistent-storage-tape.rules: make own by-path symlink for nst tapes
Martin Pitt [Wed, 7 Jul 2010 21:18:19 +0000 (23:18 +0200)]
keymap: Add Lenovo ThinkPad SL Series extra buttons
Sent by Quentin Denis <quentin.denis@gmail.com> via private mail.
Martin Pitt [Wed, 7 Jul 2010 21:17:11 +0000 (23:17 +0200)]
keymap: Find alternate Lenovo module
Newer Lenovos apparently have a lower case "extra buttons" module, cover this
as well.
Sent by Quentin Denis <quentin.denis@gmail.com> via private mail.
Kay Sievers [Wed, 7 Jul 2010 09:35:40 +0000 (11:35 +0200)]
allow final assignment for OPTIONS:="nowatch"
A final assignemnt operator will disable any device watching by
inotify, and any possible later rules setting "watch" again will
be ignored.
Harald Hoyer [Wed, 7 Jul 2010 08:57:09 +0000 (10:57 +0200)]
60-persistent-storage-tape: s/path_id.sh/path_id/
Kay Sievers [Wed, 7 Jul 2010 07:54:21 +0000 (09:54 +0200)]
rules: tape - remove WAIT_FOR instruction and don't export BSG_DEV
Kay Sievers [Wed, 7 Jul 2010 05:13:20 +0000 (07:13 +0200)]
version bump
Kay Sievers [Wed, 7 Jul 2010 04:49:29 +0000 (06:49 +0200)]
release 159
Martin Pitt [Mon, 5 Jul 2010 07:35:36 +0000 (09:35 +0200)]
keymap: Add Logitech Cordless Wave Pro
https://launchpad.net/bugs/592371
Lennart Poettering [Sun, 4 Jul 2010 02:16:14 +0000 (04:16 +0200)]
systemd: update service files for newly introduced DefaultDependencies= option
This new option has been introduced very recently in systemd and needs
to be unset for udev, since udev is supposed to be run on early boot.
Matthew Garrett [Thu, 1 Apr 2010 18:22:32 +0000 (14:22 -0400)]
keymap: Add support for IBM-branded USB devices
These seem to use a different layout to the Lenovo-branded devices
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Michael Meeks [Tue, 29 Jun 2010 08:49:31 +0000 (09:49 +0100)]
gudev: respect possibly given LD_LIBRARY_PATH
michael@linux-iwk5:/opt/hgnome/src/udev> make V=1
make --no-print-directory all-recursive
Making all in .
PKG_CONFIG_PATH=./data:$PKG_CONFIG_PATH \
LD_LIBRARY_PATH=./extras/gudev \
/opt/hgnome/bin/g-ir-scanner -v \
--namespace GUdev \
..
./extras/gudev/gudevdevice.c
/opt/hgnome/bin/python: error while loading shared libraries:
libpython2.5.so.1.0: cannot open shared object file: No such file or
directory
make[2]: *** [extras/gudev/GUdev-1.0.gir] Error 127
Ryan Harper [Fri, 25 Jun 2010 13:59:23 +0000 (08:59 -0500)]
Add virtio-blk by-id rules based on 'serial' attribute
Using virtio-blk serial attributes add rules to extract drive serial numbers and
generate by-id links for the block device and partitions.
With these rules added, we now see the following symlinks in disk/by-id
% ls -al /dev/disk/by-id | grep vdb
lrwxrwxrwx. 1 root root 9 Jun 1 22:09 virtio-QM00001 -> ../../vda
lrwxrwxrwx. 1 root root 10 Jun 1 22:09 virtio-QM00001-part1 -> ../../vda1
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Ryan Harper [Fri, 25 Jun 2010 13:59:22 +0000 (08:59 -0500)]
Add virtio-blk support to path_id
This patch adds a case handling path_id invoked on a virtio-blk device.
Currently path_id walks the parent path to virtio-pci but doesn't know
that it's the end of the path and exits without building the path (providing no
output resulting in no disk/by-path symlinks to virtio-blk devices).
This patch handles the virtio-pci path and updates the path accordingly.
/lib/udev/path_id --debug /block/vda
udev_device_new_from_syspath: device 0x2300120 has devpath '/devices/virtio-pci/virtio1/block/vda'
udev_device_new_from_syspath: device 0x2300380 has devpath '/devices/virtio-pci/virtio1'
udev_device_new_from_syspath: device 0x2300670 has devpath '/devices/virtio-pci'
ID_PATH=virtio-pci-virtio1
And with the current persistent-storage rules generates:
% ls -al /dev/disk/by-path | grep vda
lrwxrwxrwx. 1 root root 9 Jun 1 22:09 virtio-pci-virtio1 -> ../../vda
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Jerone Young [Mon, 28 Jun 2010 03:35:44 +0000 (22:35 -0500)]
Fix stuck volume key presses for Toshiba Satellite U300 & U305models
This patch fixes stuck volume keys for Toshiba Satellite models U300 &
U305.
Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Fri, 25 Jun 2010 09:39:21 +0000 (11:39 +0200)]
switch a few left-over from GPLv2 to GPLv2 or later
Kay Sievers [Fri, 25 Jun 2010 08:42:33 +0000 (10:42 +0200)]
make: fix 'make distcheck'
udev-159.tar.gz
Kay Sievers [Fri, 25 Jun 2010 08:30:55 +0000 (10:30 +0200)]
make: pre-process and install systemd service files when needed
Kay Sievers [Thu, 24 Jun 2010 23:31:57 +0000 (01:31 +0200)]
add systemd service files
Kay Sievers [Thu, 24 Jun 2010 08:17:15 +0000 (10:17 +0200)]
version bump
Kay Sievers [Thu, 24 Jun 2010 07:38:31 +0000 (09:38 +0200)]
release 158
Kay Sievers [Thu, 24 Jun 2010 07:35:39 +0000 (09:35 +0200)]
rules: remove unused subdir
Kay Sievers [Wed, 23 Jun 2010 20:29:58 +0000 (22:29 +0200)]
mtd_probe: add needed include, modprobe blacklist flag, and change some whitespace
Maxim Levitsky [Wed, 23 Jun 2010 20:20:29 +0000 (22:20 +0200)]
mtd_probe: add autodetection for xD cards
commit
2599cabd36770785a13bf884049d649d385fd80c
Author: Maxim Levitsky <maximlevitsky@gmail.com>
Date: Fri Jun 18 02:08:48 2010 +0300
Add autodetection for xD/smartmedia cards
This can easily be extended for other types of FTL
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Kay Sievers [Mon, 21 Jun 2010 14:55:16 +0000 (16:55 +0200)]
remove a few comments in file headers
Harald Hoyer [Mon, 21 Jun 2010 12:04:43 +0000 (14:04 +0200)]
extras/keymap: add Samsung N210 to keymap rules
https://bugzilla.redhat.com/show_bug.cgi?id=606302
Thanks to John Floyd!
Kay Sievers [Mon, 21 Jun 2010 08:06:10 +0000 (10:06 +0200)]
delete last distro specific rules
Kay Sievers [Thu, 17 Jun 2010 19:50:58 +0000 (21:50 +0200)]
udevd: in case we don't daemonize, send READY message to /sbin/init
Martin Pitt [Thu, 17 Jun 2010 11:19:50 +0000 (13:19 +0200)]
Fix usb printer rule for multiple USB interfaces
Commit
f61e72d89 failed to match for the case where an USB printer has multiple
interfaces, such as
ID_USB_INTERFACES=:ffffff:070102:
Thanks to Pablo Mazzini for spotting this!
Martin Pitt [Sun, 13 Jun 2010 08:08:22 +0000 (10:08 +0200)]
Revert "add Vala vapi for gudev-1.0"
Argh, recent vala already ships with a gudev vapi.
This reverts commit
6a7b5ec7712ea53fd756b07036e23ac0d751cec4.
Martin Pitt [Sat, 12 Jun 2010 21:52:52 +0000 (23:52 +0200)]
add Vala vapi for gudev-1.0
Add gudev-1.0.vapi. This is based on the output of
vapigen --library gudev-1.0 GUdev-1.0.gir
with fixes to array/list semantics and include file names.
Martin Pitt [Fri, 11 Jun 2010 13:14:55 +0000 (15:14 +0200)]
Fix hid2hci rules harder
Commit
2b463cb0 changed the rules to match against hiddev* for all devices in
an attempt to fix Debian #567237/LP #444420. However, this caused regressions
with other devices (e. g. LP #550288) and thus was reverted in commit 8b56ba.
Now use hidraw* for the devices where it's confirmed that they only work with
that, and hiddev* for the others.
https://launchpad.net/bugs/444420
Kay Sievers [Sat, 5 Jun 2010 08:30:36 +0000 (10:30 +0200)]
libudev: fix fd leak in udev_enumerate_scan_devices() when tags are searched
Thanks to Lennart for finding this.
Kay Sievers [Wed, 2 Jun 2010 18:31:51 +0000 (20:31 +0200)]
version bump
Paul Bender [Wed, 2 Jun 2010 15:35:44 +0000 (17:35 +0200)]
configure.ac: fix cross compilation
"Be aware that, like most Autoconf macros, they test a
feature of the host machine, and therefore, they die
when cross-compiling"
Kay Sievers [Wed, 2 Jun 2010 11:49:47 +0000 (13:49 +0200)]
release 157
Jerone Young [Wed, 2 Jun 2010 06:27:31 +0000 (01:27 -0500)]
Fix wlan key on Inspiron 1010 & 1110
This fixes wlan key on Inspirion 1010 & 1110.
This patch depends on previous patches sent.
The issue with all of these is that they were all Dell mini & it wasn't
noticed till recent that they all did not follow the standard that the
rest of Dell machines follow.
Also to note while this fixes the wlan key sending the proper key press,
work is still needed at the kernel level for complete support.
This is the last patch all the Dell minis have been verified to all have
this issue, and are now covered.
Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Mon, 31 May 2010 09:19:31 +0000 (11:19 +0200)]
update NEWS
Kay Sievers [Mon, 31 May 2010 09:18:52 +0000 (11:18 +0200)]
libudev: doc - fix typo
Kay Sievers [Mon, 31 May 2010 09:04:42 +0000 (11:04 +0200)]
IMPORT{cmdline}: start at first char after '='
Kay Sievers [Sun, 30 May 2010 23:13:03 +0000 (01:13 +0200)]
add IMPORT{cmdline}
Kay Sievers [Sun, 30 May 2010 21:42:11 +0000 (23:42 +0200)]
udevd: set umask before creating files/directories
Jerone Young [Sun, 30 May 2010 16:39:28 +0000 (11:39 -0500)]
Fix wlan key on Inspiron 910
This fixes the wlan key on Inspiron 910.
Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Sun, 30 May 2010 13:16:53 +0000 (15:16 +0200)]
make: fix rules/ subdir names
Kay Sievers [Sun, 30 May 2010 13:13:48 +0000 (15:13 +0200)]
make: mkdir /lib/udev/devices/
Kay Sievers [Sun, 30 May 2010 13:03:41 +0000 (15:03 +0200)]
rules: add misc/30-kernel-compat.rules
Kay Sievers [Sun, 30 May 2010 12:57:06 +0000 (14:57 +0200)]
rules: SUSE - move last distro rule to package
Kay Sievers [Sun, 30 May 2010 12:52:03 +0000 (14:52 +0200)]
rules: rename packages -> arch
Kay Sievers [Sat, 29 May 2010 20:51:55 +0000 (22:51 +0200)]
man: udevd - update intro
Kay Sievers [Sat, 29 May 2010 20:23:48 +0000 (22:23 +0200)]
man: add kernel command line parameters
Jerone Young [Fri, 28 May 2010 20:30:19 +0000 (15:30 -0500)]
Fix wlan key on Inspirion 1210
This fixed wlan key on Inspirion 1210 machines.
Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Fri, 28 May 2010 13:11:36 +0000 (15:11 +0200)]
man: add static device nodes and udevd debug options
Kay Sievers [Fri, 28 May 2010 11:59:23 +0000 (13:59 +0200)]
rules: delete pilot rules and remove redhat directory
Kay Sievers [Fri, 28 May 2010 10:17:42 +0000 (12:17 +0200)]
update NEWS
Kay Sievers [Fri, 28 May 2010 10:07:27 +0000 (12:07 +0200)]
udevd: read debug settings from kernel commandline
Kay Sievers [Thu, 27 May 2010 16:52:09 +0000 (18:52 +0200)]
rules: add -v to modprobe calls to be able see what will be loaded
Kay Sievers [Thu, 27 May 2010 15:45:58 +0000 (17:45 +0200)]
udevd: fix comments
Kay Sievers [Thu, 27 May 2010 15:41:51 +0000 (17:41 +0200)]
udevd: replace --debug-trace with --children-max
Kay Sievers [Thu, 27 May 2010 15:27:56 +0000 (17:27 +0200)]
childs -> children
Kay Sievers [Thu, 27 May 2010 13:11:00 +0000 (15:11 +0200)]
while (1) -> for (;;)
Harald Hoyer [Thu, 27 May 2010 09:37:29 +0000 (11:37 +0200)]
40-redhat.rules: removed file
Kay Sievers [Tue, 25 May 2010 13:11:02 +0000 (15:11 +0200)]
fix compilation with --enable-debug
Kay Sievers [Tue, 25 May 2010 13:10:21 +0000 (15:10 +0200)]
rules: mount fuse control filesystem
Kay Sievers [Tue, 25 May 2010 13:08:01 +0000 (15:08 +0200)]
Makefile.am: silent build mkdir
Kay Sievers [Tue, 25 May 2010 10:37:24 +0000 (12:37 +0200)]
configure.ac: version bump
Kay Sievers [Tue, 25 May 2010 10:21:25 +0000 (12:21 +0200)]
release 156
Kay Sievers [Tue, 25 May 2010 10:17:43 +0000 (12:17 +0200)]
libudev: fix udev_queue_get_seqnum_sequence_is_finished() with empty queue file
We an empty or garbage-collected queue file, we might not have a record
for the first sequence we wait for, and therefore must not wait for it.
Kay Sievers [Tue, 25 May 2010 07:54:14 +0000 (09:54 +0200)]
rules: optical drives - use ID_CDROM_MEDIA_TRACK_COUNT_DATA
We should not access non-data optical media, ans skip things
like blkid. It will cause errors for some drives.
https://bugzilla.kernel.org/show_bug.cgi?id=15757
Kay Sievers [Tue, 25 May 2010 07:47:04 +0000 (09:47 +0200)]
cdrom_id: do not export ID_CDROM_MEDIA_SESSION_LAST_OFFSET= for single session media
Bryan Kadzban [Tue, 25 May 2010 04:56:37 +0000 (06:56 +0200)]
udevd: fix typo /proc/fd -> /proc/self/fd
Kay Sievers [Tue, 25 May 2010 04:56:14 +0000 (06:56 +0200)]
configure.ac: version bump
Kay Sievers [Mon, 24 May 2010 15:01:53 +0000 (17:01 +0200)]
release 155
Kay Sievers [Mon, 24 May 2010 15:00:15 +0000 (17:00 +0200)]
man: directly use 'refentry'
And make Lennart happy! :)
Kay Sievers [Thu, 20 May 2010 16:45:38 +0000 (18:45 +0200)]
update NEWS
Kay Sievers [Thu, 20 May 2010 15:09:04 +0000 (17:09 +0200)]
create static nodes provided by kernel modules to allow module autoloading
Kay Sievers [Thu, 20 May 2010 12:51:18 +0000 (14:51 +0200)]
fix tests and allow MODE=000
Kay Sievers [Thu, 20 May 2010 07:19:01 +0000 (09:19 +0200)]
update NEWS README
Kay Sievers [Thu, 20 May 2010 07:04:26 +0000 (09:04 +0200)]
udevd: create standard symlinks and handle /lib/udev/devices
Kay Sievers [Thu, 20 May 2010 04:24:45 +0000 (06:24 +0200)]
use default mode of 0600 for nodes if gid == 0
Kay Sievers [Fri, 14 May 2010 12:52:18 +0000 (14:52 +0200)]
libudev: add O_CLOEXEC
Kay Sievers [Fri, 14 May 2010 12:49:20 +0000 (14:49 +0200)]
rules: SUSE - delete device-mapper rules
Kay Sievers [Wed, 12 May 2010 06:49:43 +0000 (08:49 +0200)]
configure.ac: version bump
Kay Sievers [Wed, 12 May 2010 06:46:56 +0000 (08:46 +0200)]
reset process priority before executing RUN+=
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581235
Kay Sievers [Tue, 11 May 2010 21:02:47 +0000 (23:02 +0200)]
release 154
Kay Sievers [Tue, 11 May 2010 20:59:09 +0000 (22:59 +0200)]
udevd: reload config only for *.rules files
Yin Kangkai [Fri, 7 May 2010 07:05:21 +0000 (15:05 +0800)]
keymap: Add keymap quirk of WebCam key for MSI netbooks.
I've verified that this patch fixes MSI U100, N014, U135
http://bugs.meego.com/show_bug.cgi?id=1741
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Fri, 7 May 2010 21:04:42 +0000 (23:04 +0200)]
libudev: add documentation for recently added functions
Kay Sievers [Fri, 7 May 2010 20:57:20 +0000 (22:57 +0200)]
add info message when empty NAME is given
Kay Sievers [Fri, 7 May 2010 20:56:36 +0000 (22:56 +0200)]
update README regarding kernel version and default rules
Yin Kangkai [Thu, 6 May 2010 02:06:43 +0000 (10:06 +0800)]
keymap: Add keymap and force-release quirk for Samsung N128
http://bugs.meego.com/show_bug.cgi?id=1530
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Wed, 5 May 2010 13:37:56 +0000 (15:37 +0200)]
man: udevadm trigger - the default is "change" not "add"
Kay Sievers [Wed, 5 May 2010 09:14:50 +0000 (11:14 +0200)]
warn when renaming kernel-provided nodes instead of adding symlinks
Harald Hoyer [Tue, 27 Apr 2010 10:26:00 +0000 (12:26 +0200)]
cdrom_id: only mark sr[0-9]* as ID_CDROM
we cannot be sure for xvd*
Kay Sievers [Mon, 3 May 2010 16:09:25 +0000 (18:09 +0200)]
remove debug output during rules parsing
Kay Sievers [Mon, 3 May 2010 16:08:51 +0000 (18:08 +0200)]
remove unused parameter from udev_node_mknod()
Matthias Schwarzott [Mon, 3 May 2010 11:19:36 +0000 (13:19 +0200)]
rules: Gentoo - remove old devfs compat rules
Michael Thayer [Sat, 1 May 2010 15:28:08 +0000 (17:28 +0200)]
fix device node deletion
Signed-off-by: Michael Thayer <michael.thayer@sun.com>
Harald Hoyer [Tue, 27 Apr 2010 10:25:59 +0000 (12:25 +0200)]
Makefile.am: add LGPL COPYING file to EXTRA_DIST
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Mon, 26 Apr 2010 10:21:16 +0000 (12:21 +0200)]
udevd: always try to find an idle worker instead of forking a new one
We special-handle events with a TIMEOUT= set, so they don't get queued
or wait for parent events to finish, to make sure we can handle them
as fast as possible.
With this change we first try to find an idle worker process before
forking a new one.
Martin Pitt [Mon, 26 Apr 2010 06:28:36 +0000 (08:28 +0200)]
keymap: Fix Bluetooth key on Acer TravelMate 4720
https://launchpad.net/bugs/569815