As root, or via sudo, run: /sbin/lspci -nnvb | grep -i VGA -A 100 | grep -i "kernel module" -B 100 -m 1
That should adequately identify your graphics chipset. Eyeballs aren't scriptable.
On Wed, Jan 7, 2009 at 13:29, Billy Crook [email protected] wrote:
As root, or via sudo, run: /sbin/lspci -nnvb | grep VGA
That should adequately identify your graphics chipset.
On Wed, Jan 7, 2009 at 12:42, Haworth, Michael A. [email protected] wrote:
Hey – what is the command to have Fedora list back the video card in my laptop? I remember Monty telling me the command once, but it didn't stick in the brain…
Michael Haworth
PAS Technologies Inc.
Direct Line: (816) 556-5157
Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug
They aren't scriptable, but often they are faster than getting all the flags just right on a command set. On most machines lspci outputs less than two screen pages of info. lspci is the command to deal with here and it's output is nearly always easy enough to wade through without needing a custom grep/filter set to get what you need. Heck, (nearly?) all AGP video chips show up on PCI:1:0:0, so that's usually the only thing to look for if it's an AGP machine.
Jon.
On Wed, Jan 7, 2009 at 1:38 PM, Billy Crook [email protected] wrote:
As root, or via sudo, run: /sbin/lspci -nnvb | grep -i VGA -A 100 | grep -i "kernel module" -B 100 -m 1
That should adequately identify your graphics chipset. Eyeballs aren't scriptable.
On Wed, Jan 7, 2009 at 13:29, Billy Crook [email protected] wrote:
As root, or via sudo, run: /sbin/lspci -nnvb | grep VGA
That should adequately identify your graphics chipset.
On Wed, Jan 7, 2009 at 12:42, Haworth, Michael A. [email protected] wrote:
Hey – what is the command to have Fedora list back the video card in my laptop? I remember Monty telling me the command once, but it didn't stick in the brain…
Michael Haworth
PAS Technologies Inc.
Direct Line: (816) 556-5157
Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug
Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug
I have yet to find a single machine (and I just tested it on all 8 in my immediate vicinity) that the command I gave won't give you back the model number of the card.
Can anyone provide an example of a machine where:
sudo lspci -v | grep VGA
doesn't give you the exact model of the video card?
Glenn
On Wed, Jan 7, 2009 at 5:55 PM, Jon Pruente [email protected] wrote:
They aren't scriptable, but often they are faster than getting all the flags just right on a command set. On most machines lspci outputs less than two screen pages of info. lspci is the command to deal with here and it's output is nearly always easy enough to wade through without needing a custom grep/filter set to get what you need. Heck, (nearly?) all AGP video chips show up on PCI:1:0:0, so that's usually the only thing to look for if it's an AGP machine.
Jon.
On Wed, Jan 7, 2009 at 1:38 PM, Billy Crook [email protected] wrote:
As root, or via sudo, run: /sbin/lspci -nnvb | grep -i VGA -A 100 | grep -i "kernel module" -B 100
-m 1
That should adequately identify your graphics chipset. Eyeballs aren't scriptable.
On Wed, Jan 7, 2009 at 13:29, Billy Crook [email protected] wrote:
As root, or via sudo, run: /sbin/lspci -nnvb | grep VGA
That should adequately identify your graphics chipset.
On Wed, Jan 7, 2009 at 12:42, Haworth, Michael A. [email protected] wrote:
Hey – what is the command to have Fedora list back the video card in my laptop? I remember Monty telling me the command once, but it didn't
stick in
the brain…
Michael Haworth
PAS Technologies Inc.
Direct Line: (816) 556-5157
Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug
Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug
Kclug mailing list [email protected] http://kclug.org/mailman/listinfo/kclug
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Glenn Robuck wrote:
I have yet to find a single machine (and I just tested it on all 8 in my immediate vicinity) that the command I gave won't give you back the model number of the card.
Can anyone provide an example of a machine where:
sudo lspci -v | grep VGA
Example 1: My headless Intel INS1020 (w/o a graphics card of any kind) returns nothing. :)
Example 2: One of the minimal LRP-based routers I have still in production returns an error (no sudo command, no lspci command), but that's kind of cheating.
I suspect non-pci graphics cards (ie: ISA/EISA) would also not show up in lspci output, but that might also be considered cheating, and I have no easy way to test this (the minimal systems I currently have assembled and ready access to wouldn't be able to boot and run anything that includes lspci).
Interestingly, the minimal flash-based debian fanless firewall install I showed at the recent KULUA *DOES* properly list the VGA card (AMD Geode LX Video), at least if I rip off the sudo part (sudo isn't installed) and just run lspci -v | grep VGA as root. :)
- -- Charles Steinkuehler [email protected]
heh, you got me on the no video card. :) I should have clarified "A computer with a video subsystem."
Good one Charles.
Glenn
On Wed, Jan 7, 2009 at 9:04 PM, Charles Steinkuehler < [email protected]> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Glenn Robuck wrote:
I have yet to find a single machine (and I just tested it on all 8 in my immediate vicinity) that the command I gave won't give you back the model number of the card.
Can anyone provide an example of a machine where:
sudo lspci -v | grep VGA
Example 1: My headless Intel INS1020 (w/o a graphics card of any kind) returns nothing. :)
Example 2: One of the minimal LRP-based routers I have still in production returns an error (no sudo command, no lspci command), but that's kind of cheating.
I suspect non-pci graphics cards (ie: ISA/EISA) would also not show up in lspci output, but that might also be considered cheating, and I have no easy way to test this (the minimal systems I currently have assembled and ready access to wouldn't be able to boot and run anything that includes lspci).
Interestingly, the minimal flash-based debian fanless firewall install I showed at the recent KULUA *DOES* properly list the VGA card (AMD Geode LX Video), at least if I rip off the sudo part (sudo isn't installed) and just run lspci -v | grep VGA as root. :)
Charles Steinkuehler [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJZW0pLywbqEHdNFwRAktyAKDc9DAv1wCnf1tIrIoibQE+sQM/cQCfdkeN zO4qLf8LKZezGeV/TQUX1sc= =6EE6 -----END PGP SIGNATURE-----