Comment 9 for bug 1716301

Revision history for this message
chenzero (chenzero) wrote :

@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)

Thanks for your help!