in reply to list hardware vendors in linux

This isn't a perl question, but...

On linux you can run lspci for a list of the pci and pci-like cards and extensions on your machine, including vendors. Also, lsusb lists some vendor information for connected usb devices.

Then there are some possibly interesting virtual files in /proc. For instance /proc/cpuinfo gives a lot of details about installed CPUs.

update: more specifically there are some numerical codes in

/sys/class/net/*/device/vendor /sys/class/net/*/device/subsystem_vendor
But you'll have to find out which vendor is which from someone else. :-)

Replies are listed 'Best First'.
Re^2: list hardware vendors in linux
by wazoox (Prior) on Jun 25, 2007 at 21:35 UTC
    And if you want to know how to link codes with vendors and products names, see http://pciids.sf.net for an up-to-date list.
Re^2: list hardware vendors in linux
by avo (Pilgrim) on Jun 25, 2007 at 22:35 UTC
    Thanks, sorry for posting it here :) but because I am not sure where to find a good Linux discussion like this Perl one, I decided to ask here. I will anyway use Perl as a back-end to whatever tool / script I decide to use.
    Thanks for the fast reply!
    Highly appreciated!
      Linux forums all devolve into "The reason you can't do x is because you're on y" or "Microsoft problem" or "if you were a real linux geek, you'd code the driver yourself!" This forum is certainly more friendly. There's probably a better category than SOPW to put it in, though.