Why are there two usb.ids and pci.ids files on my system?
I recently connected a new TomTom ONE 130 GPS device to my laptop; while the device is mounted properly and appears as a mass storage device, the lsusb command doesn't display it.
$ lsusb|grep -v "Device 001" #exclude hubs
Bus 002 Device 003: ID 1390:0001
However, there are two different copies of usb.ids on the system, owned by the hwdata and usbutils packages, respectively.
$ locate usb.ids|xargs ls -l
-rw-r--r-- 1 root root 153943 2008-01-21 11:45 /usr/share/
lrwxrwxrwx 1 root root 21 2008-08-05 20:56 /usr/share/
-rw-r--r-- 1 root root 171981 2008-02-24 15:21 /var/lib/
$ locate usb.ids|xargs dpkg -S
hwdata: /usr/share/
usbutils: /usr/share/
usbutils: /var/lib/
Why are there two copies? The hwdata copy carries revision ID 1.230, 2006/12/12, while the usbutils copy carries revision ID 1.285, 2007/10/21. Is there a reason why the same file is distributed twice, under different names? Is this an oversight which should be considered a bug? hwdata says it's only there for kudzu; is it obsolete at this point?
There's a similar situation with pci.ids:
$ locate pci.ids|xargs ls -l
-rw-r--r-- 1 root root 456807 2008-01-21 11:45 /usr/share/
-rw-r--r-- 1 root root 529991 2008-08-22 19:53 /usr/share/
$ locate pci.ids|xargs dpkg -S
hwdata: /usr/share/
pciutils: /usr/share/
I'm running Hardy on the local machine, though the situation is still present in Intrepid.
Additionally, if lsusb isn't displaying my device, which package do I file the bug under?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Guillermo Belli
- Solved:
- Last query:
- Last reply: