List graphic PCI devices |
$ lspci -knnmm | grep -E "(VGA|3D)" -> 05:00.0 "VGA compatible controller [0300]" "ASPEED Technology, Inc. [1a03]" "ASPEED Graphics Family [2000]" -r30 "ASUSTeK Computer Inc. [1043]" "ASPEED Graphics Family [85f9]"
|
-k Show kernel drivers handling each device.
-nn Show both textual and numeric ID's (names & numbers).
-mm Produce machine-readable output (single -m for an obsolete format).
-i --ignore-case ignore case distinctions.
-E --extended-regexp PATTERN is an extended regular expression (ERE ). Note the difference between the format from lspci for PCI (00:00.0 ) and the format in xorg.conf (00:00:0 ). |