fiji-flo / x1carbon2018s3

S3 suspend for the X1 Carbon 2018
The Unlicense
165 stars 16 forks source link

/acpi_override not found. #23

Closed BkunS closed 6 years ago

BkunS commented 6 years ago

Ubuntu 18.04, added /acpi_override in grub after initrd, but it says '/acpi_override not found' on boot. Tried to find the acpi_override file, but it's not there under root dir.

mattip commented 6 years ago

Do you have a single partition and /boot is a directory not a mount (hint - what is the incantation for initramfs-linux.img)? If so you should use /boot/acpi_override, as documented in the readme

BkunS commented 6 years ago

I use single partition. I also checked /boot dir, but acpi_override is not there either. Also, I'm getting 64 errors running the script, not sure if it's normal or not: Compilation complete. 64 Errors, 332 Warnings, 116 Remarks, 6298 Optimizations, 46 Constants Folded.

dal00 commented 6 years ago

I guess you updated your bios with the automatic bios update found in fwupd? You will need to get a newer iasl to be able to build the patch.

BkunS commented 6 years ago

Both iasl (20180105-1) and cpio (2.12+dfsg-6) are latest. I installed the latest BIOS 1.27 from Lenovo through Windows. Just wondering whether thers're any differences between installing the BIOS in Windows and Linux. Does fwupd offer exact the same BIOS as the what Lenovo offered but just to be installed in Linux?

BTW, I got no output by running: dmesg | grep -A3 'DSDT ACPI'

dal00 commented 6 years ago

Ubuntu does not package the latest one which is 20180810. You should be able to get it from https://www.acpica.org/downloads/ and build it. If you really one a package maybe you can try the one from cosmic, but I'm not sure it will work https://packages.ubuntu.com/cosmic/acpica-tools

BkunS commented 6 years ago

@dal00 Updated the iasl to the latest and everything works! Thank you so much!