Skip to content

Instantly share code, notes, and snippets.

@thpham
Created August 4, 2017 14:44
Show Gist options
  • Save thpham/4af4764c8e4a8209e8adb87c7cbb337e to your computer and use it in GitHub Desktop.
Save thpham/4af4764c8e4a8209e8adb87c7cbb337e to your computer and use it in GitHub Desktop.
Huawei E3276s-150 4G/LTE USB modem
Bus 001 Device 004: ID 12d1:14fe Huawei Technologies Co., Ltd.
usb_modeswitch -v 12d1 -p 14fe -M '55534243123456780000000000000011062000000100000000000000000000'
'55534243123456780000000000000011062000000100000000000000000000'
'55534243123456780000000000000011062000000101000100000000000000'
/etc/udev/rules.d/70-usb-modeswitch.rules
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 14fe -M '55534243123456780000000000000011062000000100000000000000000000'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment