Linux Commands Helper

💬 Your AI-powered Linux assistant

setpci Command - Configure PCI Devices

The setpci command is used to query and configure PCI device parameters directly from the command line. It allows reading and writing PCI configuration registers on Linux systems.

Syntax

setpci [options] device command

Examples

setpci -v

Show verbose output of setpci operations.

setpci -s 00:1f.2 60.b

Read the value of register 0x60 from the PCI device at bus 00:1f.2.

setpci -s 00:1f.2 60.b=ff

Write the value 0xff to register 0x60 of the PCI device at bus 00:1f.2.

Notes

  • Root privileges are required to modify PCI device settings.
  • setpci is part of the pciutils package on most Linux distributions.
  • Incorrect usage may cause hardware or system instability.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame