qmicli always getting transaction time out
EMANUEL FERNANDO MONTOYA GOMEZ
emanuel.montoya at udea.edu.co
Wed Apr 25 00:33:05 UTC 2018
> > *Hi all,*
> >
> > *I haven't been able to get it working and getting an Ip on any of this
> > two,
>
> Really weird. I have no idea what could be wrong.
>
> > so I decided to go for Windows 10 to try.*
> >
> >
> > *I installed: GenericDriverSetup.exe*
> >
> > * Skylight_Generic*
> >
> > * 9999999_9904609_SWI9X30C_02.20.03.00_00_GENERIC_002.017.000*
> >
> >
> >
> > *and it connects and gets IP address without any problem in Windows 10.*
> >
> >
> >
> > *After that, I put the MC7455 modem into the second host devices (the one
> > thar has Ubuntu 16.04 and kernel version ico1 at ico1:~$ uname
> > -r4.17.0-041700rc1-lowlatency*
> >
> > *it appers in MBIM mode:*
>
> Yes, the Windows drivers will do that by default.
>
> >
> > ico1 at ico1:~$ mmcli -m 0
> >
> > /org/freedesktop/ModemManager1/Modem/0 (device id
> > '6bfe7d4ea386210e64dde8fc4a0d7aa44eb7712a')
> > -------------------------
> > Hardware | manufacturer: 'Sierra'
> > | model: 'MBIM [1199:9071]'
> > | revision: 'SWI9X30C_02.20.03.00'
> > | supported: 'gsm-umts, lte'
> > | current: 'gsm-umts, lte'
> > | equipment id: '359072060686975'
> > -------------------------
> > System | device: '/sys/devices/pci0000:00/0000:00:15.0/usb1/1-4'
> > | drivers: 'cdc_mbim'
> > | plugin: 'Sierra'
> > | primary port: 'cdc-wdm0'
> > | ports: 'wwp0s21f0u4i12 (net), cdc-wdm0 (mbim)'
> > -------------------------
> > Numbers | own : 'unknown'
> > -------------------------
> > Status | lock: 'none'
> > | unlock retries: 'sim-pin2 (4)'
> > | state: 'registered'
> > | power state: 'on'
> > | access tech: 'umts'
> > | signal quality: '0' (cached)
> > -------------------------
> > Modes | supported: 'allowed: 3g, 4g; preferred: none'
> > | current: 'allowed: 3g, 4g; preferred: none'
> > -------------------------
> > Bands | supported: 'unknown'
> > | current: 'unknown'
> > -------------------------
> > IP | supported: 'ipv4, ipv6, ipv4v6'
> > -------------------------
> > 3GPP | imei: '359072060686975'
> > | enabled locks: 'fixed-dialing'
> > | operator id: '732101'
> > | operator name: 'Claro'
> > | subscription: 'unknown'
> > | registration: 'home'
> > -------------------------
> > SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
> >
> > -------------------------
> > Bearers | paths: 'none'
> >
> >
> > ico1 at ico1:~$ mmcli -m 0 --simple-status
> >
> > /org/freedesktop/ModemManager1/Modem/0
> > -------------------------
> > Status | state: 'registered'
> > | signal quality: '54' (recent)
> > | bands: 'unknown'
> > | access tech: 'umts'
> > -------------------------
> > 3GPP | registration: 'home'
> > | operator code: '732101'
> > | operator name: 'Claro'
> > | subscription: 'unknown'
> >
> > ico1 at ico1:~$
> >
> > *And it connects without any problem*
>
> > ico1 at ico1:~$ sudo mmcli -m 0 --simple-connect="apn=internet
> .comcel.com.co
> > ,user=comcelweb,ip-type=ipv4,allowed-auth=pap,password=comcelweb" -v
> > [sudo] password for ico1:
> > [24 abr 2018, 15:00:28] [Debug] Forcing request to be run asynchronously
> > [24 abr 2018, 15:00:28] [Debug] Assuming '0' is the modem index
> > [24 abr 2018, 15:00:28] [Debug] ModemManager process found at ':1.3'
> > [24 abr 2018, 15:00:28] [Debug] Modem found at
> > '/org/freedesktop/ModemManager1/Modem/0'
> >
> > [24 abr 2018, 15:00:28] [Debug] Asynchronously connecting the modem...
> > successfully connected the modem
>
> Great! If you are happy with the modem in MBIM mode, then there is no
> reason not to use that. You'll still have access to all the powers of
> QMI through the QMI-in-MBIM wrapper service. See the qmicli
> "--device-open-mbim" parameter.
>
> Too bad you have to use Windows to switch modes though. Or do you have
> a working AT command port in QMI mode? If so, then you can switch to
> MBIM using the AT!USBCOMP command. You'll need AT!ENTERCND="A710"
> first. Then run "AT!USBCOMP?" and "AT!USBCOMP=?" to see your current
> setting and options.
>
> There is
/dev/cdc-wdm0 named device (there is no /dev/cdc-wdm1)
There is not /dev/ttyUSBX named devices
ico1 at ico1:~$ ls /dev/tty*
/dev/tty /dev/tty16 /dev/tty24 /dev/tty32 /dev/tty40 /dev/tty49
/dev/tty57 /dev/tty8 /dev/ttyS14 /dev/ttyS22 /dev/ttyS30
/dev/tty0 /dev/tty17 /dev/tty25 /dev/tty33 /dev/tty41 /dev/tty5
/dev/tty58 /dev/tty9 /dev/ttyS15 /dev/ttyS23 /dev/ttyS31
/dev/tty1 /dev/tty18 /dev/tty26 /dev/tty34 /dev/tty42 /dev/tty50
/dev/tty59 /dev/ttyprintk /dev/ttyS16 /dev/ttyS24 /dev/ttyS4
/dev/tty10 /dev/tty19 /dev/tty27 /dev/tty35 /dev/tty43 /dev/tty51
/dev/tty6 /dev/ttyS0 /dev/ttyS17 /dev/ttyS25 /dev/ttyS5
/dev/tty11 /dev/tty2 /dev/tty28 /dev/tty36 /dev/tty44 /dev/tty52
/dev/tty60 /dev/ttyS1 /dev/ttyS18 /dev/ttyS26 /dev/ttyS6
/dev/tty12 /dev/tty20 /dev/tty29 /dev/tty37 /dev/tty45 /dev/tty53
/dev/tty61 /dev/ttyS10 /dev/ttyS19 /dev/ttyS27 /dev/ttyS7
/dev/tty13 /dev/tty21 /dev/tty3 /dev/tty38 /dev/tty46 /dev/tty54
/dev/tty62 /dev/ttyS11 /dev/ttyS2 /dev/ttyS28 /dev/ttyS8
/dev/tty14 /dev/tty22 /dev/tty30 /dev/tty39 /dev/tty47 /dev/tty55
/dev/tty63 /dev/ttyS12 /dev/ttyS20 /dev/ttyS29 /dev/ttyS9
/dev/tty15 /dev/tty23 /dev/tty31 /dev/tty4 /dev/tty48 /dev/tty56
/dev/tty7 /dev/ttyS13 /dev/ttyS21 /dev/ttyS3
ico1 at ico1:
> Bjørn
>
*There is an IP in bearer information*
ico1 at ico1:~$ mmcli -b 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
-------------------------
Status | connected: 'yes'
| suspended: 'no'
| interface: 'wwp0s21f0u4i12'
| IP timeout: '20'
-------------------------
Properties | apn: 'internet.comcel.com.co'
| roaming: 'allowed'
| IP type: 'ipv4'
| user: 'comcelweb'
| password: 'comcelweb'
| number: 'none'
| Rm protocol: 'unknown'
-------------------------
* IPv4 configuration | method: 'static' | address:
'10.142.47.170' | prefix: '30' |
gateway: '10.142.47.169' | DNS: '190.157.8.89',
'8.8.8.8' | MTU: '1500'*
-------------------------
IPv6 configuration | method: 'unknown'
-------------------------
Stats | Duration: '689'
| Bytes received: 'N/A'
| Bytes transmitted: 'N/A'
ico1 at ico1:~$
But it doesn't appear when using ip addr
--
"La información aquí contenida es para uso exclusivo de la persona o
entidad de destino. Está estrictamente prohibida su utilización, copia,
descarga, distribución, modificación y/o reproducción total o parcial, sin
el permiso expreso de Universidad de Antioquia, pues su contenido puede ser
de carácter confidencial y/o contener material privilegiado. Si usted
recibió esta información por error, por favor contacte en forma inmediata a
quien la envió y borre este material de su computador. Universidad de
Antioquia no es responsable por la información contenida en esta
comunicación, el directo responsable es quien la firma o el autor de la
misma."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180424/87fcd184/attachment-0001.html>
More information about the libqmi-devel
mailing list