Bug 506974 - lsusb: cannot open "/usr/share/usb.ids", No such file or directory
Summary: lsusb: cannot open "/usr/share/usb.ids", No such file or directory
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: usbutils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-19 16:03 UTC by Nalin Dahyabhai
Modified: 2015-02-01 22:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-16 08:41:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
changes that worked for me (1.05 KB, patch)
2009-06-19 16:03 UTC, Nalin Dahyabhai
no flags Details | Diff

Description Nalin Dahyabhai 2009-06-19 16:03:06 UTC
Created attachment 348681 [details]
changes that worked for me

Description of problem:
Since 0.82-1, I'm getting incomplete information from "lsusb".  It also complains when I run it:
  lsusb: cannot open "/usr/share/usb.ids", No such file or directory

Version-Release number of selected component (if applicable):
0.82-1.fc12.x86_64

How reproducible:
Always

Comment 1 John Ellson 2009-06-19 23:34:30 UTC
On fc10 lsusb used to read /usr/share/hwdata/usb.ids.  Now on rawhide the executable agrees with the man page, but either both are wrong, or hwdata-0.222-1.fc10.noarch installs /usr/share/hwdata/usb.ids in the wrong place.

A workaround is to:
    cd /usr/share
    ln -s hwdata/usb.ids

Comment 2 Jiri Moskovcak 2009-07-01 11:24:17 UTC
Thanks for the report, i fixed it in rawhide, if you want to test it here it is: http://koji.fedoraproject.org/koji/taskinfo?taskID=1446508

Comment 3 Jiri Moskovcak 2009-07-01 13:15:19 UTC
Second try: http://koji.fedoraproject.org/koji/taskinfo?taskID=1446828

Comment 4 Nalin Dahyabhai 2009-07-01 16:07:45 UTC
I installed usbutils-0.82-3.fc12.x86_64 and 'lsusb' appears to be working properly again.  Thanks!


Note You need to log in before you can comment on or make changes to this bug.