@Kai-Heng Feng,
I guess adding that line in the /lib/udev/rules.d/40-usb_modeswitch.rules is
to automatically switch the adpater to wireless card mode, however, after added that line,
and tried restart service udev (sudo service udev restart), the adpater is still first mounted
as usb storage disk (yes, lsusb only show 148f:2878, I must click an icon on the Launch Bar to eject the disk, and lsusb changed to 148f:7601.
I even tried the line:
ATTR{idVendor}=="148f", ATTR{idProduct}=="2878", RUN+="usb_modeswitch '%b/%k'"
because most other lines in that file using %b/%k
however, both no have any change( still first mount as usb disk)
@Kai-Heng Feng, rules.d/ 40-usb_ modeswitch. rules is
I guess adding that line in the /lib/udev/
to automatically switch the adpater to wireless card mode, however, after added that line,
and tried restart service udev (sudo service udev restart), the adpater is still first mounted
as usb storage disk (yes, lsusb only show 148f:2878, I must click an icon on the Launch Bar to eject the disk, and lsusb changed to 148f:7601.
I even tried the line: =="148f" , ATTR{idProduct} =="2878" , RUN+="usb_ modeswitch '%b/%k'"
ATTR{idVendor}
because most other lines in that file using %b/%k
however, both no have any change( still first mount as usb disk)
Thanks for your help!