Closed Sergei-Volkov closed 2 years ago
Please provide this file /etc/os-release
There it is
NAME="Nobara Linux" VERSION="36 (Thirty Six)" ID=nobara VERSION_ID=36 VERSION_CODENAME="" PLATFORM_ID="platform:f36" PRETTY_NAME="Nobara Linux 36 (Thirty Six)" ANSI_COLOR="0;38;2;60;110;180" LOGO=nobara-logo-icon CPE_NAME="cpe:/o:nobaraproject:nobara:36" HOME_URL="https://www.nobaraproject.org/" DOCUMENTATION_URL="https://www.nobaraproject.org/" SUPPORT_URL="https://www.nobaraproject.org/" BUG_REPORT_URL="" REDHAT_BUGZILLA_PRODUCT="Nobara" REDHAT_BUGZILLA_PRODUCT_VERSION=36 REDHAT_SUPPORT_PRODUCT="Nobara" REDHAT_SUPPORT_PRODUCT_VERSION=36 PRIVACY_POLICY_URL="" VARIANT_ID=workstation
So I took a look on scripts and changed line 42 in install.sh
to
elif test "$ID" = "fedora" -o "$ID" = "nobara"; then
And it worked for me so script started doing smth.
But there was an issue after every driver installation like
/home/svolkov/Documents/modern_laptop/scripts/update-initrd.sh: line 9: update-initramfs: command not found
So I had corrected line of code there too test "$ID" = "fedora" -o "$ID" = "nobara"
, but it didn't work. I checked what $ID parameter value is there, but it was empty. So I just left only dracut --regenerate-all --force
with no if statements (--force
flag was suggested by dracut itself).
The only left issues are:
"Unsupported environment."
Not sure which part of scripts is responsible for it.modprobe: FATAL: Module snd_soc_acp6x_mach is in use.
Can't disable that module manually. But I don't know if this error affects an installation overall.Try this branch https://github.com/vrolife/modern_laptop/tree/fedora_nobara_fingerprint
If your kernel >= 5.19 and the ACPI patch is installed, you do not need to install redmibook_dmic
.
I've tried this branch but I still get the same issue "Unsupported environment."
for fingerprint installation ='(
Also it prints out the same error I mentioned in the previous comment
But there was an issue after every driver installation like
/home/svolkov/Documents/modern_laptop/scripts/update-initrd.sh: line 9: update-initramfs: command not found
So I had corrected line of code there tootest "$ID" = "fedora" -o "$ID" = "nobara"
, but it didn't work. I checked what $ID parameter value is there, but it was empty. So I just left onlydracut --regenerate-all --force
with no if statements (--force
flag was suggested by dracut itself).
Still need to comment out lines like this $ID value is empty here.
Soo, I've added on line 71 of install.sh
in fingerprint folder
elif test "$ID" = "fedora" -o "$ID" = "nobara"; then
And it now works for me thanks!
So all good with drivers. Many thanks for your help! Issue is closed for me.
Describe the bug So I wanted to install drivers on Nobara 36 (which is basically a Fedora distro). All dependencies from readme are installed, but when I run i.e.
sudo /bin/sh install.sh acpi
, I get "Unknown enviroment" error. Any ideas what can be wrong with the system? I didn't find any hints on the web :'(To Reproduce Steps to reproduce the behavior:
sudo /bin/sh install.sh ...
Expected behavior Driver installation goes properly
Screenshots
Desktop (please complete the following information):
Laptop is Pro Book 15 2022 with AMD Ryzen 5 6600H