[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250814145926.3067-1-zenmchen@gmail.com>
Date: Thu, 14 Aug 2025 22:59:26 +0800
From: Zenm Chen <zenmchen@...il.com>
To: larsm17@...il.com
Cc: gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org,
pkshih@...ltek.com,
rtl8821cerfe2@...il.com,
stable@...r.kernel.org,
stern@...land.harvard.edu,
usb-storage@...ts.one-eyed-alien.net,
usbwifi2024@...il.com,
zenmchen@...il.com
Subject: Re: [PATCH] USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles
> Hi Lars,
>
> If I apply this patch to my kernel, usb_modeswitch can switch both to
> Wi-Fi mode smoothly and fastly, but I don't know why. @@
I forgot to say that I've added one more entry into /lib/udev/rules.d/40-usb_modeswitch.rules
to let usb_modeswitch support the ID 0bda:a192.
$ grep -E "1a2b|a192" -i /lib/udev/rules.d/40-usb_modeswitch.rules
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="usb_modeswitch '/%k'"
ATTR{idVendor}=="0bda", ATTR{idProduct}=="a192", RUN+="usb_modeswitch '/%k'"
A config file in /usr/share/usb_modeswitch for the ID 0bda:a192 was also created.
$ cat /usr/share/usb_modeswitch/0bda\:a192
# RTL8192FU
TargetVendor=0x0bda
TargetProduct=0xf192
StandardEject=1
Powered by blists - more mailing lists