Mode Limitation Not Respected
I have a few systems running mmcli 1.10.0 with qmicli 1.22.2 that aren't respecting limitations on the supported mode. I've configured the modem (Quectel UC20) using modem manager to only accept 2g: -- Modes| supported: allowed: 2g; preferred: none | allowed: 3g; preferred: none | allowed: 2g, 3g; preferred: 3g | allowed: 2g, 3g; preferred: 2g |current: allowed: 2g; preferred: none However our device is still connected using UMTS: |access tech: umts Can anyone offer me any advice on how to fully disable the use of 3G? Thanks very much, -JohnF ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
Re: Fibocom L850-GL / Intel XMM7360
There are carrier firmware packages for some, but not all, carriers (some use a generic carrier firmware instead). I'm not sure how you are expected to flash them without the closed-source firmware download tool, though. On Thu, Jun 25, 2020 at 12:21 AM Wassenberg, Dennis wrote: > > Hi Eric, > > I think this is a very helpful hint! > > We already started contacting Fibocom. If we know that there is in general a > firmware available which forces the module > in USB mode this would be a discussion option. > > How does this firmware behaves in terms of provider specific firmware > versions? Are there carrier specific firmware > available too or is there a generic firmware necessary only? > > Thank you & best regards, > > Dennis > > On Wed, 2020-06-24 at 14:54 -0700, Eric Caruso wrote: > > On Chromebooks, we use the L850-GL in USB mode and it works well. I > > believe the firmware we get from Fibocom forces the module into USB > > mode, though, so that might not be super helpful for this discussion. > > > > On Tue, Jun 23, 2020 at 4:21 AM Wassenberg, Dennis > > wrote: > > > > > > Hi all, > > > > > > thank you for these hints! > > > > > > I think I will try the Intel XMM 7560 / Fibocom L860 modem as well. > > > > > > @Dan: You said that there is a (alpha/beta) driver existing. Is there a > > > possibility to get it to have a try how this > > > behaves? > > > > > > Thank you & best regards, > > > > > > Dennis > > > > > > On Mon, 2020-06-22 at 11:23 -0500, Dan Williams wrote: > > > > On Mon, 2020-06-22 at 10:45 +0200, Reinhard Speyerer wrote: > > > > > On Mon, Jun 22, 2020 at 06:51:50AM +, Wassenberg, Dennis wrote: > > > > > > Hi all, > > > > > > > > > > > > I tested the PCI approach. > > > > > > > > > > > > Unfortunately I had no luck. The kernel PCI driver at > > > > > > https://github.com/xmm7360/xmm7360-pci can not initiale the modem > > > > > > correctly. The modem stays at status=0xfeedb007. This seems to mean > > > > > > that the modem is (still) booting. After 20 seconds > > > > > > probing fails. The kernel driver gives up waiting for the device to > > > > > > boot. > > > > > > > > > > > > So, both options: usb switch and native pci driver will not work. > > > > > > > > > > > > Are there any ideas how to continue? > > > > > > > > > > > > > > > > Hi Dennis, > > > > > > > > > > some time ago Johannes Berg was working on a WWAN subsystem for the > > > > > Linux > > > > > kernel ( > > > > > https://lore.kernel.org/netdev/20200225100053.16385-1-johan...@sipsolutions.net/T/#t > > > > > ) which also mentioned the 'upcoming Intel 4G modem driver ("iosm")'. > > > > > > > > That effort is currently stalled. And the pci-based driver you mention > > > > supports 7560 and later, not earlier devices. Not sure how hard it > > > > would be to adapt to earlier devices though. > > > > > > > > It does exist, but it's not quite ready for upstreaming yet. > > > > > > > > Dan > > > > > > > > > Perhaps it might help to ask him what the current status of this > > > > > project is. > > > > > > > > > > Regards, > > > > > Reinhard > > > > > > > > > > > Thank you & best regards, > > > > > > > > > > > > Dennis > > > > > > > > > > > > > > > > > > On Thu, 2020-06-18 at 16:24 +0200, Dennis Wassenberg wrote: > > > > > > > Hi Bjørn, > > > > > > > > > > > > > > thank you for your estimation. > > > > > > > > > > > > > > > Do you have any confirmation that it is actually possible to > > > > > > > > switch this > > > > > > > > firmware into USB mode? Are there other firmwares available > > > > > > > > with > > > > > > > > (possible) USB support? > > > > > > > > > > > > > > > > > > > > > > I don't have a confirmation that the USB mode will really work, > > > > > > > especially on the new models. > > > > > > > > > > > > > > Last year (Lenovo Thinkpad Whiskey Lake series) there was the > > > > > > > possibility to choose between the slow modem (Fibocom > > > > > > > L830-EB) and the faster option Fibocom L850-GL. This year the > > > > > > > slow modem ist the fast modem of the last year and the > > > > > > > fast modem is CAT16 Fibocom L860-GL. > > > > > > > > > > > > > > Regarding the Lenovo Thinkpad Whiskey Lake series models I found > > > > > > > some threads where the USB mode switch worked: > > > > > > > > > > > > > > > > > > > > > https://forums.lenovo.com/t5/Other-Linux-Discussions/WWAN-Fibocom-L850-GL-and-Linux-support/m-p/4318903?page=1#4327397 > > > > > > > https://gmt-24.net/archives/1461 > > > > > > > > > > > > > > Thats why I assumed that this might work at newer Thinkpads as > > > > > > > well. > > > > > > > > > > > > > > Especially https://gmt-24.net/archives/1461 shows that your > > > > > > > assumption regarding the bootloader and application mode > > > > > > > seems to be correct. > > > > > > > > > > > > > > This comes out directly after disabling the PCIe link and > > > > > > > directly after that: > > > > > > > [ 162.799214] usb 1-6: new high-speed USB device number 5 using > > > > > > > xhci_hcd > > > > > > > [
Re: mmcli set allowed and preferred modes - internal failure
Hey, > It seems that my modem supports pretty much all modes: > > Modes| supported: allowed: 2g; preferred: none >|allowed: 3g; preferred: none >|allowed: 2g, 3g; preferred: 3g >|allowed: 2g, 3g; preferred: 2g >|allowed: 2g, 4g; preferred: 4g >|allowed: 2g, 4g; preferred: 2g >|allowed: 3g, 4g; preferred: 3g >|allowed: 3g, 4g; preferred: 4g >|allowed: 2g, 3g, 4g; preferred: 4g >|allowed: 2g, 3g, 4g; preferred: 3g >|allowed: 2g, 3g, 4g; preferred: 2g >| current: allowed: 3g; preferred: none > > However, when I'm trying to set the preferred mode to 4g, I'm getting this: > > pi@okamoto:~ $ sudo mmcli -m 0 --set-allowed-modes='3g|4g' > --set-preferred-mode='4g' > error: couldn't set current modes: > 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.Internal: QMI protocol > error (3): 'Internal'' > > From the debug log: > > ModemManager[11730]: [/dev/cdc-wdm0] sent message... > << RAW: > << length = 28 > << data = > 01:1B:00:00:03:04:00:12:00:33:00:0F:00:1E:03:00:02:08:05:17:01:00:01:11:02:00:18:00 > ModemManager[11730]: [/dev/cdc-wdm0] sent generic request (translated)... > << QMUX: > << length = 27 > << flags = 0x00 > << service = "nas" > << client = 4 > << QMI: > << flags = "none" > << transaction = 18 > << tlv_length = 15 > << message = "Set System Selection Preference" (0x0033) > << TLV: > << type = "Acquisition Order Preference" (0x1e) > << length = 3 > << value = 02:08:05 > << translated = { [0] = 'lte ' [1] = 'umts '} > << TLV: > << type = "Change Duration" (0x17) > << length = 1 > << value = 01 > << translated = permanent > << TLV: > << type = "Mode Preference" (0x11) > << length = 2 > << value = 18:00 > << translated = umts, lte > ModemManager[11730]: [/dev/cdc-wdm0] received message... > << RAW: > << length = 20 > << data = 01:13:00:80:03:04:02:12:00:33:00:07:00:02:04:00:01:00:03:00 > ModemManager[11730]: [/dev/cdc-wdm0] received generic response (translated)... > << QMUX: > << length = 19 > << flags = 0x80 > << service = "nas" > << client = 4 > << QMI: > << flags = "response" > << transaction = 18 > << tlv_length = 7 > << message = "Set System Selection Preference" (0x0033) > << TLV: > << type = "Result" (0x02) > << length = 4 > << value = 01:00:03:00 > << translated = FAILURE: Internal > > > May I know if I entered the syntax correctly please? > Syntax is correct, not sure why the QMI command fails like that though. What device is this? -- Aleksander https://aleksander.es ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
Re: Fibocom L850-GL / Intel XMM7360
Hi Eric, I think this is a very helpful hint! We already started contacting Fibocom. If we know that there is in general a firmware available which forces the module in USB mode this would be a discussion option. How does this firmware behaves in terms of provider specific firmware versions? Are there carrier specific firmware available too or is there a generic firmware necessary only? Thank you & best regards, Dennis On Wed, 2020-06-24 at 14:54 -0700, Eric Caruso wrote: > On Chromebooks, we use the L850-GL in USB mode and it works well. I > believe the firmware we get from Fibocom forces the module into USB > mode, though, so that might not be super helpful for this discussion. > > On Tue, Jun 23, 2020 at 4:21 AM Wassenberg, Dennis > wrote: > > > > Hi all, > > > > thank you for these hints! > > > > I think I will try the Intel XMM 7560 / Fibocom L860 modem as well. > > > > @Dan: You said that there is a (alpha/beta) driver existing. Is there a > > possibility to get it to have a try how this > > behaves? > > > > Thank you & best regards, > > > > Dennis > > > > On Mon, 2020-06-22 at 11:23 -0500, Dan Williams wrote: > > > On Mon, 2020-06-22 at 10:45 +0200, Reinhard Speyerer wrote: > > > > On Mon, Jun 22, 2020 at 06:51:50AM +, Wassenberg, Dennis wrote: > > > > > Hi all, > > > > > > > > > > I tested the PCI approach. > > > > > > > > > > Unfortunately I had no luck. The kernel PCI driver at > > > > > https://github.com/xmm7360/xmm7360-pci can not initiale the modem > > > > > correctly. The modem stays at status=0xfeedb007. This seems to mean > > > > > that the modem is (still) booting. After 20 seconds > > > > > probing fails. The kernel driver gives up waiting for the device to > > > > > boot. > > > > > > > > > > So, both options: usb switch and native pci driver will not work. > > > > > > > > > > Are there any ideas how to continue? > > > > > > > > > > > > > Hi Dennis, > > > > > > > > some time ago Johannes Berg was working on a WWAN subsystem for the > > > > Linux > > > > kernel ( > > > > https://lore.kernel.org/netdev/20200225100053.16385-1-johan...@sipsolutions.net/T/#t > > > > ) which also mentioned the 'upcoming Intel 4G modem driver ("iosm")'. > > > > > > That effort is currently stalled. And the pci-based driver you mention > > > supports 7560 and later, not earlier devices. Not sure how hard it > > > would be to adapt to earlier devices though. > > > > > > It does exist, but it's not quite ready for upstreaming yet. > > > > > > Dan > > > > > > > Perhaps it might help to ask him what the current status of this > > > > project is. > > > > > > > > Regards, > > > > Reinhard > > > > > > > > > Thank you & best regards, > > > > > > > > > > Dennis > > > > > > > > > > > > > > > On Thu, 2020-06-18 at 16:24 +0200, Dennis Wassenberg wrote: > > > > > > Hi Bjørn, > > > > > > > > > > > > thank you for your estimation. > > > > > > > > > > > > > Do you have any confirmation that it is actually possible to > > > > > > > switch this > > > > > > > firmware into USB mode? Are there other firmwares available > > > > > > > with > > > > > > > (possible) USB support? > > > > > > > > > > > > > > > > > > > I don't have a confirmation that the USB mode will really work, > > > > > > especially on the new models. > > > > > > > > > > > > Last year (Lenovo Thinkpad Whiskey Lake series) there was the > > > > > > possibility to choose between the slow modem (Fibocom > > > > > > L830-EB) and the faster option Fibocom L850-GL. This year the > > > > > > slow modem ist the fast modem of the last year and the > > > > > > fast modem is CAT16 Fibocom L860-GL. > > > > > > > > > > > > Regarding the Lenovo Thinkpad Whiskey Lake series models I found > > > > > > some threads where the USB mode switch worked: > > > > > > > > > > > > > > > > https://forums.lenovo.com/t5/Other-Linux-Discussions/WWAN-Fibocom-L850-GL-and-Linux-support/m-p/4318903?page=1#4327397 > > > > > > https://gmt-24.net/archives/1461 > > > > > > > > > > > > Thats why I assumed that this might work at newer Thinkpads as > > > > > > well. > > > > > > > > > > > > Especially https://gmt-24.net/archives/1461 shows that your > > > > > > assumption regarding the bootloader and application mode > > > > > > seems to be correct. > > > > > > > > > > > > This comes out directly after disabling the PCIe link and > > > > > > directly after that: > > > > > > [ 162.799214] usb 1-6: new high-speed USB device number 5 using > > > > > > xhci_hcd > > > > > > [ 162.940604] usb 1-6: New USB device found, idVendor=8087, > > > > > > idProduct=07f5, bcdDevice= 0.00 > > > > > > [ 162.940612] usb 1-6: New USB device strings: Mfr=0, Product=0, > > > > > > SerialNumber=0 > > > > > > [ 169.651754] usb 1-6: USB disconnect, device number 5 > > > > > > > > > > > > Now bcdDevice changed to real device id. > > > > > > > > > > > > [ 175.462630] usb 1-6: new high-speed USB device number 6 using > > > > > > xhci_hcd > > > > > > [ 175.620153] usb 1-6: New