mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Fix Realtek RTL8111/8168 ethernet adapter support for ASUS TUF Gaming laptops (#4497)
This commit is contained in:
@@ -37,3 +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-surface-keyboard.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-audio-mixer.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-asus-rog-mic.sh
|
||||||
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh
|
||||||
11
install/config/hardware/fix-realtek-r8168.sh
Normal file
11
install/config/hardware/fix-realtek-r8168.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# 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
|
||||||
@@ -147,3 +147,4 @@ xournalpp
|
|||||||
yaru-icon-theme
|
yaru-icon-theme
|
||||||
yay
|
yay
|
||||||
zoxide
|
zoxide
|
||||||
|
r8168-lts
|
||||||
6
migrations/1770186458.sh
Normal file
6
migrations/1770186458.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user