The driving problem of Huawei HSPA module MU609 under Linux

Source: Internet
Author: User

Environment: cpu:s3c2416linux:3.6 module: HUAWEI Mu609sim card: Mobile 3G card, mobile 4G card

First of all, to get the MU609 module, the first thing to do is to do some familiarity with the module, then the information, nature is the official online:

Huawei MU609 Information

Such as:


Then, the MU609 is driven to design and debug.

Here are some of the problems that are encountered in the process of tinkering with it.


First, the hardware

Since the MU609 is very large in registering the network, in the circuit design, must pay attention to the supply module large enough current .

For the pins that need to be set, always remember to set the appropriate level when using CPU control.


Second, the software

The first thing to do is to drive the east, how to configure the kernel, what needs to be modified, see the official website documentation:

"Huawei module Android kernel driver integration Guide"


The second thing to do is to test the module status:

After the device is identified, do not be busy dialing, but first send some at instructions to see if the module is normal , by:

Cat/dev/ttyusb0 &echo at+cgmi >/ttyusb0

At+cgmi is used to query the manufacturer for information, and the results are as follows:

Huawei Technologies Co., Ltd. OK

Note : During the execution of the cat/dev/ttyusb0 &, but the issue that failed to run in the background, that is, immediately after the command is executed, exit the PS command to view the process, and indeed show the exit. Later found to be the cause of unstable power supply.


At this time, also do not busy to dial, at least because of the signal condition of the module, send at+csq can. In addition to the query signal, incidentally can let you know whether the SIM card is related to normal.

So, remember at+csq!


The third one starts dialing, just say a little:

It is best to close the eth0 port before dialing to reduce the impact of external factors . Your dialing is not successful, perhaps because of this:

Ifconfig eth0 Down
If you want to disable the boot, add in the/etc/init.d/rcs file, remember to bring the path of the ifconfig command

/sbin/ifconfig eth0 Down

IV provides two related scripts:

/ETC/PPP/PEERS/GPRS:

/dev/ttyusb0115200nocrtsctsdebugnodetachusepeerdnsnoipdefaultdefaultrouteuser Cardpassword card0.0.0.0:0. 0.0.0ipcp-accept-localipcp-accept-remote#persistconnect '/usr/sbin/chat-e-s-v-f/etc/ppp/wcdma-connect-chat ' # Disconnect '/usr/sbin/chat-v-f/etc/ppp/wcdma-disconnect-chat '
This file is used when you perform a dial-up command:

PPPD Call GPRS

/etc/ppp/wcdma-connect-chat:

Abort ' BUSY ' abort ' NO CARRIER ' abort ' ERROR ' TIMEOUT ' ""    atok    atz0ok    at+cfun=1ok    at+cgdcont=1, "IP", " Cmnet "OK    atok    atdt*99***1#connect" "

This is MU609 's dial-in command.


Resources:

http://blog.csdn.net/duloveding/article/details/8287758

The driving problem of Huawei HSPA module MU609 under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.