From 9e7335d471433acd2c341fc4de697b9148d278d2 Mon Sep 17 00:00:00 2001 From: FlexMcMurphy <32464325+FlexMcMurphy@users.noreply.github.com> Date: Wed, 13 Oct 2021 08:02:36 +0100 Subject: [PATCH] Linux iGPU path for Backlight (#63) --- Laptops/backlight-methods/manual.md | 32 +++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/Laptops/backlight-methods/manual.md b/Laptops/backlight-methods/manual.md index 12f7af3..9e38016 100644 --- a/Laptops/backlight-methods/manual.md +++ b/Laptops/backlight-methods/manual.md @@ -7,9 +7,37 @@ ## Finding the ACPI path -For this guide, we're gonna assume Windows is already on this laptop, as otherwise creating this SSDT is a bit more difficult. +### On MacOS +Unfortunately there is no guidance for this yet. Try on Linux or Windows. -Now open DeviceManager, and head to the following: +### On Linux +These steps work on Ubuntu and may work on other distros. If not then try the procedure for Windows. +Use the `lspci` command to get your display adapters PCI identification number. +The output here will be different on your system! +``` +# lspci -D +0000:00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) +0000:00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] +0000:00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) +0000:00:02.0 VGA compatible controller: VMware SVGA II Adapter +0000:00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) +0000:00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service +``` +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`. + +Now use this command from a Terminal to find the ACPI path for your display adapter +`# cat /sys/class/pci_bus//device//firmware_node/path` + +For example +``` +# cat /sys/class/pci_bus/0000:00/device/0000:00:02.0/firmware_node/path +\_SB_.PCI0.GFX0 <-- The ACPI path +``` +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) + +### On Windows + +Open DeviceManager, and head to the following: ``` Device Manager -> Display Adapters -> Properties -> Details > BIOS device name