chiark / gitweb /
elogind.git
10 years agokeymap: Add keymap quirk of WebCam key for MSI netbooks.
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>
10 years agolibudev: add documentation for recently added functions
Kay Sievers [Fri, 7 May 2010 21:04:42 +0000 (23:04 +0200)]
libudev: add documentation for recently added functions

10 years agoadd info message when empty NAME is given
Kay Sievers [Fri, 7 May 2010 20:57:20 +0000 (22:57 +0200)]
add info message when empty NAME is given

10 years agoupdate README regarding kernel version and default rules
Kay Sievers [Fri, 7 May 2010 20:56:36 +0000 (22:56 +0200)]
update README regarding kernel version and default rules

10 years agokeymap: Add keymap and force-release quirk for Samsung N128
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>
10 years agoman: udevadm trigger - the default is "change" not "add"
Kay Sievers [Wed, 5 May 2010 13:37:56 +0000 (15:37 +0200)]
man: udevadm trigger - the default is "change" not "add"

10 years agowarn when renaming kernel-provided nodes instead of adding symlinks
Kay Sievers [Wed, 5 May 2010 09:14:50 +0000 (11:14 +0200)]
warn when renaming kernel-provided nodes instead of adding symlinks

10 years agocdrom_id: only mark sr[0-9]* as ID_CDROM
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*

10 years agoremove debug output during rules parsing
Kay Sievers [Mon, 3 May 2010 16:09:25 +0000 (18:09 +0200)]
remove debug output during rules parsing

10 years agoremove unused parameter from udev_node_mknod()
Kay Sievers [Mon, 3 May 2010 16:08:51 +0000 (18:08 +0200)]
remove unused parameter from udev_node_mknod()

10 years agorules: Gentoo - remove old devfs compat rules
Matthias Schwarzott [Mon, 3 May 2010 11:19:36 +0000 (13:19 +0200)]
rules: Gentoo - remove old devfs compat rules

10 years agofix device node deletion
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>
10 years agoMakefile.am: add LGPL COPYING file to EXTRA_DIST
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>
10 years agoudevd: always try to find an idle worker instead of forking a new one
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.

10 years agokeymap: Fix Bluetooth key on Acer TravelMate 4720
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

10 years agoconfigure.ac: move firmware-path setting out of extras section
Robby Workman [Sat, 24 Apr 2010 19:38:37 +0000 (21:38 +0200)]
configure.ac: move firmware-path setting out of extras section

10 years agoexport udev_device_get_tags_list_entry()
Kay Sievers [Fri, 23 Apr 2010 14:05:38 +0000 (16:05 +0200)]
export udev_device_get_tags_list_entry()

10 years agoexport tag functions
Kay Sievers [Fri, 23 Apr 2010 08:46:00 +0000 (10:46 +0200)]
export tag functions

10 years agolibudev: accept NULL in udev_device_get_tags_list_entry()
Kay Sievers [Fri, 23 Apr 2010 07:22:42 +0000 (09:22 +0200)]
libudev: accept NULL in udev_device_get_tags_list_entry()

10 years agodelete old tags when configuration changes
Kay Sievers [Fri, 23 Apr 2010 07:01:56 +0000 (09:01 +0200)]
delete old tags when configuration changes

10 years agouse the usual TAG+=, TAG= logic
Kay Sievers [Thu, 22 Apr 2010 17:03:11 +0000 (19:03 +0200)]
use the usual TAG+=, TAG= logic

10 years agofix logic on-demand loading logic for db and uevent
Kay Sievers [Thu, 22 Apr 2010 16:50:43 +0000 (18:50 +0200)]
fix logic on-demand loading logic for db and uevent

10 years agoudev-acl: use a tag instead of a property to mark devices
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

10 years agoall to match against a given TAG==
Kay Sievers [Thu, 22 Apr 2010 16:33:24 +0000 (18:33 +0200)]
all to match against a given TAG==

10 years agoadd TAG= to improve event filtering and device enumeration
Kay Sievers [Thu, 22 Apr 2010 16:12:36 +0000 (18:12 +0200)]
add TAG= to improve event filtering and device enumeration

10 years agoudevadm: info --export-db -- remove watch handle export
Kay Sievers [Thu, 22 Apr 2010 04:23:16 +0000 (06:23 +0200)]
udevadm: info --export-db -- remove watch handle export

10 years agoFix volume keys not releasing for Pegatron platform
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>
10 years agofix previous commit
Kay Sievers [Wed, 21 Apr 2010 13:43:05 +0000 (15:43 +0200)]
fix previous commit

10 years agoremove left-over from ignore_remove and all_partitions
Kay Sievers [Wed, 21 Apr 2010 13:11:57 +0000 (15:11 +0200)]
remove left-over from ignore_remove and all_partitions

10 years agomore readlink buffer size handling
Kay Sievers [Wed, 21 Apr 2010 12:44:33 +0000 (14:44 +0200)]
more readlink buffer size handling

10 years agoremove buffer-overrun risk in readlink call
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>
10 years agoconfigure.ac: version bump
Kay Sievers [Wed, 21 Apr 2010 06:50:59 +0000 (08:50 +0200)]
configure.ac: version bump

10 years agorelease 153
Kay Sievers [Wed, 21 Apr 2010 06:31:55 +0000 (08:31 +0200)]
release 153

10 years agoconfigure.ac: fix broken firmware search path in configure.ac
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/

10 years agoconfigure.ac: version bump
Kay Sievers [Tue, 20 Apr 2010 07:39:24 +0000 (09:39 +0200)]
configure.ac: version bump

10 years agorelease 152
Kay Sievers [Tue, 20 Apr 2010 05:32:40 +0000 (07:32 +0200)]
release 152

10 years agodoc: add section about how *not* to rename device nodes
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>.

10 years agoconfigure.ac: ddd --with-firmware-path option
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.

10 years agohid2hci: include linux/types.h for __u32
Yury G. Kudryashov [Thu, 15 Apr 2010 20:21:02 +0000 (00:21 +0400)]
hid2hci: include linux/types.h for __u32

10 years agodelete only device nodes, not symlinks when deleting a devtmpfs node
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

10 years agoadd O_NOFOLLOW when creating files in link stack
Kay Sievers [Mon, 19 Apr 2010 16:55:10 +0000 (18:55 +0200)]
add O_NOFOLLOW when creating files in link stack

10 years agoRevert "Fix switching Logitech bluetooth adapters into hci mode."
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.

10 years agodoc: document the WAIT_FOR timeout
Marco d'Itri [Mon, 19 Apr 2010 10:46:07 +0000 (12:46 +0200)]
doc: document the WAIT_FOR timeout

10 years agokeymap: Add force-release quirk for Mitac 8050QDA
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>
10 years agokeymap: Add force-release quirk for Coolbox QBook 270-02
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>
10 years agokeymap: Unite laptop models needing common volume-key release quirk
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>
10 years agocdrom_id: set ID_CDROM_MEDIA=1 only for known media
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.

10 years agocdrom_id: add missing profiles to feature_profiles
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>
10 years agoconfigure.ac - fix typo in --with-pci-ids-path option
Yury G. Kudryashov [Thu, 15 Apr 2010 19:35:51 +0000 (21:35 +0200)]
configure.ac - fix typo in --with-pci-ids-path option

10 years agocdrom_id: Swap media state and TOC info probing
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.

10 years agocdrom_id: Do not ignore errors from scsi_cmd_run()
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

10 years agocdrom_id: debug - print feature values in hex
Kay Sievers [Thu, 15 Apr 2010 19:22:38 +0000 (21:22 +0200)]
cdrom_id: debug - print feature values in hex

10 years agocdrom_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

10 years agocdrom_id: print more debug messages
Kay Sievers [Thu, 15 Apr 2010 18:48:04 +0000 (20:48 +0200)]
cdrom_id: print more debug messages

10 years agocdrom_id: rework feature/profiles buffer parsing
Kay Sievers [Thu, 15 Apr 2010 18:07:07 +0000 (20:07 +0200)]
cdrom_id: rework feature/profiles buffer parsing

10 years agoupdate NEWS
Kay Sievers [Wed, 14 Apr 2010 15:00:57 +0000 (17:00 +0200)]
update NEWS

10 years agocdrom_id: Fix uninitialized buffers
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

10 years agoremove "ignore_remove" option
Kay Sievers [Tue, 13 Apr 2010 10:45:38 +0000 (12:45 +0200)]
remove "ignore_remove" option

10 years agorules: call modprobe on all events but "remove"
Kay Sievers [Tue, 13 Apr 2010 10:12:08 +0000 (12:12 +0200)]
rules: call modprobe on all events but "remove"

10 years agocdrom_id: Fix uninitialized variables
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

10 years agoremove "all_partitions" option
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.

10 years agoudevadm: trigger - switch default action from "add" to "change"
Kay Sievers [Mon, 12 Apr 2010 15:56:32 +0000 (17:56 +0200)]
udevadm: trigger - switch default action from "add" to "change"

10 years agolog info only if we actually delete the node
Kay Sievers [Mon, 12 Apr 2010 15:13:37 +0000 (17:13 +0200)]
log info only if we actually delete the node

10 years agoupdate NEWS
Kay Sievers [Mon, 12 Apr 2010 15:00:16 +0000 (17:00 +0200)]
update NEWS

10 years agoreplace "add|change" with "!remove"
Kay Sievers [Mon, 12 Apr 2010 14:52:41 +0000 (16:52 +0200)]
replace "add|change" with "!remove"

10 years agousb-db: remove double '/'
Kay Sievers [Mon, 12 Apr 2010 14:10:05 +0000 (16:10 +0200)]
usb-db: remove double '/'

10 years agoallow IMPORT{db}="KEY"
Kay Sievers [Mon, 12 Apr 2010 13:58:05 +0000 (15:58 +0200)]
allow IMPORT{db}="KEY"

10 years agounify/cleanup event handling
Kay Sievers [Mon, 12 Apr 2010 13:51:16 +0000 (15:51 +0200)]
unify/cleanup event handling

10 years agorules: we do not have static devices which are renamed
Kay Sievers [Mon, 12 Apr 2010 08:50:59 +0000 (10:50 +0200)]
rules: we do not have static devices which are renamed

10 years agorules: delete outdated packagees rules
Kay Sievers [Mon, 12 Apr 2010 08:45:27 +0000 (10:45 +0200)]
rules: delete outdated packagees rules

10 years agocdrom_id: always set ID_CDROM regardless if we can run cdrom_id
Kay Sievers [Sun, 11 Apr 2010 23:12:23 +0000 (01:12 +0200)]
cdrom_id: always set ID_CDROM regardless if we can run cdrom_id

10 years agocdrom_id: check mount state in retry loop
Kay Sievers [Wed, 7 Apr 2010 09:32:22 +0000 (11:32 +0200)]
cdrom_id: check mount state in retry loop

Based on a patch from Harald Hoyer.

10 years agocdrom_id: retry to open the device, if EBUSY
Kay Sievers [Wed, 7 Apr 2010 07:24:25 +0000 (09:24 +0200)]
cdrom_id: retry to open the device, if EBUSY

We might fight about the device with polling processes, or other
users who probe the device. Retry a few times if the other one goes
away in the meantime.

Based on a patch from Harald Hoyer.

10 years agocdrom_id: remove debugging code
Harald Hoyer [Wed, 7 Apr 2010 07:23:46 +0000 (09:23 +0200)]
cdrom_id: remove debugging code

10 years agoscsi_id: add rand() in retry loop
Kay Sievers [Wed, 7 Apr 2010 07:22:30 +0000 (09:22 +0200)]
scsi_id: add rand() in retry loop

10 years agoextras: mobile-action-modeswitch - update gitignore
Kay Sievers [Wed, 7 Apr 2010 07:16:47 +0000 (09:16 +0200)]
extras: mobile-action-modeswitch - update gitignore

10 years agoAdd support for another Dell touchpad toggle key
Jerone Young [Tue, 6 Apr 2010 21:08:21 +0000 (16:08 -0500)]
Add support for another Dell touchpad toggle key

There is another keycode that some Dell machines that are about to ship,
or shipping are using for touchpad toggle. That code is 0x9E.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agoFix Dell Studio 1558 volume keys not releasing
Jerone Young [Tue, 6 Apr 2010 17:59:12 +0000 (12:59 -0500)]
Fix Dell Studio 1558 volume keys not releasing

This patch fixes the Dell Studio 1558 to give a key release when a
volume key is pressed. This is the same as the 1557.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agoRevert special casing 0xD8 to latitude XT only
Jerone Young [Mon, 5 Apr 2010 23:45:35 +0000 (18:45 -0500)]
Revert special casing 0xD8 to latitude XT only

Now that Dell has changed the functionality of upcoming machines with
touchpad toggle to only use keycode 0xD9 .. and not 0xD8 & 0xD9. It
seems best to add this back to the general map of Dell buttons. Just
incase a machine in the future uses this later.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agoAdd new Dell touchpad keycode
Jerone Young [Mon, 5 Apr 2010 23:45:34 +0000 (18:45 -0500)]
Add new Dell touchpad keycode

After working very closely with Dell. They have now completely changed
the way they have implemented there touchpad hotkey for upcoming
machines.

It now only generates a single keycode (0xD9). It nolonger does anything
in hardware, nor does it generate more then this keycode.

This patch properly maps this keycode.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agoFix Keymapping for upcoming Dell Laptops
Jerone Young [Thu, 25 Mar 2010 01:14:23 +0000 (20:14 -0500)]
Fix Keymapping for upcoming Dell Laptops

This patch fixes it so that new upcoming Dell machines will work
correctly if users presses the touchpad toggle key.

Currently 0xD8 is being mapped to sleep. Though this is only done by the
Latitude XT* laptops. Many upcoming Laptops from Dell are mapping this
key to "toogle touchpad off" .. giving the OS notification that it has
just turned off the touchpad.

Though their is an issue in that if this key is mapped the hardware
first toogles .. then the software tries to do the samething after, if
they fall out of sync ... no more touchpad. So leave out mapping these
keys for now.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10 years agolibudev: update documentation
Kay Sievers [Thu, 25 Mar 2010 15:45:15 +0000 (16:45 +0100)]
libudev: update documentation

10 years agokeymap: Fix another key for Acer TravelMate 6593
Martin Pitt [Wed, 24 Mar 2010 17:56:20 +0000 (18:56 +0100)]
keymap: Fix another key for Acer TravelMate 6593

https://launchpad.net/bugs/536914

10 years agokeymap: Add Acer TravelMate 6593G and Acer Aspire 1640
Martin Pitt [Wed, 24 Mar 2010 16:44:39 +0000 (17:44 +0100)]
keymap: Add Acer TravelMate 6593G and Acer Aspire 1640

https://launchpad.net/bugs/536914

10 years agorules: virtio - fix is to check if the 'name' attribute is present
Amit Shah [Mon, 22 Mar 2010 09:59:46 +0000 (10:59 +0100)]
rules: virtio - fix is to check if the 'name' attribute is present

Fix provided by Harald Hoyer.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
10 years agomodeswitch: morph into tool that only switches Mobile Action cables
Dan Williams [Fri, 19 Mar 2010 00:13:59 +0000 (17:13 -0700)]
modeswitch: morph into tool that only switches Mobile Action cables

Remove option modeswitching code; use usb_modeswitch already, people.

10 years agocdrom_id: open non-mounted optical media with O_EXCL
Kay Sievers [Thu, 18 Mar 2010 10:14:32 +0000 (11:14 +0100)]
cdrom_id: open non-mounted optical media with O_EXCL

This should prevent confusing drives during CD burning sessions. Based
on a patch from Harald Hoyer.

10 years agoadd LGPL COPYING to libudev and GUdev
Kay Sievers [Thu, 18 Mar 2010 08:57:44 +0000 (09:57 +0100)]
add LGPL COPYING to libudev and GUdev

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()