Skip to contentSkip to conversation

udev 148 release

ANNOUNCE Kay Sievers 3 participants 4 messages Dec 2, 2009 – Dec 3, 2009

lore
Share & tools
lore
#0 lore raw

Here comes a new udev version. Thanks to all who have contributed to this release.

The tarball can be found here:
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/

The development repository can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=summary

The ChangeLog can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=ChangeLog

udev 148
====
Bugfixes.

The option "ignore_device" does no longer exist. There is no way to ignore an event, as libudev events can not be suppressed by rules. It only prevented RUN keys from being executed, which results in an inconsistent behavior in current setups.

BUS=, SYSFS{}=, ID= are long deprecated and should be SUBSYSTEM(S)=, ATTR(S){}=, KERNEL(S)=. It will cause a warning once for every rule file from now on.

The support for the deprecated IDE devices has been removed from the default set of rules. Distros who still care about non-libata drivers need to add the rules to the compat rules file.

The ID_CLASS property on input devices has been replaced by the more accurate set of flags ID_INPUT_{KEYBOARD,KEY,MOUSE,TOUCHPAD,TABLET,JOYSTICK}. These are determined by the new "input_id" prober now. Some devices, such as touchpads, can have several classes. So if you previously had custom udev rules which e. g. checked for ENV{ID_CLASS}="kbd", you need to replace this with ENV{ID_INPUT_KEYBOARD}="?*".

#1 lore raw
Quoted 5 lines · On Wed, 02 Dec 2009 13:11:25 +0100 Kay Sievers <[email protected]> wrote:

ID_INPUT_{KEYBOARD,KEY,MOUSE,TOUCHPAD,TABLET,JOYSTICK}. These are determined by the new "input_id" prober now. Some devices, such as touchpads, can have several classes. So if you previously had custom udev rules which e. g. checked for ENV{ID_CLASS}="kbd", you need to replace this with ENV{ID_INPUT_KEYBOARD}="?*".

I just upgraded to 148 from 147, and the new input_id does not seem to be liked by either my main system or a vbox vm. In the virtual machine, I noticed this after upgrading and reloading the rules:

top output:
20958 root 18 -2 6004 564 476 R 99.6 0.1 0:41.19 input_id

  ps output:
  root     20958 99.0  0.0   6004   564 ?        R<   23:43   \
    1:04 /lib/udev/input_id /devices/virtual/input/mice

After rebooting the machine, it hangs for a long time after the usb hubs are detected by the kernel, and then I get this:

udevadm settle - timeout of 120 seconds reached, the event queue contains:

    /sys/devices/virtual/input/mice (1124)

... some other extraneous messages ...

udevd[1145]: worker [1150] unexpectedly returned with status 0x0100 udevd[1145]: worker [1150] failed while handling '/devices/virtual/input/mice'

Where do I start with debugging this??

-RW

#2 lore raw
In reply to Kay Sievers

Robby Workman [2009-12-03 0:03 -0600]:

Quoted 2 lines

I just upgraded to 148 from 147, and the new input_id does not seem to be liked by either my main system or a vbox vm.

I can reproduce this; it seems to get stuck in an endless loop traversing its parents.

I'll fix it right now, sorry for the mess!

Martin

Signature · 2 lines
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
#3 lore raw
In reply to Kay Sievers

Robby Workman [2009-12-03 0:03 -0600]:

Quoted 11 lines

I just upgraded to 148 from 147, and the new input_id does not seem to be liked by either my main system or a vbox vm. In the virtual machine, I noticed this after upgrading and reloading the rules:

top output:
20958 root 18 -2 6004 564 476 R 99.6 0.1 0:41.19 input_id

  ps output:
  root     20958 99.0  0.0   6004   564 ?        R<   23:43   \
    1:04 /lib/udev/input_id /devices/virtual/input/mice

Fixed in

http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=22f9cb51c39a6fef1109bfd24e97d2fdda327a9e

Sorry again. I'm afraid that distros who already ship 148 need to pull in this patch, or we do a 148.1 release for this.

Martin

Signature · 2 lines
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)