Opened 8 years ago

Closed 8 years ago

#11185 closed enhancement (fixed)

Fix a bug in lsusb.py from usbutils-010

Reported by: Xi Ruoyao Owned by: Douglas R. Reno
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: low Keywords:
Cc:

Description

lsusb.py in usbutils-010 is buggy. If you invoke it, you'll see

WARNING: Failure to read usb.ids

Upstream has fixed this in ​the commit. We can attach it as a patch if usbutils-011 is not released before 8.4.

Attachments (1)

lsusb.py.diff​ (3.2 KB ) - added by Bruce Dubbs 8 years ago.
Patch that fixes the problem.

Download all attachments as: .zip

Change History (6)

comment:1 by Douglas R. Reno, 8 years ago

Priority: low → normal

comment:2 by Douglas R. Reno, 8 years ago

Our best bet for this one is to wait until usbutils-011. I have a patch for it, but it doesn't work properly and retains the same errors regarding usb.ids - even after using the upstream commit.

by Bruce Dubbs, 8 years ago

Attachment: lsusb.py.diff​ added

Patch that fixes the problem.

comment:3 by Bruce Dubbs, 8 years ago

The attached diff fixes the problem. It deletes some commented debugging commands as well as the real fixes. The upstream commit just modified the debugging commands although they are not used.

comment:4 by Douglas R. Reno, 8 years ago

Owner: changed from blfs-book to Douglas R. Reno
Status: new → assigned

comment:5 by Douglas R. Reno, 8 years ago

Resolution: → fixed
Status: assigned → closed

Fixed at r20974

Note: See TracTickets for help on using tickets.