Mohan Krushna
2020-Jan-09 15:52 UTC
[fdo] getting disconnected after connected through qmicli
function qmi_start { $COMMAND_PREFIX $IFCONFIG $WWAN_DEV up #$COMMAND_PREFIX $QMICLI -d $CDC_WDM --dms-set-operating-mode=online $COMMAND_PREFIX $QMICLI -d $CDC_WDM --device-open-net="net-raw-ip|net-no-qos-header" --client-no-release-cid if [ $? -ne 0 ]; then echo "your wwan device may be RFKilled?" exit 1 fi $COMMAND_PREFIX $QMI_NETWORK $CDC_WDM start $COMMAND_PREFIX $DHCPCD $OPTIONS $WWAN_DEV } starting thought this function Can you suggest attaching logs for the same root at am438x-epos-evm:~/BestApp# ./qmi_setup.sh start [07 Jan 2020, 05:05:45] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available error: couldn't create client for the 'dms' service: CID allocation failed in the CTL client: Transaction timed out your wwan device may be RFKilled? root at am438x-epos-evm:~/BestApp# ./qmi_setup.sh start [07 Jan 2020, 05:06:10] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available [/dev/cdc-wdm0] Operating mode set successfully Loading profile at /etc/qmi-network.conf... APN: jionet APN user: unset APN password: unset qmi-proxy: no Checking data format with 'qmicli -d /dev/cdc-wdm0 --wda-get-data-format '... [07 Jan 2020, 05:06:10] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available Device link layer protocol retrieved: raw-ip Getting expected data format with 'qmicli -d /dev/cdc-wdm0 --get-expected-data-format'... [07 Jan 2020, 05:06:10] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available Expected link layer protocol retrieved: raw-ip Device and kernel link layer protocol match: raw-ip Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network=apn='jionet' --client-no-release-cid '... [07 Jan 2020, 05:06:10] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available error: couldn't start network: QMI protocol error (26): 'NoEffect' Saving state at /tmp/qmi-network-state-cdc-wdm0... (CID: 17) error: network start failed, no packet data handle [07 Jan 2020, 05:06:11] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available Clearing state at /tmp/qmi-network-state-cdc-wdm0... udhcpc (v1.24.1) started Sending discover... Sending select for 56.97.223.128... Lease of 56.97.223.128 obtained, lease time 7200 /etc/udhcpc.d/50default: Adding DNS 49.45.0.1 root at am438x-epos-evm:~/# root at am438x-epos-evm:~/# root at am438x-epos-evm:~/# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ^C --- 8.8.8.8 ping statistics --- 8 packets transmitted, 0 packets received, 100% packet los -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/freedesktop/attachments/20200109/1fda9d26/attachment.htm>