You are not logged in.

#1 2025-02-15 19:56:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

`lspci -d`, or "We don't need no stinkin' `grep`"

The lspci command supplied with BunsenLabs Boron comes with an upgrade for the -d option, which allows for filtering the output according to PCI class, rendering piping to grep unnecessary.

For reference here are the PCI classes:

https://admin.pci-ids.ucw.cz/read/PD

So for video cards, listing both integrated and discrete is

lspci -d ::03xx

Ethernet cards:

lspci -d ::0200

Wireless:

lspci -d ::0280

Audio cards (non-HDMI):

lspci -d ::0403

HTH

Last edited by Head_on_a_Stick (2025-02-15 19:57:15)

Offline

#2 2025-02-16 01:56:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: `lspci -d`, or "We don't need no stinkin' `grep`"

If we had a bookmark system in the forum software, we should add one here.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

Board footer

Powered by FluxBB