Skip to content

Commit 9e7335d

Browse files
authored
Linux iGPU path for Backlight (#63)
1 parent 9a079a2 commit 9e7335d

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

Laptops/backlight-methods/manual.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,37 @@
77

88
## Finding the ACPI path
99

10-
For this guide, we're gonna assume Windows is already on this laptop, as otherwise creating this SSDT is a bit more difficult.
10+
### On MacOS
11+
Unfortunately there is no guidance for this yet. Try on Linux or Windows.
1112

12-
Now open DeviceManager, and head to the following:
13+
### On Linux
14+
These steps work on Ubuntu and may work on other distros. If not then try the procedure for Windows.
15+
Use the `lspci` command to get your display adapters PCI identification number.
16+
The output here will be different on your system!
17+
```
18+
# lspci -D
19+
0000:00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
20+
0000:00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
21+
0000:00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
22+
0000:00:02.0 VGA compatible controller: VMware SVGA II Adapter
23+
0000:00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
24+
0000:00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
25+
```
26+
Search the output for an entry that looks like your display adapter. E.g: In this example we have `VGA compatible controller` with PCI number `0000:00:02.0`. The format of this number is `domain:bus:device:function`.
27+
28+
Now use this command from a Terminal to find the ACPI path for your display adapter
29+
`# cat /sys/class/pci_bus/<domain:bus>/device/<domain:bus:device:function>/firmware_node/path`
30+
31+
For example
32+
```
33+
# cat /sys/class/pci_bus/0000:00/device/0000:00:02.0/firmware_node/path
34+
\_SB_.PCI0.GFX0 <-- The ACPI path
35+
```
36+
Further details [at this link.](https://unix.stackexchange.com/questions/653143/how-to-get-bios-device-name-from-linux-same-as-windows-device-manager-format)
37+
38+
### On Windows
39+
40+
Open DeviceManager, and head to the following:
1341

1442
```
1543
Device Manager -> Display Adapters -> Properties -> Details > BIOS device name

0 commit comments

Comments
 (0)