MC7455 USB device disconnects immediately

The reason to connect multiple modems is to test the network bonding over WWAN
oem@lamhas-pro:/var/log$ sudo echo Y > /sys/class/net/wwan0/qmi/raw_ip
echo: write error: Device or resource busy
As of now, I am connected remotely so cant physically remove other modems
now modems are not even getting connected


kernel logs
Feb 23 21:48:29 lamhas-pro kernel: [ 91.207258] exe=“/usr/bin/dbus-daemon” sauid=102 hostname=? addr=? terminal=?’
Feb 23 21:48:29 lamhas-pro kernel: [ 91.209305] audit: type=1107 audit(1708705109.173:56): pid=743 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg=‘apparmor=“DENIED” operation=“dbus_method_call” bus=“system” path=“/org/freedesktop/PolicyKit1/Authority” interface=“org.freedesktop.DBus.Properties” member=“GetAll” mask=“send” name=“:1.11” pid=2083 label=“snap.snap-store.ubuntu-software” peer_pid=868 peer_label=“unconfined”
Feb 23 21:48:29 lamhas-pro kernel: [ 91.209305] exe=“/usr/bin/dbus-daemon” sauid=102 hostname=? addr=? terminal=?’
Feb 23 21:48:29 lamhas-pro kernel: [ 91.209540] audit: type=1107 audit(1708705109.173:57): pid=743 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg=‘apparmor=“DENIED” operation=“dbus_method_call” bus=“system” path=“/org/freedesktop/PolicyKit1/Authority” interface=“org.freedesktop.PolicyKit1.Authority” member=“CheckAuthorization” mask=“send” name=“:1.11” pid=2083 label=“snap.snap-store.ubuntu-software” peer_pid=868 peer_label=“unconfined”
Feb 23 21:48:29 lamhas-pro kernel: [ 91.209540] exe=“/usr/bin/dbus-daemon” sauid=102 hostname=? addr=? terminal=?’
Feb 23 21:48:30 lamhas-pro kernel: [ 92.662999] audit: type=1400 audit(1708705110.629:58): apparmor=“DENIED” operation=“open” class=“file” profile=“snap.snap-store.ubuntu-software” name=“/etc/appstream.conf” pid=2083 comm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=29999 ouid=0
Feb 23 23:07:32 lamhas-pro kernel: [ 4834.018712] qmi_wwan 1-1.1:1.8 wwan0: Cannot change a running device
Feb 23 23:07:42 lamhas-pro kernel: [ 4844.309923] qmi_wwan 1-1.1:1.8 wwan0: Cannot change a running device
Feb 23 23:07:51 lamhas-pro kernel: [ 4853.285612] qmi_wwan 1-1.1:1.8 wwan0: Cannot change a running device
Feb 23 23:08:54 lamhas-pro kernel: [ 4916.098523] qmi_wwan 1-1.1:1.8 wwan0: Cannot change a running device

your device is too complicated with too many modem
I don’t even know what port or network interface belongs to which module.
This is very hard to debug unless just one modem is connected to the host device

Thanks for your help, I can connect a single modem successfully after removing other modems and disabling the LAN connection, Now can you pls help me understand if I can connect multiple modems simultaneously without getting disconnected and also “nmcli c” is not showing the status of the modems, is there any other way I can check the modem connection status.

So no problem is found if just connect one module?

yes correct I just remove all modems and disconnect LAN and repeated all steps given in document , now If you can help me to connect multiple modem simultaneously would be great help for me

Which module are you connecting?
Can it establish data connection?

MC7304 & MC7430 modems

Didn’t you say just connect one module?

MC7304 module is connected. It sometimes connects easily, but other times not.
oem@lamhas-pro:~$ sudo udhcpc -i wwan0
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover

How about mc7430? Is t the same result if just one module under test?

mc7430?


Is this mc7430?
What firmware are you using in ATI3?
Is “www” the correct APN?

Both the APN is correct

When the data channel disconnects, did you check AT!scact?

I remember you cannot close the minicom terminal after at!scact=1,1

See I have not closed the minicom terminal after at!scact=1,1

I can see SCACT has been deactivated
Did you check at!gstatus? now and see if it is still registered to network?

Here is the summary of all the workaround
To connect the modem I reboot the system
disconnect LAN connection
Run the following command
4. Type the following to enable RAW IP communication
sudo chmod 777 /sys/class/net/wwan0/qmi/raw_ip
sudo echo Y > /sys/class/net/wwan0/qmi/raw_ip
5. Type the following to allocate WDS client ID
sudo qmicli --device=/dev/cdc-wdm0 --wds-noop --client-no-release-cid
6. Use minicom to type AT command through /dev/ttyUSB2
AT!GSTATUS? should return network registered
AT+CGDCONT to enter the APN for profile 1
AT!SCACT=1,1 should return OK
sudo udhcpc -i wwan0
now it gets connected
The question here is why I always need to repeat all the steps every time
why do I need to disconnect the LAN
Is it not possible to have multiple modems work simultaneously?
Is there any permanent solution where I will install and configure one time and when the system boots network gets connected irrespective of which ISP SIM is connected?

Of course you need to repeat the steps after system reboots

If you want do it automatically after up, you might need to write a init script to do so

Thanks for your reply can also tell me if Is it not possible to have multiple modems work simultaneously? If yes What is the procedure for the same?