Add usb-modeswitch config for RTL8188GU CDROM mode bypass

RTL8188GU WiFi adapter (0bda:1a2b) ships in CDROM mode on initial connection.
Install usb-modeswitch package and config to automatically switch to network
mode on boot.

Required for 2.4GHz AP to function when using D-Link DWA-171 or similar
RTL8188GU-based adapters.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-19 10:06:16 -04:00
parent f564886a4a
commit f5b29630ae
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# usb-modeswitch config for Realtek RTL8188GU USB WiFi adapter
# Device appears as CDROM (mass storage) on initial connection; this switches it to network mode
# Vendor and product ID
TargetVendor=0x0bda
TargetProduct=0x1a2b
# Switch command: reset EEPROM to normal mode
StandardEject=1
MessageContent="525243580a00000000000000000000000000000000"