Huawei E1752 modem support on Ubuntu Linux

For the E1752 model the network manger applet will not pop up unlike other dongles as it also acts as a storage device.

sudo apt-get install usb-modeswitch

Put this in /etc/usb-modeswitch.conf

# Huawei E1752
DefaultVendor = 0x12d1
DefaultProduct = 0x1446
TargetVendor = 0x12d1
TargetProduct = 0x1001
MessageEndpoint = 0x01
MessageContent = "55534243000000000000000000000011060000000000000000000000000000"

Optionally: network manager > mobile broadband > o2 pay as you go > ... enter your own pin on the end

sudo usb_modeswitch

Now you should be able to:

python
import serial
ser = serial.Serial('/dev/ttyUSB0')
ser.write("at\r")
ser.readline()

2 Comments:

Blogger Richard C. Lambert said...

Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.
staqoo.ie

May 22, 2017 at 5:14 AM  
Blogger Unknown said...

As I web site possessor I believe the content matter here is rattling magnificent , appreciate it for your hard work. You should keep it up forever! Best of luck. 2tb external hard disk price

January 4, 2018 at 9:35 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home