03f0:521d Hewlett-Packard again

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Tue Sep 20 02:26:00 UTC 2016


> On Sep 19, 2016, at 23:14 , Harald Jung <harald.jung at ecos.de> wrote:
> 
> I don't think that this device is triggered by any udev rule, so usb_modeswitch won't be triggered
> 
> grep 03f0 40-usb_modeswitch.rules *
> 40-usb_modeswitch.rules:ATTR{idVendor}=="03f0", ATTR{idProduct}=="002a", RUN+="usb_modeswitch '%b/%k'"
> 40-usb_modeswitch.rules:ATTR{idVendor}=="03f0", ATTR{idProduct}=="002a", RUN+="usb_modeswitch '%b/%k'"
> 77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="271d", ENV{ID_MM_ERICSSON_MBM}="1"
> 77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="261d", ENV{ID_MM_ERICSSON_MBM}="1"
> 77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3a1d", ENV{ID_MM_ERICSSON_MBM}="1"
> 77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3d1d", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1"
> 77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3d1d", ENV{ID_MM_ERICSSON_MBM}="1"
> 77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="301d", ENV{ID_MM_ERICSSON_MBM}="1"
> 77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2f1d", ENV{ID_MM_ERICSSON_MBM}="1"
> 77-mm-fix-unexpected.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="9d1d", RUN+="fix-unexpected"
> 77-mm-usb-device-blacklist.rules:ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1f0a", ENV{ID_MM_DEVICE_IGNORE}="1"
> 
> Would it help to revert the option patch?
> 
> 

I use following for Huawei ME936 to force it to MBIM;

ACTION=="add|change", SUBSYSTEM=="usb", \
ENV{DEVTYPE}=="usb_device", \
ATTR{idVendor}=="12d1", ATTR{idProduct}=="15bb", \
ATTR{bNumConfigurations}=="3", ATTR{bConfigurationValue}!="3" \
ATTR{bConfigurationValue}=“3"

And it seems to work pretty well.

-Sebastian



More information about the ModemManager-devel mailing list