diff --git a/FAQ.md b/FAQ.md index 05f868c..efdab2e 100644 --- a/FAQ.md +++ b/FAQ.md @@ -33,6 +33,11 @@ This is usually caused by model detection issues: * **Distro Compatibility Issues**: The DAMX project is officially tested and supported on **Ubuntu only**. Other Linux distributions might introduce kernel or library incompatibilities, leading to missing features in the GUI. + For **Arch-based distributions**, make sure the following packages are installed: + + ```bash + sudo pacman -S linux-headers clang llvm lld + ``` --- ### 🛑 It Shows "Unknown Model" and My Model Isn’t in the Compatibility List diff --git a/scripts/local-setup.sh b/scripts/local-setup.sh index 369bfdc..48ba277 100755 --- a/scripts/local-setup.sh +++ b/scripts/local-setup.sh @@ -186,9 +186,9 @@ install_drivers() { fi # Build and install drivers - make clean - make - make install +make clean +make CC=clang LD=ld.lld +sudo make CC=clang LD=ld.lld install if [ $? -eq 0 ]; then echo -e "${GREEN}Linuwu-Sense drivers installed successfully!${NC}"