💻 Software
How to read a specific PCI device register in Linux from the CLI?
Fresh5 days ago
Mar 15, 202649655 viewsConfidence Score0%
0%
Problem
In order to control my backlight, I need to do the following: This could be read as: For the PCI device with the ID 00:02.1, set the register F4 (byte only) to x. To figure out a value I want for x, I'd like to read its current value (in a script I'm writing). How do I do this? Early work: This see…
Error Output
sudo setpci -s 00:02.1 F4.B=x
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to read a specific PCI device register in Linux from the CLI?
Low Risk
You want the program . It looks like this format would do what you want: See : the only difference with your version is you're trying to set the register, so you name it and assign a value (" "). Here, just name it; don't assign a value. From the ma…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix