Closed kdkavanagh closed 6 years ago
Thanks for your work @kdkavanagh, and I don't mean to belittle your contribution, but wouldn't it be a nicer fix to get the Ubuntu package for iasl
updated instead?
While having an "automagic" script may be convenient, it makes the script grow complex with every single corner case we find. My opinion is that if the script relies on a minimum version of iasl
to work, it should check that that condition is met and just tell the user if it's not. The user would then be responsible for making an acceptable version of iasl
available to the script, which is a task that varies with Linux distro, user preference, ...
I would keep the version check from your patch, but only tell the user to upgrade iasl
if needed (potentially with some instructions to do so) instead of downloading, compiling and running software automatically!
Sorry for not merging this sooner. I was on vacation. Thanks a lot for your effort and for being part of getting Lenovo to release a fix. But since Lenovo fixed this I won't change the script anymore.
Wait it's been fixed, what bios version? As far as I could tell my x1 carbon gen 6 is still having bios issues (~2w per hour)
https://github.com/fiji-flo/x1carbon2018s3#discontinued-fixed-by-lenovo-in-new-firmware-release
They added an option to enable S3 support in the BIOS (v1.30).
Sorry for not merging this sooner. I was on vacation. Thanks a lot for your effort and for being part of getting Lenovo to release a fix. But since Lenovo fixed this I won't change the script anymore.
It's still worth merging as this fix still works for the X1 Yoga 3rd Gen. I ran into this same issue, and I still have to use this tool to get S3 to work on Linux.
Fixes #24