Huawei ME906 » History » Revision 5
« Previous |
Revision 5/12
(diff)
| Next »
laforge, 01/14/2017 12:47 PM
Huawei ME906v¶
The Huawei ME906v is yet another MDM9x15 based cellular modem that uses Linux on its Cortex-A5 processor, based on Qualcomm_Linux (LE).
USB configuration¶
The ME906v has different USB configurations:
Configuration 1¶
Interface | Name | Description |
0 | Huawei Mobile Connect - Modem | AT Commands |
1 | Huawei Mobile Connect - Application | DIAG |
2 | Huawei Mobile Connect - Pcui | |
3 | HUAWEI Mobile Connect - Network Card | qmi-wwan |
4 | Huawei Mobile Connect - Gps | |
5 | Huawei Mobile Connect - Serial B |
Configuration 2¶
Interface | Name | Description |
0 | CDC Ethernet Control Model (ECM) | |
1 | CDC Ethernet Data | |
2 | Huawei Mobile Connect - Modem | |
3 | HUAWEI Mobile Connect - Application | |
4 | HUAWEI Mobile Connect - Pcui | |
5 | Huawei Mobile Connect - Gps | |
6 | Huawei Mobile Connect - Serial B |
Configuration 3¶
Interface | Name | Description |
0 | HUAWEI Mobile Connect - Network Card | |
2 | Huawei Mobile Connect - Gps |
Initialization on Linux side:¶
from /usr/bin/usb/ (combining multipel scripts, expanding variables)
echo "hsusb" > /sys/devices/platform/usb_bam/enable echo 0 > /sys/class/android_usb/android0/enable echo 0x1573 > /sys/class/android_usb/android0/idProduct echo 0x12D1 > /sys/class/android_usb/android0/idVendor echo diag > /sys/class/android_usb/android0/f_diag/clients echo smd,tty > /sys/class/android_usb/android0/f_serial/transports echo SMD,BAM2BAM > /sys/class/android_usb/android0/f_rmnet/transports echo "pcui,diag,modem,ccid,rmnet,gps:usb_mbim,gps" > /sys/class/android_usb/android0/functions echo 0 > /sys/class/android_usb/android0/mbim_name echo 0 > /sys/module/restart/parameters/download_mode echo 1 > /sys/class/android_usb/android0/remote_wakeup echo 1 > /sys/class/android_usb/android0/enable
AT Command interface¶
Unless otherwise noted, this was done using a modem with the following firmware version:
ATI Manufacturer: Huawei Technologies Co., Ltd. Model: ME906V Revision: 11.234.44.03.00
root@9615-cdp:/# cat /build.prop ro.build.version.release=AU_LINUX_BASE_KIWI_TARGET_ALL.03.00.032
Interesting non-standard commands¶
The following commands appear to be non-standard and implemented in the device:
+ES +ESA +CMOD +CEMODE +CVHU +CECALL +HUAWEI ^TBAT ^TCHRENABLE ^TCHRINFO ^APBATLVL ^SETMODE $QCSIMSTAT $QCPBMPREF $CREG $CCLK $QCCNMI *CNTI $QCCLR $QCDMR $QCDNSP $QCDNSS $QCTER $QCSLOT $QCSIMAPP $QCPINSTAT $QCPDPP $QCPDPLT $QCPWRDN $QCDGEN $QCPDPCFGE $BREW $QCANTE $QCRPW $QCSQ $CSQ $QCSYSMODE $QCCTM $QCBANDPREF ^DSCI $QCVOLT $QCHWREV $QCBOOTVER $ECALL $QCDEFPROF $QCMRUE $QCMRUC $QCAPNE $QCPDPIMSCFGE $QCCLAC $QCRMCALL $QCDRX
Serial Console¶
Like all/most MDM9x15 targets, there is an 1.8V serial console available on ttyHSL0.
TODO: Describe soldering of serial console pads.
Once you have connected to the serial console, you should be able to observe the boot log like in the attached bootlog.txt
Keeping modem from suspend¶
It seems like the Linux system is suspended after very few seconds of inactivity. To keep it alive, you can write any character to any of the serial devices. For example, the following one-liner script will work (assuming /dev/ttyUSB5 is one of the AT command ports of the modem):
while [ -f /etc/passwd ]; do echo "AT" > /dev/ttyUSB5; sleep 1; done
Updated by laforge over 7 years ago · 5 revisions