From b638cbc57af343475349d07694f032a41828d670 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 6 Feb 2026 18:22:14 +0100 Subject: [PATCH] Revert "Fix Realtek RTL8111/8168 ethernet adapter support for ASUS TUF Gaming laptops (#4497)" This reverts commit cf72c02ea55f37c5d661bd4083487121b2369eb7. --- install/config/all.sh | 1 - install/config/hardware/fix-realtek-r8168.sh | 11 ----------- install/omarchy-base.packages | 1 - migrations/1770186458.sh | 6 ------ 4 files changed, 19 deletions(-) delete mode 100644 install/config/hardware/fix-realtek-r8168.sh delete mode 100644 migrations/1770186458.sh diff --git a/install/config/all.sh b/install/config/all.sh index 55e7fbe0..dcb58c48 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -37,5 +37,4 @@ run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-t2.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-surface-keyboard.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-audio-mixer.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-mic.sh -run_logged $OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-yt6801-ethernet-adapter.sh diff --git a/install/config/hardware/fix-realtek-r8168.sh b/install/config/hardware/fix-realtek-r8168.sh deleted file mode 100644 index a7ac5919..00000000 --- a/install/config/hardware/fix-realtek-r8168.sh +++ /dev/null @@ -1,11 +0,0 @@ -# Install r8168 driver for Realtek RTL8111/8168/8211/8411 ethernet adapters -# Common in ASUS TUF Gaming laptops and other modern systems -if lspci | grep -i "RTL8111\|RTL8168\|RTL8211\|RTL8411"; then - omarchy-pkg-add linux-headers r8168-lts - - # Blacklist problematic r8169 driver - echo "blacklist r8169" | sudo tee /etc/modprobe.d/blacklist-r8169.conf - - # Regenerate initramfs to ensure r8168 loads on boot - sudo mkinitcpio -P -fi \ No newline at end of file diff --git a/install/omarchy-base.packages b/install/omarchy-base.packages index be817a3a..17eade58 100644 --- a/install/omarchy-base.packages +++ b/install/omarchy-base.packages @@ -147,4 +147,3 @@ xournalpp yaru-icon-theme yay zoxide -r8168-lts \ No newline at end of file diff --git a/migrations/1770186458.sh b/migrations/1770186458.sh deleted file mode 100644 index 83629d6e..00000000 --- a/migrations/1770186458.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Fix Realtek RTL8111/8168/8211/8411 ethernet adapter support for ASUS TUF and other laptops" - -# Run the hardware detection script for existing installations -if [ -f "$OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh" ]; then - run_logged $OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh -fi \ No newline at end of file