setpci(8) The PCI Utilities setpci(8) (NAME) setpci - (PCI) (SYNOPSIS) setpci [options] devices operations... (DESCRIPTION) setpci PCI . () . ( ) () . lspci(8) . (OPTIONS) (General options) -v setpci (verbose) . -f setpci ( ) . . -D << >> (Demo mode) -- () . setpci -vD setpci . -r ( -s ) . . --version setpci. . --help . . --dumpregs PCI. . PCI (PCI access options) PCI PCI PCI ( pcilib(7) ). : -A PCI . (override) . -A help . -O = . . -O help . -H1 (Intel configuration mechanism 1). ( -A intel- conf1 .) -H2 (Intel configuration mechanism 2). ( -A intel- conf2 .) -G (debug) . (DEVICE SELECTION) . -s [[[[]:]]:][][.[]] (domain) (bus) (slot) (function) . ( host bridge 0 ffff 0 ffff 0 ff 0 1f 0 7 ). <<*>> << >> . . <<0:>> 0 <<0>> 0 <<0.3>> 0 <<.4>> . -d []:[][:[:]] (vendor) (device) (class ID) (programming interface) . <<*>> << >> . <> << >> . -s -d . . (OPERATIONS) : . () . : name=value,value... value data:mask data mask . mask ( -- read-modify- write ). : o . o . Setpci . `setpci --dumpregs' . PCI header.h /usr/include/pci/pci.h . o (capability) . `CAP_' `ECAP_' --dumpregs . o setpci CAPid ECAPid id . o +offset ( ) . . o ( ) .B .W .L . . o @number . . (case-insensitive). (EXAMPLES) COMMAND (command register) (word-sized / ) . 4.w . COMMAND.l (dword / ) command status . VENDOR_ID+1.b vendor ID ( PCI little-endian ). CAP_PM+2.w (power management capability) . ECAP108.l (extended capability) 0x108 . (SEE ALSO) lspci(8), pcilib(7) (AUTHOR) PCI Utilities Martin Mares . pciutils-3.15.0 05 April 2026 setpci(8)