60-persistent-input.rules does not create a symlink for interface #0 (with multi-interface USB devices)

Bug #722411 reported by Richard Hansen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: udev

Commit 32567f8 in the upstream udev git repository [1] was meant as an enhancement to commit 5e9eb15 [2], which was made to fix bug #626449. Unfortunately, commit 32567f8 (which is present in udev_166-0ubuntu1 in natty) is wrong.

The original symlink -- the one without the interface number -- points to the device file for the last interface, not interface #0. With a two-interface USB device, both /dev/by-id/usb-<serial>-<class> and /dev/by-id/usb-<serial>-if01-<class> point to the same device file (the one for the second interface). With commit 32567f8, no symlink for the first interface is created.

Reverting commit 32567f8 from the upstream udev Git repository should fix the problem.

[1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=32567f8c95290a8819c0bc7d57849b8abfba9554
[2] http://cgit.freedesktop.org/systemd/systemd/commit/?id=5e9eb156c003dc7f8f92287bfad0251d6c5d0ef9

Revision history for this message
Richard Hansen (rhansen) wrote :

This is still a problem in natty.

Revision history for this message
Richard Hansen (rhansen) wrote :

I uploaded a fixed version of udev to my PPA:
https://launchpad.net/~a7x/+archive/bug722411

Revision history for this message
Richard Hansen (rhansen) wrote :
Richard Hansen (rhansen)
tags: added: patch
Richard Hansen (rhansen)
description: updated
tags: added: natty oneiric precise
tags: added: maverick
Richard Hansen (rhansen)
tags: removed: maverick
Revision history for this message
Richard Hansen (rhansen) wrote :

Closing as invalid. The premise of this bug report is that the symlink without the interface number is always associated with the last interface, which isn't correct. According to the udev man page, the device that gets the interfaceless symlink is undefined because link_priority isn't set. I have filed bug #1057824 about assigning link_priority values so that the interfaceless symlink consistently points to the interface 0 device.

Changed in udev (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.