ACPI: erinevus redaktsioonide vahel
Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
11. rida: | 11. rida: | ||
TODO |
TODO |
||
+ | |||
+ | * ACPI - supervisor |
||
+ | * EC/SMBus - worker |
||
===Misc=== |
===Misc=== |
Redaktsioon: 3. oktoober 2025, kell 02:11
Sissejuhatus
TODO
Mõisted
- ACPI - advanced configuration and power interface
- AML - acpi machine language
Tööpõhimõte
TODO
- ACPI - supervisor
- EC/SMBus - worker
Misc
Lenovo T460p - Ubuntu
OSI
root@ubu2110:~# dmesg -T | grep Added [P sept 21 10:38:30 2025] ACPI: Added _OSI(Module Device) [P sept 21 10:38:30 2025] ACPI: Added _OSI(Processor Device) [P sept 21 10:38:30 2025] ACPI: Added _OSI(3.0 _SCP Extensions) [P sept 21 10:38:30 2025] ACPI: Added _OSI(Processor Aggregator Device) [P sept 21 10:38:30 2025] ACPI: Added _OSI(Linux-Dell-Video) [P sept 21 10:38:30 2025] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [P sept 21 10:38:30 2025] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
acpi aml tabelite (koodi) laadimine (ehk nn acpi-driverid)
[P sept 21 10:38:30 2025] ACPI: 11 ACPI AML tables successfully acquired and loaded
bus tüübid
root@ubu2110:~# dmesg -T | grep "ACPI: " | grep regist [P sept 21 10:38:30 2025] ACPI: bus type PCI registered [P sept 21 10:38:30 2025] ACPI: bus type USB registered
üsna tüüpiline viga
root@ubu2110:~# dmesg -T | grep "ACPI: " | grep Bug [P sept 21 10:38:30 2025] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
millega saaks tegeleda nt linux kernel ütleb, et ta on windows, iseasi kas see on praktiliselt vajalik
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi='Windows 2015'"
acpitool abil suhtlemine acpi osakonnaga
root@ubu2110:~# acpitool -c CPU type : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz Min/Max frequency : 800/3500 MHz Current frequency : 799 MHz Frequency governor : powersave Freq. scaling driver : intel_pstate Cache size : 2600.000 KB Bogomips : 5199.98 Bogomips : 5199.98 Bogomips : 5199.98 Bogomips : 5199.98 Bogomips : 5199.98 Bogomips : 5199.98 Bogomips : 5199.98 Bogomips : 5199.98 Function Show_CPU_Info : could not read directory /proc/acpi/processor/ Make sure your kernel has ACPI processor support enabled.
aku
root@ubu2110:~# acpitool -B Battery #1 : present Remaining capacity : 15680 mWh, 100.0% Design capacity : 71280 mWh Last full capacity : 15680 mWh, 22.00% of design capacity Capacity loss : 78.00% Present rate : 0 mW Charging state : Full Battery type : Li-ion Model number : 45N1777 Serial number : 2616
wake up seadmed
root@ubu2110:~# acpitool -w Device S-state Status Sysfs node --------------------------------------- 1. LID S4 *enabled platform:PNP0C0D:00 2. SLPB S3 *enabled platform:PNP0C0E:00 3. IGBE S4 *enabled pci:0000:00:1f.6 4. PXSX S4 *disabled pci:0000:03:00.0 5. PXSX S4 *disabled 6. PXSX S4 *disabled 7. PXSX S4 *disabled 8. PXSX S4 *disabled pci:0000:04:00.0 9. *disabled platform:rtsx_pci_sdmmc.0 10. PXSX S4 *disabled 11. XHCI S3 *enabled pci:0000:00:14.0 root@ubu2110:~# lspci | grep 00:1f.6 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31) root@ubu2110:~# dmesg | egrep "PNP0C0D|PNP0C0E" [ 0.323518] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0 [ 0.323573] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
Lenovo T460p - OpenBSD
TODO
Kasulikud lisamaterjalid
- TODO