Your message dated Wed, 17 May 2006 08:17:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#364822: fixed in udev 0.092-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: udev
Version: 0.090-4
Severity: wishlist
Tags: patch
Hello,
I have written this little patch, to support platform and/or serio
devices in persistent input rules (by-path). I don't know, whether it's
reasonable
to persistly name these devices, but i was nervous, my
/dev/input/by-path directory is empty ;) ... if it's not reasonable,
just drop this patch.
Second patch (path_id.class.diff) is an attempt to add some detection of
ID_CLASS for non-usb devices (like serio, or ir remote on my tv card),
it's based on driver name.
my directory /dev/input/by-path looks like this now
pci-0000:00:1d.0-usb-0:1:1.0-event-mouse
pci-0000:00:1d.0-usb-0:1:1.0-mouse
pci-0000:02:01.0--event-ir
platform-i8042-serio-1-event-kbd
platform-pcspkr-event-spkr
cu
libor
-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
celkem 8
lrwxrwxrwx 1 root root 20 2005-06-16 18:21 020_permissions.rules ->
../permissions.rules
lrwxrwxrwx 1 root root 19 2005-10-12 01:47 025_libgphoto2.rules ->
../libgphoto2.rules
lrwxrwxrwx 1 root root 22 2005-10-17 01:44 025_logitechmouse.rules ->
../logitechmouse.rules
lrwxrwxrwx 1 root root 16 2006-03-28 01:48 030_ifplugd.rules ->
../ifplugd.rules
lrwxrwxrwx 1 root root 12 2006-03-07 03:18 050_hal-plugdev.rules ->
../hal.rules
-rw-r--r-- 1 root root 82 2006-03-05 23:14 90-hal.rules
lrwxrwxrwx 1 root root 19 2005-06-16 18:21 cd-aliases.rules ->
../cd-aliases.rules
lrwxrwxrwx 1 root root 13 2005-06-16 18:21 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 25 2006-03-28 01:48 z20_persistent-input.rules ->
../persistent-input.rules
lrwxrwxrwx 1 root root 19 2005-08-15 00:08 z20_persistent.rules ->
../persistent.rules
-rw-r--r-- 1 root root 401 2006-04-20 03:23 z25_persistent-net.rules
lrwxrwxrwx 1 root root 33 2006-04-20 02:17 z45_persistent-net-generator.rules
-> ../persistent-net-generator.rules
lrwxrwxrwx 1 root root 12 2005-07-03 22:34 z50_run.rules -> ../run.rules
lrwxrwxrwx 1 root root 16 2005-11-05 10:44 z55_hotplug.rules ->
../hotplug.rules
lrwxrwxrwx 1 root root 19 2005-08-02 23:28 z60_alsa-utils.rules ->
../alsa-utils.rules
lrwxrwxrwx 1 root root 15 2005-09-20 02:13 z60_hdparm.rules -> ../hdparm.rules
lrwxrwxrwx 1 root root 17 2005-11-05 11:23 z60_net.rules -> ../usbmount.rules
lrwxrwxrwx 1 root root 17 2005-07-09 22:27 z60_usbmount.rules ->
../usbmount.rules
lrwxrwxrwx 1 root root 17 2005-07-03 22:34 z70_hotplugd.rules ->
../hotplugd.rules
-- /sys/:
/sys/block/hda/dev
/sys/block/md0/dev
/sys/block/md1/dev
/sys/block/md2/dev
/sys/block/ram0/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram1/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/block/sda/dev
/sys/block/sda/sda1/dev
/sys/block/sda/sda2/dev
/sys/block/sda/sda3/dev
/sys/block/sda/sda4/dev
/sys/block/sda/sda5/dev
/sys/block/sda/sda6/dev
/sys/block/sdb/dev
/sys/block/sdb/sdb1/dev
/sys/block/sdb/sdb2/dev
/sys/block/sdb/sdb3/dev
/sys/block/sdb/sdb4/dev
/sys/block/sdb/sdb5/dev
/sys/block/sdb/sdb6/dev
/sys/class/dvb/dvb0.demux0/dev
/sys/class/dvb/dvb0.dvr0/dev
/sys/class/dvb/dvb0.frontend0/dev
/sys/class/dvb/dvb0.net0/dev
/sys/class/graphics/fb0/dev
/sys/class/i2c-dev/i2c-0/dev
/sys/class/i2c-dev/i2c-1/dev
/sys/class/i2c-dev/i2c-2/dev
/sys/class/i2c-dev/i2c-3/dev
/sys/class/i2c-dev/i2c-4/dev
/sys/class/i2c-dev/i2c-5/dev
/sys/class/input/input0/event0/dev
/sys/class/input/input2/event2/dev
/sys/class/input/input3/event3/dev
/sys/class/input/input4/event1/dev
/sys/class/input/input4/mouse0/dev
/sys/class/input/input5/event4/dev
/sys/class/input/mice/dev
/sys/class/misc/device-mapper/dev
/sys/class/misc/fuse/dev
/sys/class/misc/hpet/dev
/sys/class/misc/rtc/dev
/sys/class/misc/tun/dev
/sys/class/printer/lp0/dev
/sys/class/sound/admmidi/dev
/sys/class/sound/adsp1/dev
/sys/class/sound/adsp/dev
/sys/class/sound/amidi/dev
/sys/class/sound/audio1/dev
/sys/class/sound/audio/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/controlC1/dev
/sys/class/sound/dmmidi/dev
/sys/class/sound/dsp1/dev
/sys/class/sound/dsp/dev
/sys/class/sound/hwC0D0/dev
/sys/class/sound/hwC0D2/dev
/sys/class/sound/midiC0D0/dev
/sys/class/sound/midiC0D1/dev
/sys/class/sound/midiC0D2/dev
/sys/class/sound/midi/dev
/sys/class/sound/mixer1/dev
/sys/class/sound/mixer/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/pcmC0D2c/dev
/sys/class/sound/pcmC0D2p/dev
/sys/class/sound/pcmC0D3p/dev
/sys/class/sound/pcmC1D0c/dev
/sys/class/sound/pcmC1D0p/dev
/sys/class/sound/pcmC1D1c/dev
/sys/class/sound/pcmC1D2c/dev
/sys/class/sound/pcmC1D3c/dev
/sys/class/sound/pcmC1D4p/dev
/sys/class/sound/seq/dev
/sys/class/sound/sequencer2/dev
/sys/class/sound/sequencer/dev
/sys/class/sound/timer/dev
/sys/class/usb_device/usbdev1.1/dev
/sys/class/usb_device/usbdev1.4/dev
/sys/class/usb_device/usbdev2.1/dev
/sys/class/usb_device/usbdev3.1/dev
/sys/class/usb_device/usbdev4.1/dev
/sys/class/usb_device/usbdev5.1/dev
/sys/class/usb_device/usbdev5.5/dev
/sys/class/video4linux/radio0/dev
/sys/class/video4linux/vbi0/dev
/sys/class/video4linux/video0/dev
-- Kernel configuration:
isapnp_init not present.
-- System Information:
Debian Release: testing/unstable
APT prefers experimental
APT policy: (700, 'experimental'), (700, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-ck4-lev-1
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)
Versions of packages udev depends on:
ii initscripts 2.86.ds1-14 Scripts for initializing and shutt
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libselinux1 1.30-1 SELinux shared libraries
ii libvolume-id0 0.090-4 libvolume_id shared library
ii lsb-base 3.1-4 Linux Standard Base 3.1 init scrip
ii makedev 3.3.8.2-0 Creates device files in /dev
ii sed 4.1.4-7 The GNU sed stream editor
udev recommends no packages.
-- debconf information:
udev/devfs-warning:
udev/reboot-warning:
--- path_id.orig 2006-04-23 18:25:45.000000000 +0200
+++ path_id 2006-04-25 22:53:38.000000000 +0200
@@ -96,6 +96,56 @@
RESULT=0
}
+handle_platform () {
+ local DEV=$1
+ cd -P $1
+ DEV=${PWD}
+ platform_id=${DEV##*/}
+ host_dev_path=$DEV
+ while [ ! -z "$host_dev_path" ] ; do
+ case "$host_dev_path" in
+ */platform*)
+ host_dev_path=${host_dev_path%/*}
+ ;;
+ *)
+ break
+ ;;
+ esac
+ done
+ if [ "$d" ]; then
+ d="platform-$platform_id-$d"
+ else
+ d="platform-$platform_id"
+ fi
+ D="$host_dev_path"
+ RESULT=0
+}
+
+handle_serio () {
+ local DEV=$1
+ cd -P $1
+ DEV=${PWD}
+ serio_id=${DEV##*/serio}
+ host_dev_path=$DEV
+ while [ ! -z "$host_dev_path" ] ; do
+ case "$host_dev_path" in
+ */serio*)
+ host_dev_path=${host_dev_path%/*}
+ ;;
+ *)
+ break
+ ;;
+ esac
+ done
+ if [ "$d" ]; then
+ d="serio-$serio_id-$d"
+ else
+ d="serio-$serio_id"
+ fi
+ D="$host_dev_path"
+ RESULT=0
+}
+
handle_ide () {
: handle_ide $*
local DEV=$1
@@ -372,6 +422,12 @@
*/pci[0-9]*:[0-9]*)
handle_pci "$D"
;;
+ */serio[0-9]*)
+ handle_serio "$D"
+ ;;
+ */platform/*)
+ handle_platform "$D"
+ ;;
*/devices)
D=
;;
--- path_id.orig 2006-04-25 22:53:38.000000000 +0200
+++ path_id 2006-04-25 23:38:17.000000000 +0200
@@ -460,6 +460,30 @@
d="$d-${rewind}st${mode}"
fi
fi
+ if [ "$TYPE" == "input" ] ; then
+ cd -P "${full_sysfs_device_path}/driver"
+ full_sysfs_driver_path=`pwd -P`
+ devname=${full_sysfs_driver_path##*drivers/}
+ case "$devname" in
+ bttv|saa7134|cx88xx)
+ c="ir"
+ ;;
+ atkbd)
+ c="kbd"
+ ;;
+ psmouse)
+ c="mouse"
+ ;;
+ usbhid)
+ ;;
+ pcspkr)
+ c="spkr"
+ ;;
+ *)
+ c="other"
+ ;;
+ esac
+ fi
}
case "$TYPE" in
@@ -474,6 +498,9 @@
input)
handle_device
echo "ID_PATH=$d"
+ if [ "$c" ]; then
+ echo "ID_CLASS=$c"
+ fi
;;
*)
RESULT=1
--- End Message ---
--- Begin Message ---
Source: udev
Source-Version: 0.092-1
We believe that the bug you reported is fixed in the latest version of
udev, which is due to be installed in the Debian FTP archive:
libvolume-id-dev_0.092-1_i386.deb
to pool/main/u/udev/libvolume-id-dev_0.092-1_i386.deb
libvolume-id0_0.092-1_i386.deb
to pool/main/u/udev/libvolume-id0_0.092-1_i386.deb
udev-udeb_0.092-1_i386.udeb
to pool/main/u/udev/udev-udeb_0.092-1_i386.udeb
udev_0.092-1.diff.gz
to pool/main/u/udev/udev_0.092-1.diff.gz
udev_0.092-1.dsc
to pool/main/u/udev/udev_0.092-1.dsc
udev_0.092-1_i386.deb
to pool/main/u/udev/udev_0.092-1_i386.deb
udev_0.092.orig.tar.gz
to pool/main/u/udev/udev_0.092.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <[EMAIL PROTECTED]> (supplier of updated udev package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 17 May 2006 10:37:42 +0200
Source: udev
Binary: libvolume-id-dev udev libvolume-id0 udev-udeb
Architecture: source i386
Version: 0.092-1
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <[EMAIL PROTECTED]>
Changed-By: Marco d'Itri <[EMAIL PROTECTED]>
Description:
libvolume-id-dev - libvolume_id development headers
libvolume-id0 - libvolume_id shared library
udev - /dev/ and hotplug management daemon
udev-udeb - /dev/ and hotplug management daemon (udeb)
Closes: 364822 367265
Changes:
udev (0.092-1) unstable; urgency=low
.
* New upstream release.
+ adds persistent names for serio and platform input devices.
(Closes: #364822)
* write_cd_rules: generated rules will match on ENV{ID_CDROM} too.
(Closes: #367265)
* Removed support for kernels older than 2.6.15: udevsynthesize has
been replaced by udevtrigger.
* Removed support for the undocumented udevd_timeout config file parameter.
* Removed the deprecated /sbin/udevsend command.
* Removed the /dev/.udevdb/ directory kept for compatibility with old
packages. Conflict with makedev << 2.3.1-80.
* Removed the /lib/udev/modalias_* and vio.agent scripts which are not
needed by recent kernels.
* Stop enabling hotplugd.rules by default.
* Removed the versioned dependency on sed, which has not been needed since
many months ago.
Files:
4351057f934e34ac8818f89625e8bca7 623 admin optional udev_0.092-1.dsc
93511cd4e284d779b79aba060a3d8fa3 194190 admin optional udev_0.092.orig.tar.gz
0c4960ae7b89f9eccb54c7851080c64a 48696 admin optional udev_0.092-1.diff.gz
987f859e1aa64511fdbd4513e923311c 255140 admin optional udev_0.092-1_i386.deb
c91b63e21981b86713eb9266f8e3049f 55278 libs optional
libvolume-id0_0.092-1_i386.deb
b60438163ac63022db7d275adebee0fa 14170 libdevel optional
libvolume-id-dev_0.092-1_i386.deb
abd97bac1c8585c8e0bf31d0e26a8e66 72306 debian-installer optional
udev-udeb_0.092-1_i386.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEaxNUFGfw2OHuP7ERAu7OAJ9+JgUvUBLo0ihPpBAiRGplnGNa0ACcDnqz
dcq6igEWaFhJWoSvl/OL0Ps=
=a43Y
-----END PGP SIGNATURE-----
--- End Message ---