thor2002ro / asus_zenbook_ux3402za

83 stars 13 forks source link

Using systemd-boot #7

Open pvojnisek opened 1 year ago

pvojnisek commented 1 year ago

I have Pop!_OS running which uses systemd-boot. Can you help me how I can include the ssdt-csc3551.aml file into the boot process?

thor2002ro commented 1 year ago

no idea about systemd-boot that replaces grub..... you probably have to do it manually build the ssdt and put it in the kernel cmdline.....

contre95 commented 10 months ago

@pvojnisek From what I got from the Arch wiki (link) you need to edit the file inside /boot/loader/<date>_linux.conf

I did it and this is how the boot loader entry looks to me:

Default Boot Loader Entry:
         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (linux)
           id: 2023-11-21_22-05-11_linux.conf
       source: /boot//loader/entries/2023-11-21_22-05-11_linux.conf
        linux: /boot//vmlinuz-linux-lts
       initrd: /boot//intel-ucode.img
               /boot//initramfs-linux-lts.img 
               /boot//ssdt-csc3551.aml <- HERE
      options: root=PARTUUID=4272cd03-3831-4b7b-946f-5e6cff213335 zswap.enabled=0 rw rootfstype=ext4

But still not working, did you manage to make it work ?

pvojnisek commented 10 months ago

@contre95 I also tried to add it without any success. I decided not to play with it more since I use my machine for work and don't want it to be screwed up. Unfortunately it looks like that it won't be solved in the official release.

amritk commented 10 months ago

For systemd you probably want to put it as the first initrd. This is mine and it works (sound is just quiet)

# Created by: archinstall
# Created on: 2023-12-05_05-04-35
title   Arch Linux (w/ sound)
linux   /vmlinuz-linux
initrd  /acpi_override
initrd  /amd-ucode.img
initrd  /initramfs-linux.img
options cryptdevice=PARTUUID=8e8bf63e-e9fc-495e-9aa2-e27b9188ae51:root root=/dev/mapper/root zswap.enabled=0 rw rootfstype=ext4
contre95 commented 10 months ago

Thanks ! Got it. I was doing the same but with the wrong file. I had intrd ssdt-csc3551.aml insteam of the /acpi_override. Where are you taking this file from ? Is it the 01_acpi ?

amritk commented 10 months ago

Whoops sorry I have a um3402yar so I followed a different guide. But the system md part should be the same. Here is what I used

https://gist.github.com/masselstine/8fe9634b4c31cef07b8dfab089e4eb38