Kay Sievers [Tue, 3 Aug 2010 13:09:46 +0000 (15:09 +0200)]
udev-acl: properly handle CK change events for root user
mschmidt@redhat.com writes:
> since root is treated specially, it does not do anything!
> udev-acl may want to prevent removing ACLs from root, but
> it must not stop the ACLs being granted to the user of the
> new session.
https://bugzilla.redhat.com/show_bug.cgi?id=608712
Kay Sievers [Tue, 3 Aug 2010 10:13:53 +0000 (12:13 +0200)]
call util_delete_path() only when we actually deleted stuff
Yin Kangkai [Tue, 3 Aug 2010 06:11:43 +0000 (08:11 +0200)]
udevd: fix short options in getopt()
Yin Kangkai [Tue, 3 Aug 2010 06:10:26 +0000 (08:10 +0200)]
malloc()+memset() -> calloc()
Yin Kangkai [Mon, 2 Aug 2010 10:31:18 +0000 (18:31 +0800)]
udevd: fix some memory leaks in error path
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Fortunato Ventre [Sun, 1 Aug 2010 20:03:30 +0000 (22:03 +0200)]
keymap: Add force-release quirks for a lot more Samsung models
https://launchpad.net/bugs/554066
Martin Pitt [Sun, 1 Aug 2010 19:59:58 +0000 (21:59 +0200)]
keymap: Generalize Samsung keymaps
Fortunato Ventre (voRia) <vorione@gmail.com> reports a lot more Samsung models
which need the "samsung-other" keymap. Instead of eternally playing catchup,
apply it to all Samsung models for now, and keep the two known special cases.
https://launchpad.net/bugs/554066
Yin Kangkai [Wed, 28 Jul 2010 04:56:13 +0000 (06:56 +0200)]
udevadm: fix short options in getopt()
Marco d'Itri [Fri, 23 Jul 2010 10:08:31 +0000 (12:08 +0200)]
hid2hci: fix for Logitech diNovo Edge keyboard
Kay Sievers [Mon, 19 Jul 2010 12:08:21 +0000 (14:08 +0200)]
libudev: bump minor so version after adding symbols
Marco d'Itri [Mon, 19 Jul 2010 08:56:37 +0000 (10:56 +0200)]
log an error when a message from the wrong version of udevadm is ignored
Marco d'Itri [Mon, 19 Jul 2010 08:37:41 +0000 (10:37 +0200)]
hid2hci: fix Logitech diNovo, MX5500 and other keyboards
Jerone Young [Fri, 16 Jul 2010 03:01:24 +0000 (22:01 -0500)]
Fix volume keys not releasing on Mivvy G310
keymap: add My Mivvy G310
Fixes volume keys not sending key release on My Mivvy G310 laptop.
Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Thu, 15 Jul 2010 09:38:14 +0000 (11:38 +0200)]
udev-acl: update firewire matches to recent rule changes
Kay Sievers [Mon, 12 Jul 2010 09:04:17 +0000 (11:04 +0200)]
rules: remove firewire rules for deprecated drivers
Stefan Richter [Sun, 11 Jul 2010 10:32:12 +0000 (12:32 +0200)]
rules: add more FireWire IDs: Point Grey IIDC; AV/C + vendor unique
1. IIDC cameras from Point Grey use the vendor OUI as Specifier_ID
instead of the 1394 TA's OUI but are otherwise fully compliant to the
IIDC spec. Their device files should be accessible like those of any
other IIDC cameras.
2. Originally, the Software_Version of devices that implement FCP
(IEC 61883-1 Function Control Protocol) was meant to be a bitmap of all
command sets that an FCP capable unit supports. Bitmap flags are
defined for AV/C, CAL, EHS, HAVi, and vendor unique command sets.
Software_Version was revised to be a simple identifier instead, and
devices that support several command sets were meant to instantiate one
unit directory for each command set. Still, some devices with the flags
for AV/C and vendor unique command sets combined were released (but
apparently no devices with any other flag combinations). These rare but
existing AV/C + vendor unique devices need to be accessible just like
plain AV/C devices.
Side notes:
- Many AV/C devices make use of the Vendor Dependent AV/C command, but
this is unrelated to vendor unique FCP command sets.
- Here are all standardized FireWire protocol identifiers that I know
of, listed as Specifier_ID:Software_Version | specifier | protocol.
0x00005e:0x000001 | IANA | IPv4 over 1394 (RFC 2734)
0x00005e:0x000002 | IANA | IPv6 over 1394 (RFC 3146)
0x00609e:0x010483 | INCITS | SBP-2 (or SCSI command sets over SBP-3)
0x00609e:0x0105bb | INCITS | AV/C over SBP-3
0x00a02d:0x010001 | 1394 TA | AV/C (over FCP)
0x00a02d:0x010002 | 1394 TA | CAL
0x00a02d:0x010004 | 1394 TA | EHS
0x00a02d:0x010008 | 1394 TA | HAVi
0x00a02d:0x014000 | 1394 TA | Vendor Unique
0x00a02d:0x014001 | 1394 TA | Vendor Unique and AV/C (over FCP)
0x00a02d:0x000100 | 1394 TA | IIDC 1.04
0x00a02d:0x000101 | 1394 TA | IIDC 1.20
0x00a02d:0x000102 | 1394 TA | IIDC 1.30
0x00a02d:0x0A6BE2 | 1394 TA | DPP 1.0
0x00a02d:0x4B661F | 1394 TA | IICP 1.0
For now we are only interested in udev rules for AV/C and IIDC.
Reported-by: Damien Douxchamps <ddsf@douxchamps.net> (Point Grey IIDC ID)
Reported-by: Clemens Ladisch <clemens@ladisch.de> (AV/C + vendor unique ID)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Kay Sievers [Sun, 11 Jul 2010 22:10:16 +0000 (00:10 +0200)]
version bump
Kay Sievers [Sun, 11 Jul 2010 21:58:24 +0000 (23:58 +0200)]
release 160
Kay Sievers [Sun, 11 Jul 2010 21:57:11 +0000 (23:57 +0200)]
udevd: init_notify() fix abstract namespace name handling
Lennart Poettering [Thu, 8 Jul 2010 13:02:48 +0000 (15:02 +0200)]
systemd: make service files readable by GKeyFile
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