constantin-net

Huawei E3331

Feb 26th, 2020 (edited)
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #/lib/udev/rules.d/40-usb_modeswitch.rules
  2. # Huawei E3331
  3. SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p157D*", SYMLINK+="hwcdrom", RUN+="/usr/bin/sg_raw /dev/hwcdrom 11 06 20 00 00 00 00 00 01 00"
  4.  
  5. #/usr/share/usb_modeswitch/12d1:157d
  6. # Huawei E3331
  7. DefaultVendor= 0x12d1
  8. DefaultProduct= 0x157d
  9. TargetVendor= 0x12d1
  10. TargetProduct= 0x1442
  11. MessageContent="55534243123456780000000000000a11062000000000000100000000000000"
  12. NoDriverLoading=1
  13.  
  14. #/etc/usb_modeswitch.conf
  15. DisableMBIMGlobal=0
Add Comment
Please, Sign In to add comment