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
Robby Workman [Sat, 24 Apr 2010 19:38:37 +0000 (21:38 +0200)]
configure.ac: move firmware-path setting out of extras section
Kay Sievers [Fri, 23 Apr 2010 14:05:38 +0000 (16:05 +0200)]
export udev_device_get_tags_list_entry()
Kay Sievers [Fri, 23 Apr 2010 08:46:00 +0000 (10:46 +0200)]
export tag functions
Kay Sievers [Fri, 23 Apr 2010 07:22:42 +0000 (09:22 +0200)]
libudev: accept NULL in udev_device_get_tags_list_entry()
Kay Sievers [Fri, 23 Apr 2010 07:01:56 +0000 (09:01 +0200)]
delete old tags when configuration changes
Kay Sievers [Thu, 22 Apr 2010 17:03:11 +0000 (19:03 +0200)]
use the usual TAG+=, TAG= logic
Kay Sievers [Thu, 22 Apr 2010 16:50:43 +0000 (18:50 +0200)]
fix logic on-demand loading logic for db and uevent
Kay Sievers [Thu, 22 Apr 2010 16:33:49 +0000 (18:33 +0200)]
udev-acl: use a tag instead of a property to mark devices
Kay Sievers [Thu, 22 Apr 2010 16:33:24 +0000 (18:33 +0200)]
all to match against a given TAG==
Kay Sievers [Thu, 22 Apr 2010 16:12:36 +0000 (18:12 +0200)]
add TAG= to improve event filtering and device enumeration
Kay Sievers [Thu, 22 Apr 2010 04:23:16 +0000 (06:23 +0200)]
udevadm: info --export-db -- remove watch handle export
Jerone Young [Wed, 21 Apr 2010 17:19:37 +0000 (12:19 -0500)]
Fix volume keys not releasing for Pegatron platform
Pegatron has a new platform coming out being sold by many small
manufacturers. This platform has volume keys that are not sending a key
release. This patch ensures those keys send release.
Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Wed, 21 Apr 2010 13:43:05 +0000 (15:43 +0200)]
fix previous commit
Kay Sievers [Wed, 21 Apr 2010 13:11:57 +0000 (15:11 +0200)]
remove left-over from ignore_remove and all_partitions
Kay Sievers [Wed, 21 Apr 2010 12:44:33 +0000 (14:44 +0200)]
more readlink buffer size handling
Mathias Nyman [Wed, 21 Apr 2010 10:52:52 +0000 (13:52 +0300)]
remove buffer-overrun risk in readlink call
readlink does not write a nul character to the end of the
string it returns. Therefore ask for one fewer character
than the buffer size so there's always room for an extra \0.
Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com>
Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Wed, 21 Apr 2010 06:50:59 +0000 (08:50 +0200)]
configure.ac: version bump
Kay Sievers [Wed, 21 Apr 2010 06:31:55 +0000 (08:31 +0200)]
release 153
Robby Workman [Wed, 21 Apr 2010 09:07:21 +0000 (04:07 -0500)]
configure.ac: fix broken firmware search path in configure.ac
Correct a silly typo: s/fimware/firmware/
Kay Sievers [Tue, 20 Apr 2010 07:39:24 +0000 (09:39 +0200)]
configure.ac: version bump
Kay Sievers [Tue, 20 Apr 2010 05:32:40 +0000 (07:32 +0200)]
release 152
Kay Sievers [Tue, 20 Apr 2010 05:29:51 +0000 (07:29 +0200)]
doc: add section about how *not* to rename device nodes
Thanks to Mario 'BitKoenig' Holbe <Mario.Holbe@tu-ilmenau.de>.
Yury G. Kudryashov [Fri, 16 Apr 2010 05:38:32 +0000 (09:38 +0400)]
configure.ac: ddd --with-firmware-path option
In NixOS we need to use non-standard firmware path: we have no /lib.
Yury G. Kudryashov [Thu, 15 Apr 2010 20:21:02 +0000 (00:21 +0400)]
hid2hci: include linux/types.h for __u32
Kay Sievers [Mon, 19 Apr 2010 16:57:28 +0000 (18:57 +0200)]
delete only device nodes, not symlinks when deleting a devtmpfs node
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550152
Kay Sievers [Mon, 19 Apr 2010 16:55:10 +0000 (18:55 +0200)]
add O_NOFOLLOW when creating files in link stack
Kay Sievers [Mon, 19 Apr 2010 13:10:34 +0000 (15:10 +0200)]
Revert "Fix switching Logitech bluetooth adapters into hci mode."
This reverts commit
2b463cb050cbf77d9c6b51e0f5a9d89bf7eb1bc3.
Marco d'Itri [Mon, 19 Apr 2010 10:46:07 +0000 (12:46 +0200)]
doc: document the WAIT_FOR timeout
Kamal Mostafa [Mon, 19 Apr 2010 06:56:45 +0000 (08:56 +0200)]
keymap: Add force-release quirk for Mitac 8050QDA
https://launchpad.net/bugs/374884
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kamal Mostafa [Mon, 19 Apr 2010 06:54:04 +0000 (08:54 +0200)]
keymap: Add force-release quirk for Coolbox QBook 270-02
https://launchpad.net/bugs/420473
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kamal Mostafa [Mon, 19 Apr 2010 06:48:34 +0000 (08:48 +0200)]
keymap: Unite laptop models needing common volume-key release quirk
Many laptop models need the same volume-key release quirk. Currently, two
models have identical force-release-maps/ keymap files (dell-studio-1557 and
fujitsu-amilo-si1848) and two more need to be added (Mitac and Coolbox QBook).
This replaces the identical force-release-maps files with one
'common-volume-keys' file to make adding new models easier.
There is no obvious DMI commonality between the models needing the quirk (i.e.
they do not all share the same BIOS), so it will remain necessary to scan for
each model separately in 95-keyboard-force-release.rules.
https://launchpad.net/bugs/565459
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Kay Sievers [Sat, 17 Apr 2010 17:31:44 +0000 (19:31 +0200)]
cdrom_id: set ID_CDROM_MEDIA=1 only for known media
On Sat, Apr 17, 2010 at 18:26, Mike Brudevold <mike@brudevold.com> wrote:
> My CD-RW drive experiences a problem in that it automatically closes
> after opening if there is media in the drive. This only happens if
> there was media in the drive when it was last closed (an empty drive
> stays open).
...
> cd_profiles: current profile 0x02
> cd_profiles: profile 0x02 <ignored>
...
Do not pretend to have a media, when we receive a profile like 0x02,
which just means "Removable disk".
Thanks to Mike Brudevold for the initial patch.
Mike Brudevold [Fri, 16 Apr 2010 00:55:50 +0000 (19:55 -0500)]
cdrom_id: add missing profiles to feature_profiles
Signed-off-by: Mike Brudevold <mike@brudevold.com>
Yury G. Kudryashov [Thu, 15 Apr 2010 19:35:51 +0000 (21:35 +0200)]
configure.ac - fix typo in --with-pci-ids-path option
Martin Pitt [Thu, 15 Apr 2010 19:25:57 +0000 (21:25 +0200)]
cdrom_id: Swap media state and TOC info probing
Blank CDs do not have a TOC, thus will fail cd_media_toc() (at least with the
"Do not ignore errors from scsi_cmd_run()" fix). Thus probe the media state
first, so that we can properly detect blank media.
Martin Pitt [Thu, 15 Apr 2010 06:56:48 +0000 (08:56 +0200)]
cdrom_id: Do not ignore errors from scsi_cmd_run()
scsi_cmd_run() can return positive error messages if we have CHECK_CONDITION
set and get the error code from the SCSI command result. So check the result
for non-zero, not for being negative.
This should fix another cause for "phantom" media in empty CD-ROM drives.
Thanks to Mike Brudevold <mike@brudevold.com> for spotting this!
https://launchpad.net/bugs/562978
Kay Sievers [Thu, 15 Apr 2010 19:22:38 +0000 (21:22 +0200)]
cdrom_id: debug - print feature values in hex
Kay Sievers [Thu, 15 Apr 2010 19:18:21 +0000 (21:18 +0200)]
cdrom_id: debug - print feature values in hex
Kay Sievers [Thu, 15 Apr 2010 18:48:04 +0000 (20:48 +0200)]
cdrom_id: print more debug messages
Kay Sievers [Thu, 15 Apr 2010 18:07:07 +0000 (20:07 +0200)]
cdrom_id: rework feature/profiles buffer parsing
Kay Sievers [Wed, 14 Apr 2010 15:00:57 +0000 (17:00 +0200)]
update NEWS
Martin Pitt [Tue, 13 Apr 2010 13:25:48 +0000 (15:25 +0200)]
cdrom_id: Fix uninitialized buffers
Commit 5c6954f is actually a no-op, since static variables are already zero'ed
by default anyway (but we keep it for clarity). The real difference was that a
build with -O0 wor while a build with -O2 didn't.
Turns out that some ioctls do not actually touch the result buffer in some
cases, so we need to zero the result buffers to avoid interpreting random da as
CD properties.
https://launchpad.net/bugs/559723
https://launchpad.net/bugs/561585
Kay Sievers [Tue, 13 Apr 2010 10:45:38 +0000 (12:45 +0200)]
remove "ignore_remove" option
Kay Sievers [Tue, 13 Apr 2010 10:12:08 +0000 (12:12 +0200)]
rules: call modprobe on all events but "remove"
Martin Pitt [Tue, 13 Apr 2010 08:49:24 +0000 (10:49 +0200)]
cdrom_id: Fix uninitialized variables
In cases where cdrom_id does not go through the entire code path and one of the
probing functions returns -1 or exits early, the remaining variables were never
initialized. This caused effects like "phantom" audio CDs on empty drives, or
bogus data like ID_CDROM_MEDIA_TRACK_COUNT=22528.
Initialize the variables right away to avoid that.
Bug-Ubuntu: https://launchpad.net/bugs/559723
Kay Sievers [Tue, 13 Apr 2010 06:52:48 +0000 (08:52 +0200)]
remove "all_partitions" option
We can not predict the major/minor of non-existing devices:
$ grep . /sys/class/block/sd*/dev
/sys/class/block/sda1/dev:259:524288
/sys/class/block/sda2/dev:259:262144
/sys/class/block/sda3/dev:259:786432
/sys/class/block/sda4/dev:259:131072
/sys/class/block/sda/dev:259:0
/sys/class/block/sdb/dev:259:655360
/sys/class/block/sdc/dev:259:393216
If this functionality is still needed for some broken hardware, it needs to be
solved with a tool not part of the udev package. Because such option is unreliable
and unsafe to use.
Kay Sievers [Mon, 12 Apr 2010 15:56:32 +0000 (17:56 +0200)]
udevadm: trigger - switch default action from "add" to "change"
Kay Sievers [Mon, 12 Apr 2010 15:13:37 +0000 (17:13 +0200)]
log info only if we actually delete the node
Kay Sievers [Mon, 12 Apr 2010 15:00:16 +0000 (17:00 +0200)]
update NEWS
Kay Sievers [Mon, 12 Apr 2010 14:52:41 +0000 (16:52 +0200)]
replace "add|change" with "!remove"