Try to use Sierra Wireless MC7700 with RaspberryPi4
Michael Sp.
michasp79 at gmail.com
Fri Jul 9 23:01:32 UTC 2021
Hi together,
The whole project is quite frustrating. I set up the raspberry pi new,
starting from scratch.
root at raspberrypi4gb:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 099a:7202 Zippy Technology Corp.
Bus 001 Device 007: ID 1199:68a2 *Sierra Wireless*, Inc.
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root at raspberrypi4gb:~# lsmod
Module Size Used by
cmac 16384 1
rfcomm 49152 4
bnep 20480 2
hci_uart 40960 1
btbcm 16384 1 hci_uart
bluetooth 393216 29 hci_uart,bnep,btbcm,rfcomm
ecdh_generic 16384 2 bluetooth
ecc 40960 1 ecdh_generic
fuse 126976 3
8021q 32768 0
garp 16384 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
spidev 20480 0
joydev 20480 0
vc4 270336 3
brcmfmac 327680 0
cec 49152 1 vc4
brcmutil 20480 1 brcmfmac
bcm2835_v4l2 40960 0
videobuf2_vmalloc 16384 1 bcm2835_v4l2
*qmi_wwan 28672 0cdc_wdm 20480 1
qmi_wwanqcserial 16384 0usb_wwan 20480 1
qcserialusbserial 36864 2 qcserial,usb_wwan*
sha256_generic 16384 0
bcm2835_codec 40960 0
root at raspberrypi4gb:~# qmi-network /dev/cdc-wdm0 status
Loading profile at /etc/qmi-network.conf...
APN: internet.eplus.de
APN user: unset
APN password: unset
qmi-proxy: no
Getting status with 'qmicli -d /dev/cdc-wdm0
--wds-get-packet-service-status '...
*error: couldn't create client for the 'wds' service: CID allocation failed
in the CTL client: Transaction timed outerror: couldn't get packet service
status*
root at raspberrypi4gb:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
* |__ Port 3: Dev 7, If 0, Class=Vendor Specific Class,
Driver=qcserial, 480M |__ Port 3: Dev 7, If 2, Class=Vendor Specific
Class, Driver=qcserial, 480M*
* |__ Port 3: Dev 7, If 3, Class=Vendor Specific Class,
Driver=qcserial, 480M |__ Port 3: Dev 7, If 8, Class=Vendor Specific
Class, Driver=qmi_wwan, 480M*
|__ Port 4: Dev 4, If 1, Class=Human Interface Device,
Driver=usbhid, 1.5M
|__ Port 4: Dev 4, If 0, Class=Human Interface Device,
Driver=usbhid, 1.5M
root at raspberrypi4gb:/home/pi# qmicli --device=/dev/cdc-wdm0
--device-open-proxy --dms-get-manufacturer
error: couldn't create client for the 'dms' service: CID allocation failed
in the CTL client: Transaction timed out
I mainly followed instructions here (
https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=224355&sid=d0e27e3eefada46773f617666c9df05a
--> user description from mkrzysztofowicz) and here (
https://www.embeddedpi.com/documentation/3g-4g-modems/raspberry-pi-sierra-wireless-mc7455-modem-raw-ip-qmi-interface-setup),
but I failed. :-(
If someone has an approach, I would be grateful for it. Is the firmware
wrong or the device address wrongly assigned ...?
Thanks in advance!
Cheers, Michael
Am So., 4. Juli 2021 um 23:23 Uhr schrieb Aleksander Morgado <
aleksander at aleksander.es>:
> Hey,
>
> As a general rule for future emails to public mailing lists: never send
> logs as attached images, as the public search engines won't parse them as
> text, and if someone has your very same problem in the future, they won't
> be able to find the entry in the public mailing list archives :)
>
>
> I am using your stuff to get my lte module running on my raspi4.
>> Unfortunately, it still fails.
>> Since I used the command <qmicli -d /dev/cdc-wdm0 --dms-swi-set-usb-composition=6>
>> I always get <error: couldn't create client for the 'dms' service: CID
>> allocation failed in the CTL client: Transaction timed out>. Previously the
>> usb composition was set to 14, since that change I don't come back to the
>> previous state.
>> Ideally I would restore initial state to start from scratch, but I have
>> no idea how to proceed.
>>
>> [image: grafik.png]
>>
>> [image: grafik.png]
>>
>>
>> [image: grafik.png]
>>
>> [image: grafik.png]
>> Previously the set (by default) ip was 169.x.x.x.
>> [image: grafik.png]
>>
>> I hope you can help me to solve the issue getting the module running.
>>
>
> Hum; I'm afraid I don't have any idea. Composition #6 is "DM, NMEA, AT,
> QMI" and so you should have a valid QMI port where to run the qmicli
> command.
>
> Does anyone know what can be done here? @Nick <mips171 at icloud.com> maybe?
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20210710/83458319/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 31406 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20210710/83458319/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 11760 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20210710/83458319/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 8929 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20210710/83458319/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 72415 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20210710/83458319/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 16418 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20210710/83458319/attachment-0009.png>
More information about the libqmi-devel
mailing list