Public bug reported:

Binary package hint: udev

In Intrepid, udev is still passing /proc/bus/usb device paths via
$DEVICE, long after /proc/bus/usb was deprecated and removed in favor of
/dev/bus/usb.

Steps to reproduce:
1. `sudo udevadm monitor --environment`
2. plug in a USB device

Expected result:
in udevadm's output, $DEVICE should refer to a path under /dev/bus/usb

*Actual* result:
in udevadm's output, $DEVICE refers to a path under /proc/bus/usb

---

Example output:

udevmonitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent

UEVENT[1230275897.549547] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1 
(usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1
SUBSYSTEM=usb
MAJOR=189
MINOR=395
DEVTYPE=usb_device
DEVICE=/proc/bus/usb/004/012
PRODUCT=56a/42/126
TYPE=0/0/0
BUSNUM=004
DEVNUM=012
SEQNUM=4117

---

Description:    Ubuntu 8.10
Release:        8.10

udev:
  Installed: 124-9
  Candidate: 124-9
  Version table:
 *** 124-9 0
        500 http://us.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     124-8 0
        500 http://us.archive.ubuntu.com intrepid/main Packages

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
udev still uses /proc/bus/usb for $DEVICE
https://bugs.launchpad.net/bugs/311481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to