Ubuntu

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

Reported by Richard Hansen on 2011-02-21
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
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

Richard Hansen (a7x) wrote :

This is still a problem in natty.

Richard Hansen (a7x) wrote :

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

Richard Hansen (a7x) wrote :
Richard Hansen (a7x) on 2011-08-21
tags: added: patch
Richard Hansen (a7x) on 2012-09-27
description: updated
tags: added: natty oneiric precise
tags: added: maverick
Richard Hansen (a7x) on 2012-09-27
tags: removed: maverick
Richard Hansen (a7x) 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  Edit
Everyone can see this information.

Other bug subscribers