Can't get Quectel UC20 modem working on Embedded Board
Brendan Simon (eTRIX)
brendan.simon at etrix.com.au
Sat Dec 12 03:53:02 PST 2015
Hi,
Not sure if this the best forum to ask questions regarding MM
configuration, etc. I hope so. If not please refer me to appropriate
forums.
I have a Quectel UC20 gsm modem. I got it working under Debian Jessie
on my MacBook (using VirtualBox). It all seem to go well and had no
problems getting it to work (well, after I unloaded the option driver,
as the Quectel documentation only specifies the multiple tty method to
access the modem).
Now I have installed the same modem (on an evaluation board) to my
embedded arm board (Digilent ZedBoard with Xilinx Zynq dual ARM-A9 SOC),
also running Debian Jessie. It's conncected via a USB OTG port. It
shows up with lsusb and also the /dev/cdc-wdm0 entry is populated. MM
can see the device with 'mmcli -L' and 'mmcli -m 0' reports a bunch of
information, so everything looks fine as far as detecting and
communicating with the device.
However, I just can't get it to connect to my ISP. It works ok on the
full Debian Jessie system, but not on the ZedBoard.
I copied the /etc/NetworkManager/system-connections/<myisp> file from
the VB system. I presume that is ok and MM should work.
I thought I would try creating a new connection, but I can't find a way
of doing this from the cli. nm-connection-editor is gnome app and I
don't have gnome installed on my embedded board. I tried nmtui,
nmtui-edit, nmtui-connect, but there are no options to add a Mobile
Broadband connection as there is with nm-connection-editor.
Is there a nice/easy way of adding a new Mobile Broadband connection
with the cli tools ?
# cat /etc/NetworkManager/system-connections/Telstra\ Telstra\
\(Next\ G\)\ 1
[connection]
id=Telstra Telstra (Next G) 1
uuid=5ee505f2-e161-436b-9b00-b36cab43ebfc
type=gsm
[gsm]
number=*99#
password-flags=1
apn=telstra.internet
network-type=4
[ipv6]
method=auto
[ipv4]
method=auto
[serial]
baud=115200
# lsmod
Module Size Used by
cp210x 7582 0
qmi_wwan 10608 0
cdc_wdm 8788 2 qmi_wwan
usbnet 17174 1 qmi_wwan
mii 3417 1 usbnet
ipv6 262886 24
# cat /boot/config-4.0.0-g0fa909f-dirty | grep -v '#' | grep
'WWAN\|QMI\|USB_SERIAL\|PPP\|QUALCOM'
CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_PPP=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPPOE=m
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_USB_NET_QMI_WWAN=m
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_CP210X=m
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_PL2303=m
CONFIG_USB_SERIAL_QCAUX=m
CONFIG_USB_SERIAL_QUALCOMM=m
CONFIG_USB_SERIAL_WWAN=m
CONFIG_USB_SERIAL_OPTION=m
Thanks, Brendan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20151212/d343ccaa/attachment.html>
More information about the ModemManager-devel
mailing list