home.social

#acpi — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #acpi, aggregated by home.social.

fetched live
  1. TIL: Schicke ich das Notebook im Akkubetrieb in den Energiesparmodus und wecke es später wieder auf, indem ich es an die Dockingstation klemme, dann erkennt xfce4-power-manager den neuen Zustand nicht (Stromquelle vorhanden), weil das ACPI-Event wohl untergeht. Dadurch gehen meine Monitore schon viel früher in den Energiesparmodus (wie im Akkubetrieb). Da hilft ein Restart von xfce4-power-manager mit der Option --restart. Dies ist ein Bug & Workaround Service-Tröööt.

    #xfce #Linux #acpi

  2. @AdrianVovk @spanezz
    From my understanding (& experience), the only situation in #GNOME where a closed lid won't suspend a laptop computer is when the laptop is connected to a keyboard + external monitor (i.e. the "docking station" scenario). As soon as I remove my closed-lid laptop from a docking station, it suspends.

    The exception I can think of: laptops BIOSes that only do "Modern Standby" (S0ix) instead of real S3, as LTT found out on Windows 3 years ago: youtube.com/watch?v=OHKKcd3sx2c

    #ACPI

  3. I wrote a blogpost about making AMD Zen3(+)-based Lenovo IdeaPads work with Linux (they have an annoying suspend/s2idle-related bug disabling the keyboard until rebooting).

    It also has a section about creating ACPI fake-devices to work around "Could not resolve symbol [...], AE_NOT_FOUND" ACPI errors.

    blog.gibson.sh/2026/06/03/idea

    #linux #ideapad #s2idle #acpi

  4. Found a bug with an HP Pavillon laptop, where CapsLock gets inverted upon resume from sleep by opening the lid. It'll type all-caps, even if you press CapsLock key to disable it. Impossible to unlock the screen.

    Workaround I found: press left Shift (not right Shift) once to reset the state before typing the password.

    Does not affect screen locking nor suspending without lid close, only when resuming by opening the lid.

    Weird as hell, but HP I guess 🤷

    #Linux #HP #HewlettPackard #laptops #ACPI

  5. Looking at #BadAML again, I think #ACPI really means Arbitrary Code and Pointer Injection.

  6. Пишем свою OS на Zig: Первый релиз с многоядерностью, FAT32 и скриптами

    11 000 строк кода, 95% Zig, 0% стандартной библиотеки: история создания NovumOS с поддержкой SMP, FAT32 LFN и Huge Pages. Привет, Хабр! 👋 Меня зовут Антон, и я хочу поделиться историей создания своей собственной операционной системы. Это моя первая статья и первый серьезный релиз системы ( v0.20 ). Многие разработчики мечтают написать свою операционную систему. Обычно этот путь заканчивается на выводе "Hello World" в VGA-буфер. Я тоже начинал с малого (C# COSMOS), потом уходил в Ассемблер, бросал, возвращался... Но в этот раз я решил пойти до конца. Моей целью было не просто запустить ядро, а создать современную, масштабируемую архитектуру на современном языке. Встречайте NovumOS ...

    habr.com/ru/articles/995136/

    #Zig #OSDev #Kernel #операционные_системы #x86 #SMP #multicore #paging #FAT32 #ACPI

  7. Highlights from the main #acpi merge for #Linux 7.0:

    ""This one is significantly larger than previous ACPI support pull requests because several significant updates have coincided in it.

    First, there is a routine ACPICA code update, to upstream version 20251212, but this time it covers new ACPI 6.6 material that has not been covered yet. Among other things, it includes definitions of a few new ACPI tables and updates of some others, like the GICv5 MADT structures and ARM IORT IWB node definitions that are used for adding GICv5 ACPI probing on ARM (that technically is IRQ subsystem material, but it depends on the ACPICA changes, so it is included here). The latter alone adds a few hundred lines of new code.

    Second, there is an update of ACPI _OSC handling including a fix that prevents failures from occurring in some corner cases due to careless handling of _OSC error bits.

    On top of that, the "system resource" ACPI device objects with the PNP0C01 and PNP0C02 are now going to be handled by the ACPI core device enumeration code instead of handing them over to the legacy PNP system driver which causes device enumeration issues to occur. Some of those issues have been worked around in device drivers and elsewhere and those workarounds should not be necessary any more, so they are going away.

    Moreover, the time has come to convert all "core ACPI" device drivers that were still using struct acpi_driver objects for device binding into proper platform drivers that use struct platform_driver for this purpose. These updates are accompanied by some requisite core ACPI device enumeration code changes.

    Next, there are ACPI APEI updates, including changes to avoid excess overhead in the NMI handler and in SEA on the ARM side, changes to unify ACPI-based HW error tracing and logging, and changes to prevent APEI code from reaching out of its allocated memory.

    There are also some ACPI power management updates, mostly related to the ACPI cpuidle support in the processor driver, suspend-to-idle handling on systems with ACPI support and to ACPI PM of devices.

    In addition to the above, bugs are fixed and the code is cleaned up in assorted places all over.

    […] ""

    git.kernel.org/torvalds/c/d84e

    #Kernel #LinuxKernel

  8. Под капотом ACPI. Современное управление питанием

    Как-то при разработке UEFI мне посчастливилось разбираться с таблицами описания системы в исходниках ASL (ACPI Source Language). Тема оказалась не тривиальная и моего багажа в несколько лет опыта, достаточно плотной embedded-разработки, не хватало для полного понимания работы подсистемы ACPI (Advanced Configuration and Power Interface). Поэтому пришлось исследовать доступные материалы на тему. В процессе поиска информации заметил, что очень мало русскоязычных статей на эту тему – а если и есть, то они в основном рассказывают о том, как включить какое-то оборудование на раннем этапе загрузки системы, а не дают понимания, как это устроено. Поэтому решил попробовать написать об устройстве ACPI, тем более что тема достаточно сложная для понимания – одна лишь спецификация ACPI занимает более 1200 страниц (на момент написания статьи). А некоторые даже и не знают о её существовании.

    habr.com/ru/companies/icl_grou

    #ACPI #ASL #AML #ACPI_Source_Language #ACPI_Machine_Language #OSPM #управление_питанием #ACPI_namespace #BIOS #OC

  9. NetBSD и NVIDIA Optimus

    Чтобы задать уровень выдаваемой дичи сразу на весь 2026 год вперед, я написал эту замечательную статью.

    habr.com/ru/articles/984894/

    #netbsd #acpi #gpu #optimus #nvidia #kernel #kernel_module #kernel_development

  10. My #Framework woke up too easily, and I wanted to make it sleep through keyboard and lid events. Here's how I did that, and how that made me rediscover that #ACPI quite likely is as misdesigned as it is on purpose (of course, by #Microsoft).
    blog.tfiu.de/waking-the-framew
    #zuengeln

  11. История одного патча II: приключения в FreeBSD

    Продолжение истории с зависшей батареей, рассказываю что бывает если постоянно заимствовать пусть и открытый, но все же чужой код.

    habr.com/ru/articles/960300/

    #freebsd #acpi #батарея #батарея_ноутбука #си

  12. Pro Tip:

    If you computer, be it #laptop or #desktop under #linux has issues with sleeping or other similar activities, either find someone else or learn to do yourself, dump your #ACPI tables, decompile them, and have a look at the sleep procedure. And anywhere else you're having problems, but especially sleep. #OEM s basically don't test their ACPI so things can be incredibly broken, and loading your own ACPI code after the machine is running can fix so many issues. Like Sleep.

    wiki.archlinux.org/title/DSDT

  13. [Перевод] Как я обнаружил в ноутбуке Dell Inspiron баг ACPI, одолевавший меня восемь лет

    Представьте, что вы закрываете крышку ноутбука, чтобы он ушёл в сон, однако вместо этого он перезагружается. Не каждый раз, но достаточно часто для того, чтобы выводить из себя. Вы пытаетесь сохранить свою работу, но машина решает, что нужно начинать заново. В течение восьми лет такой была реальность моего взаимодействия с Dell Inspiron 5567. Этот необъяснимый баг возникал в каждой установленной ОС. В статье я расскажу историю о том, как погрузился в исходный код прошивки и обнаружил единственную команду-виновницу.

    habr.com/ru/articles/948302/

    #acpi #acpi_s3 #dell #dell_inspiron

  14. FreeBSD, ноутбук и перегрев

    Делюсь одним малоизвестным решением проблемы с перегревом, коль уж судьба заставила использовать эту редкую ОС на ноутбуке.

    habr.com/ru/articles/943212/

    #freebsd #acpi #перегрев #laptop #ноутбук #bsdсистемы

  15. Me parece que hay algo que no entienden los que piden a #Microsoft una versión de #Windows para los PC de mano (sin entrar en que básicamente están pidiendo más software privativo).

    Lo que ha hecho #Valve no se trata de ninguna versión especial de #GNU. GNU funciona así de serie. Valve a penas ha añadido parches a #Linux. Casi todo su trabajo se ha centrado en #DXVK y #Proton. Y en la #SteamDeck añadir soporte en Linux para la #ACPI. Esto de la ACPI es algo que en Linux siempre necesita ingeniería inversa porque los fabricantes de hardware no publican nunca nada más que drivers privativos para Windows. Las teclas especiales (de volumen, retroiluminación, activar/desactivar wifi/touchpad), la hibernación, suspensión y recuperación desde dichos estados de reposo siempre dan dolores de cabeza hasta que se logran descifrar los bugs que la placa base presenta. Todo sería mucho más fácil si publicasen las especificaciones (chipsets que utilizan y qué parámetros utilizan para configurarlos).

    Si Microsoft saca una versión especial de Windows para que rinda más y consuma menos batería, estaría dando un trato discriminatorio a los usuarios de PC de escritorio. No me aventuro a decir qué es lo que provoca esa merma de rendimiento pero sí puedo decir que forma parte de su estrategia comercial para conseguir más subscripciones al máximo número de software suyo.

  16. New Blog Post: Why Won’t You Power Off?

    Linux wouldn’t shut down my ThinkPad x260.

    ❌ It wasn’t heat.

    ❌ It wasn’t ACPI.

    ✅ It was the TPM.

    🛠️ Troubleshooting recap

    ⚙️ BIOS tweaks

    ☕ Real fix that worked

    🔗 dreaming-of-dragons.blogspot.c

    #Linux #ThinkPad #TPM #Debugging #ACPI #SysAdmin #TechBlog

  17. "GUIDs are not big endian, they are not little endian, they are Goldilocks endian."

    tedu@ in "fan service"

    flak.tedunangst.com/post/fan-s #openbsd #acpi #wmi #fancontrol

  18. [Post-mortem: BashCore Stress Test Investigation]

    Test ended on Day 5.
    The system didn’t crash, but I noticed the fan was working overtime. The main suspect?
    kworker/0:3+kacpid turns out it was busy with ACPI tasks (power management).
    So technically… BashCore held up, but ACPI didn’t like the heat. Literally.
    This is a known issue on older hardware with imperfect ACPI/BIOS support.

    Takeaway:
    BashCore is stable, it’s the laptop that needs therapy 🤒

    #BashCore #LinuxKernel #ACPI #kworker

  19. If you have a Gigabyte B550i AORUS board, the fix is similar:

    echo GPP0 > /proc/acpi/wakeup

    In this case, it disables wakeup from an M.2 NVMe drive, which apparently causes the same symptoms.

    Credit to the following reddit post: reddit.com/r/gigabyte/comments

    And commenter "bacuri_do_cerrado" for the fix on ASUS ROG Strix boards.

    #linux #amd #acpi

  20. Well, it woke up this morning after being in sleep mode all night. I'm calling this “likely fixed”. Huzzah!

    The solution, for anyone with an ASUS ROG Strix B550-I (or similar boards from ASUS) motherboard that won't wake up from sleep:

    echo XHC0 > /proc/acpi/wakeup

    In theory, all this does is prevent USB3 devices on XHC0 from waking the system (kb and mice are USB2 so shouldn't be affected). Why this would prevent the system from waking properly is a mystery.

    #linux #amd #acpi