On Tuesday 19 December 2006 08:56, Diego Calleja wrote: >El Tue, 19 Dec 2006 23:57:45 +1100, Marek Wawrzyczny <[EMAIL PROTECTED]> escribió: >> I had another, probably crazy idea. Would it be possible to utilize >> the current vendor/device PCI ID database to create Linux friendliness >> matrix site? > >I've a script (attached) that looks into /lib/modules/`uname > -r`/modules.pcimap, looks up the IDs in the pci id database and print > the real name. At least it shows it's possible to know what devices are > supported ...
FWIW: [EMAIL PROTECTED] src]# python list-kernel-hardware.py Traceback (most recent call last): File "list-kernel-hardware.py", line 70, in ? ret = pciids_to_names(data) File "list-kernel-hardware.py", line 11, in pciids_to_names pciids = open('/usr/share/misc/pci.ids', 'r') IOError: [Errno 2] No such file or directory: '/usr/share/misc/pci.ids' That file apparently doesn't exist on an FC6 i686 system -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/