Importance of Linux PCI ID Repository

Posted on in Categories Linux, Troubleshooting last updated July 25, 2006

3-4 days back I brought a new DLink 510 PCI wireless card for my home pc (If I want to work for more than 2-3 hours I prefer to use desktop instead of my laptop so I brought a new PCI wireless card). I brought this card because it is known to work with both ndiswrapper and it has open source GPL driver 🙂

After installing the card, it was not detected by Linux. Next, I had downloaded ndiswrapper and installed it. But, when I try to use driver provided by DLink cd it failed and crashed the system. Then I tried open source driver as descried here and here. But card refused to work again.

All this time lspci was giving me following output:
$ lspciOutput:

0000:01:00.0 Network controller: RaLink: Unknown device 0302

Something was wrong because I never spend more than 2 hours for Linux driver installation. Then I decided to update my Linux PCI ID database. You can download latest version here at the Linux PCI ID repository.
$ cd /tmp
$ wget http://pciids.sourceforge.net/pci.ids
# cp /tmp/pci.ids /var/lib/pciutils/pci.ids

Update: If you are using Debian stable copy file to /usr/share/misc/ directory:
# cp pci.ids /usr/share/misc/

Now lspci reported correct chipset:
$ lspci

Output:

0000:01:00.0 Network controller: RaLink RT2561/RT61 rev B 802.11g

Now I did understand the problem. New wireless DLink PCI card DWL 510 does not use chipset RTL8180L from RealTek. This is a new chipset (RT61) from ralinktech and not supported by ndiswrapper 🙁

However, ralinktech has driver for kernel 2.6/2.4 for RT61 card. Next time I will write about