Re: grab_port fails for AT/PPP port (stuck) in data mode

2021-08-31 Thread Aleksander Morgado
Hey Norbert, > >> I'm creating a plugin for Sierra Wireless HL78xx LTE-M modem. > >> Actually, it is already partly done. > >> > >> The HL78xx has its own TCP/TLS stack/interface. To use it as > >> "generic linux network interface" though, PPP is used for the AT/PPP > >> capable > >> ttyACM1 port

Re: grab_port fails for AT/PPP port (stuck) in data mode

2021-08-31 Thread Aleksander Morgado
Hey Norbert, > I'm creating a plugin for Sierra Wireless HL78xx LTE-M modem. > Actually, it is already partly done. > > The HL78xx has its own TCP/TLS stack/interface. To use it as > "generic linux network interface" though, PPP is used for the AT/PPP capable > ttyACM1 port. ttyACM0 is the AT cont

Re: Support for the Linux WWAN subsystem

2021-08-30 Thread Aleksander Morgado
Hey Ramon, > > Also, which ports are exposed in the system? Just the wwan control > > port, or do you also have a NET port as well for the same fake device? > > MM requires both things. > > As far as I understood I have the NET port. > > $ sudo modprobe wwan_hwsim > $ ls /sys/class/wwan/ > $ wwan0

Re: Support for the Linux WWAN subsystem

2021-08-30 Thread Aleksander Morgado
> > Is that wwan_hwsim integration to be able to create fake modems in > > userspace that are exposed via the new WWAN subsystem? If so, wouldn't > > they already be supported by the current ModemManager, which supports > > the new WWAN subsystem? > > I suppose the answer should be "yes they are su

Re: ModemManager + systemd-networkd?

2021-08-29 Thread Aleksander Morgado
Hey Bruce, > What is the state of things with respect to interoperability between > ModemManager and systemd-networkd? My project involves an unmanaged > device with a web interface to manage a few simple settings, and I'm > trying to add mobile Internet access to it. We've been successfully > usi

Re: Support for the Linux WWAN subsystem

2021-08-29 Thread Aleksander Morgado
Hey Ramon, > I was wondering if there is any plan to add some level of integration > between ModemManager and wwan_hwsim (e.g. expose interfaces created by > wwan_hwsim > (https://github.com/torvalds/linux/blob/master/drivers/net/wwan/wwan_hwsim.c) > to ModemManager - not sure if this is the righ

Re: could not grab port cdc-wdm0: Cannot add port 'usbmisc/cdc-wdm0', unhandled port

2021-08-29 Thread Aleksander Morgado
Hey Juan > I have a system with MM 1.16.4 (NM 1.20.4) and I'm facing some > problems with my SIMCOM SIM7600G-H > > In some systems, I get a successful activation of the cdc-wdm0 device > and the wwan0 interface comes up and in some other systems, cdc-wdm0 > fails to be grabbed/activated and the ww

Anyone willing to help reviewing ModemManager merge requests?

2021-08-12 Thread Aleksander Morgado
Hey all, ModemManager 1.18-rc1 was just released this week, and the final 1.18 will happen sometime in the next few weeks, once the RC has been tested and integrated properly. Once 1.18 is released, we'll open git master again to new stuff. There are some pending merge requests in gitlab that wou

ANN: ModemManager 1.17.900 (1.18-rc1) released

2021-08-09 Thread Aleksander Morgado
Hey hey! This is the first release candidate for the next 1.18 stable version. Please refer to the NEWS file for the full list of updates in this version: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/master/NEWS The following notes are directed to package maintainers:

Re: Sierra Wireless AirPrime EM919X support

2021-08-09 Thread Aleksander Morgado
Hey Thomas! > I'm trying to use ModemManager with a Sierra Wireless AirPrime EM919X, > based on a Snapdragon X55 5G Modem, without success. > > The EM919X is connected to an i.MX6QDL through a MHI bus on top of a > PCIe gen2 bus. > > I'm using the kernel 5.13.6, modemmanager 1.32.4, libqmi 1.30.0

ANN: ModemManager 1.16.10 released

2021-08-09 Thread Aleksander Morgado
Hey hey, This is the fifth bugfix release in the 1.16.x series, built from the mm-1-16 branch. ModemManager 1.16.10 --- * QMI: ** Fixed use of uninitialized memory in the 3GPP registration logic when running NAS Set System Selection Preference. *

Re: Cinterion MV31-W modem support

2021-08-04 Thread Aleksander Morgado
Hey Tomasz, > > Thank you. The patch works. The correct vendor and device id are presented. > The plugin manager still prints that it found 3 plugins to try, but now the > first to try and best plugin is cinterion. > Please post your changes to add support for the WWAN subsystem in the Cinterion

Re: [RFC] No multiplexing by default in MM 1.18

2021-08-04 Thread Aleksander Morgado
Hey Reinhard, > > > I've been testing with all my modems for the next 1.18 release, and > > > for the QMI and MBIM ones I've done tests with and without > > > multiplexing support (i.e. connecting normally as we did until now, > > > and also connecting with multiplexing enabled). > > > > > > All t

[RFC] No multiplexing by default in MM 1.18

2021-08-02 Thread Aleksander Morgado
Hey all, I've been testing with all my modems for the next 1.18 release, and for the QMI and MBIM ones I've done tests with and without multiplexing support (i.e. connecting normally as we did until now, and also connecting with multiplexing enabled). All the QMI modems I have tested with have wo

Re: Cinterion MV31-W modem support

2021-07-30 Thread Aleksander Morgado
> > static const gchar *vendor_strings[] = { "cinterion", "siemens", NULL > > }; > > -static const guint16 vendor_ids[] = { 0x1e2d, 0x0681, 0 }; > > +static const guint16 vendor_ids[] = { 0x1e2d, 0x0681, 0x1269, 0 }; > > Don't you have to add an entry to the vendor_strings when you a

Re: Cinterion MV31-W modem support

2021-07-30 Thread Aleksander Morgado
Hey, > The change I made is for cinterion plugin only: > diff --git a/plugins/cinterion/mm-plugin-cinterion.c > b/plugins/cinterion/mm-plugin-cinterion.c > index 48fbb1ac..fe97f900 100644 > --- a/plugins/cinterion/mm-plugin-cinterion.c > +++ b/plugins/cinterion/mm-plugin-cinterion.c > @@ -181,9 +

Re: Cinterion MV31-W modem support

2021-07-29 Thread Aleksander Morgado
Hey, > I have modified the plugin as suggested. > There's some progress but no success yet. > > I have started Modem Manager, then executed (we're running on openwrt with no > udev): > mmcli --report-kernel-event="action=add,subsystem=wwan,name=wwan0mbim0" > > And then observed that Modem Manager

Re: Cinterion MV31-W modem support

2021-07-29 Thread Aleksander Morgado
Hey Tomasz, > We do have a Cinterion MV31-W PCIe (MHI) modem (SGX55 based) and would like > to use Modem Manager to control it. > > We have mhi, mhi_pci_generic, mhi_net and mhi_wwan_ctrl modules loaded. The > modem is detected, /dev/wwan0at0 and /dev/wwan0mbim0 devices are created, > > mhi_mbim

Re: ModemManager[178]: Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall'

2021-07-27 Thread Aleksander Morgado
Hey, > > > would it hurt to enable the ID_MM_QMI_CONNECTION_STATUS_POLLING_ENABLE > property? It would be just redundant. If WDS indications are processed correctly, the polling wouldn't be strictly necessary. I believe it should be safe to enable it if you don't care much about power consumpti

Re: ModemManager[178]: Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall'

2021-07-27 Thread Aleksander Morgado
Hey, > > thanks for your fast response. I've upgraded to V1.16.8. > Nice! Please try to gather as much info as possible during those disconnections, and let us know if you can still experience the OutOfCall errors. > I also found the ID_MM_QMI_CONNECTION_STATUS_POLLING_ENABLE property. Would >

Re: ModemManager[178]: Reloading stats failed: Couldn't get packet statistics: QMI protocol error (15): 'OutOfCall'

2021-07-27 Thread Aleksander Morgado
Hey, > we are experiencing connection hangs without recovery (seems like a failed > handover or similar) with the following log entry: > ModemManager[178]: Reloading stats failed: Couldn't get packet > statistics: QMI protocol error (15): 'OutOfCall' > > There was a patch "bearer-qmi: detect d

Re: ME910G1 Integration

2021-07-26 Thread Aleksander Morgado
Hey, > I've been working on integrating the Telit ME910G1 into our platform and have > found some interesting behavior that I wanted to share and ask for some > feedback: > > USB Composition > The USB composition for the device is: > > 0x110a: 3 reduced ACM devices. The composition also 1

Re: Static vs DHCP setups from ModemManager in OpenWrt

2021-07-15 Thread Aleksander Morgado
> >> After restart of ModemManager and then ifup wwan, reconnection is > >> successful. > >> > > > > Strange. What modem is this? > > > Sorry to add to the posts, but further testing shows another case where > this recovery didn't help. I don't have a good log of this, but it > appears that the pp

Re: Static vs DHCP setups from ModemManager in OpenWrt

2021-07-15 Thread Aleksander Morgado
Hey, On Thu, Jul 15, 2021 at 3:39 PM Peter Naulls wrote: > > On 7/12/21 4:50 PM, Aleksander Morgado wrote: > > you should ifdown & ifup the network interface > > configured in netifd in order to reconnect. > > No such luck: (sorry for the wrap) > > > hu Jul

Re: Retries in OpenWrt scripts

2021-07-15 Thread Aleksander Morgado
Hey, > > Here's a local modification I have to the modemmanager.common script in > OpenWrt. > > Without it, the system will give up, if the readiness of the modem takes too > long. This can happen with a number of cases, but in particular, this happens > on first boot, when OpenWrt is preparing

Re: Static vs DHCP setups from ModemManager in OpenWrt

2021-07-12 Thread Aleksander Morgado
Hey, > I'm using ModemManger 1.16.6 on OpenWrt along with its scripts (and slight > modifications so it doesn't just give up in the end). > > After a lot of testing and loss of connectivity, it seems that although > our provider is offering DHCP, the connection via ModemManager is configured > sta

ANN: ModemManager 1.16.8 released

2021-07-12 Thread Aleksander Morgado
Hey hey, This is the fourth bugfix release in the 1.16.x series, built from the mm-1-16 branch. ModemManager 1.16.8 --- * MBIM: ** Fixed wrong session id management when multiple bearers are created. * Modem interface: ** Fixed the enabling oper

Re: Modem reset in mPLS62-w?

2021-07-07 Thread Aleksander Morgado
Hey, > > the classic: > AT+CFUN=1,1 > > the question, however, would be why do you want to reboot the modem? It's part of some autorecovery mechanism for the data connection. > It looks like you want to update the FW, but Thales offers its own > method, and so not what is delivered by the ch

Modem reset in mPLS62-w?

2021-07-06 Thread Aleksander Morgado
Hey Giacinto, On an Intel-based mPLS62-w Cinterion module (0x1E2D:0x005D), running XMM7160_V1.1_MBIM_NAND_ADAPT_R, how can we trigger a modem reset successfully? We've tried to use the "Intel Firmware Update" MBIM service and run the "Modem Reboot" command, but it's either failing with "Failure"

Re: ModemManager 1.16.2 connection issue for EM7455 Sierra Modem

2021-07-05 Thread Aleksander Morgado
Hey! > After making more tests and checking the logs more carefully I have found > differences between the connection sequence , specifically regarding the > bearer options. > When a bearer is created with no auth options, like following the next > command ( 'allowed-auth' methods are not set)

Re: Re: dell branded DW5829e (T77W968) FCC unlock failed

2021-07-05 Thread Aleksander Morgado
Hey, > > > > > > i'm stuck on activating the wwan card. > > > I know there is a dell customer kit (win only/dell supported laptop) and > > > this issue as been already discussed. [1] > > > > > > I'm running modemmanager 1.16.6 and libqmi 1.28.6 containing the FCC > > > unlock bits. > > > > > > e

Re: ModemManager 1.16.2 connection issue for EM7455 Sierra Modem

2021-07-04 Thread Aleksander Morgado
Hey, > > I have installed ModemManager version 1.16.2 recently in order to use the > latest functionalities and I have been experiencing an issue after trying to > connect to a custom APN (within a VPN). > The issue is that the modem is unable to transition from the registered to > the connecte

Re: Never reconnected after SIM desactivate/activate

2021-07-04 Thread Aleksander Morgado
Hey, > > Desactivate SIM from operator lead to Status state enabled after a while. > But when activate SIM again, it loops between those states: > Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: [modem1] simple > connect started... > Jun 29 15:23:11 ws-box-v1.3 ModemManager[630]: [modem1] simple

Re: dell branded DW5829e (T77W968) FCC unlock failed

2021-07-04 Thread Aleksander Morgado
Hey Sven, > > i'm stuck on activating the wwan card. > I know there is a dell customer kit (win only/dell supported laptop) and this > issue as been already discussed. [1] > > I'm running modemmanager 1.16.6 and libqmi 1.28.6 containing the FCC unlock > bits. > > error: > ModemManager[133848]:

Re: [License issue]

2021-06-29 Thread Aleksander Morgado
Hey Brian, > > I have the following questions about the license issue, please give me > some advise, thanks. > 1. If my application use libmm-glib(LGPLv2).so to control the modem through > ModemManager(GPLv2), is it necessary to open my source code? No need to open source your code. libmm-

Re: Problem with update_modem_unlock_retries in MBIM code

2021-06-29 Thread Aleksander Morgado
Hey > I've found that calling mm_iface_modem_update_unlock_retries from > pin_set_enter_ready causes a notification to be sent to the UI with invalid > number of unlock attempts on MBIM modems. Could you please provide a full debug log showing this issue? We need to understand what info is the

Re: Issues regarding multiple MBIM bearer support

2021-06-21 Thread Aleksander Morgado
Hey, > > Just to let you know - I cherry-picked > e5305498b7ddbc5e419cf51fc0c30aa6593a40d2 over 1.16.6 tag, and it did fix the > VLAN issue - new bearers objects appear, but all use session 0. > Without the fix it didn't - the issue was caught exactly on vanilla 1.16.6, > but we didn't gather t

Re: EG25 integration patches in plasma mobile

2021-06-20 Thread Aleksander Morgado
> > Do those patches fix this kind of bug? > > https://gitlab.com/mobian1/issues/-/issues/322 > > > > My pinephone has become very painful to use, I have to reboot about 5 times a > day, I lose the connection quite often. > Don't think so. @Dylan Van Assche may know more about that? -- Aleksan

Re: EM9190 Support

2021-06-18 Thread Aleksander Morgado
Hey On Fri, Jun 18, 2021 at 5:33 AM Amol Lad wrote: > > Thanks Aleksander, > > What is the recommended MM version to test 5G in this module (QMI & MBIM > mode)? Also what kernel version should I use (for qmi_wwan & cdc_mbim > drivers)? > Any MM 1.16.x release, or MM git master would be best I'

EG25 integration patches in plasma mobile

2021-06-18 Thread Aleksander Morgado
Hey Carl & Bjørn The people at KDE are working on some patches to better integrate the EG25 under suspend/resume events; they're changing not only power related sysfs attributes, but also patching certain parts of the kernel drivers, including the cdc-wdm driver. https://invent.kde.org/teams/plas

Re: EM9190 Support

2021-06-17 Thread Aleksander Morgado
Hey, > > Does ModemManager/libqmi/libmbim support Sierra wireless EM9190 module? I'm > not sure if anyone actually got a chance to test EM919X with MM. Please > advise. > I haven't personally heard of anyone using it, truth be told. I did ask Sierra for a sample engineering module some months a

Re: Issues regarding multiple MBIM bearer support

2021-06-15 Thread Aleksander Morgado
Hey Lech, > > Recently, I was investigating connectivity issues with Telit LE910-EU V2 in > MBIM mode, when working in roaming. At the time, I was using ModemManager > 1.16.5. > > In order to go further while waiting for fix on the modem side - I made a > workaround, which led me to discovery o

Re: 5G QMI modem recommendation

2021-06-15 Thread Aleksander Morgado
Hey, On Tue, Jun 15, 2021 at 4:42 PM Trade Winds wrote: > > Which flavor of RM500Q are you using. I know in the US we have another > version that the global version. RM500Q-XX. > Hardware |manufacturer: QUALCOMM INCORPORATED | model: RM500QGL_VH

Re: 5G QMI modem recommendation

2021-06-15 Thread Aleksander Morgado
Hey Nick, > > This is with MM 1.16.6. Is there any special setup I should try? > There is no data aggregation enabled in 1.16, it's only in git master. I need to fix some things first there before you can try that though, will do that soon. -- Aleksander https://aleksander.es

Removing LEGACY and PARANOID filter modes in 1.18.0

2021-06-15 Thread Aleksander Morgado
Hey, As already noted in the 1.16.0 release notes, the 1.16.x branch is the last one supporting the LEGACY and PARANOID filter modes: https://lists.freedesktop.org/archives/modemmanager-devel/2021-February/008437.html We'll remove them in git master soon (along with the vid:pid blacklist and grey

Re: 5G QMI modem recommendation

2021-06-14 Thread Aleksander Morgado
Hey, > I have tried the RM500Q but the speeds were really poor in QMI mode (only > about 20Mbps sometimes!) and even in MBIM mode it’s about 150Mbps slower than > when using qmi_wwan_q and Quectel Connection Manager. It’s a big > disappointment as MM and qmicli are so feature rich and so much

Re: 5G QMI modem recommendation

2021-06-14 Thread Aleksander Morgado
> > > > I was hoping to purchase a 5G QMI modem to experiment on my raspberry pi. > > Are there any 5G modules that are known to work with MM? > > > > I've played with these ones myself: Quectel RM500Q and Foxconn T99W175. > I'm sure others have tested other modules. > Oh, and Fibocom FM150, that

Re: 5G QMI modem recommendation

2021-06-14 Thread Aleksander Morgado
Hey > > I was hoping to purchase a 5G QMI modem to experiment on my raspberry pi. Are > there any 5G modules that are known to work with MM? > I've played with these ones myself: Quectel RM500Q and Foxconn T99W175. I'm sure others have tested other modules. -- Aleksander https://aleksander.es

Re: Need help troubleshooting Quectel EG25 modem in Pine64 Pinephone

2021-06-14 Thread Aleksander Morgado
Hey, > > > Can you run "AT+CGDCONT?" with minicom (or otherwise, running> ModemManager > > with --debug and then mmcli --command="AT+CGDCONT?") > > Here's the output of atinout: > > ``` > $ echo "AT+CGDCONT?" | sudo atinout - /dev/ttyUSB2 - > > ERROR > ``` This does not make any sense > > I con

Re: Release plans (How are You ?)

2021-06-09 Thread Aleksander Morgado
Hey Stacy > > This is a direct followup of the issue 387 "How are you ? :3" > Sorry to create the issue. I was not aware of this mailing list :D > No worries :) > So to recapt the topic : > > We still have a very annoying issue in sxmo but probably in other pmOses > in the last releases with SMS

Re: Need help troubleshooting Quectel EG25 modem in Pine64 Pinephone

2021-06-09 Thread Aleksander Morgado
Hey > > > If Roaming is enabled, the modem will check to see if it is able to > > roam on any other carriers. In your case the O2 network is marked as > > "forbidden" and so it seems that you don't have an O2 SIM ... or it's > > not active or something strange is going on. > > Yes, I find it hig

Re: ublox with ipv6

2021-06-09 Thread Aleksander Morgado
Hey Thomas! > I am not sure, if I asked it already. ModemManager gets all information about > IPv6, but it ignores them. > > I made a successful IPv6 (dual stack) test with a combination of > NetworkManager/ModemManager and some manual commands. > > I used version 1.14.8. (the latest in tumbleweed

Re: Intermittent segfault when freeing MMManager object using g_object_unref()

2021-06-07 Thread Aleksander Morgado
Hey! > > > "modems" here is the list returned by the manager with > > g_dbus_object_manager_get_objects(). The list contains full > > references, so g_list_free_full() is fine. > > > > "object" is an element of that list. Are you really doing a > > g_object_ref() of the object when you're iteratin

ANN: ModemManager 1.16.6 released

2021-06-06 Thread Aleksander Morgado
Hey hey, This is the third bugfix release in the 1.16.x series, built from the mm-1-16 branch. ModemManager 1.16.6 --- * Build: ** Require libqmi >= 1.28.6 (for the optional QMI support). ** Fix error with GCC 11 and -Wincompatible-pointer-types.

Feature freeze for 1.18

2021-06-02 Thread Aleksander Morgado
Hey all, Please let's consider git master frozen for new features until we have released 1.18, which should happen sometime in the next 2 months hopefully. I don't have much free time to maintain the project, so I'd like to make sure all the new features coming in 1.18 are stable enough to be rel

Re: Mocking out libmm-glib for testing

2021-06-02 Thread Aleksander Morgado
Hey! > I have been working on a C++ project that uses libmm-glib, but I recently ran > into an issue around testing it. I was hoping to be able to create an > artificial MMSim (not based on a real card) and pass that to my code under > test. My main goal is to avoid dbus dependencies so I can d

Re: Intermittent segfault when freeing MMManager object using g_object_unref()

2021-05-31 Thread Aleksander Morgado
Hey Andrew, > I am encountering intermittent (but easily reproducible) segfaults when > freeing an MMManager object using g_object_unref(). > > I am using libmm-glib from ModemManager 1.14.8 to get the state and signal > quality on the modem I am using (u-blox TOBY-R200) on an embedded device.

Re: No modems found in list command after scan

2021-05-27 Thread Aleksander Morgado
Hey Brian, > Thanks for your reply. I will check your advice. In addition, I find > that MM only show the primary AT port of the LTE module. > Is that related to the without-udev or without-libqmi? I have tried to add > the other ports to MM, but MM still only show the ttyUSB2(at). > mmcli

Re: About network configuration with mobile broadband

2021-05-26 Thread Aleksander Morgado
Hey > To setup the network configuration with mobile broadband, most of my > survey advise to use NetworkManager or pppd. But I'm wondering if it is > feasible to use ifconfig/iwconfig to setup the network connection with mobile > broadband or not. Could you give me some advice? > ModemMan

Re: No modems found in list command after scan

2021-05-26 Thread Aleksander Morgado
Hey Brian > Thanks for your explanation. I could scan the modem after put the udev > folder to /lib folder. For now, I would meet a 3gpp network register issue. > It seems that MM would auto-connect the available network because I could > create the connection at my first test. After that,

Re: Odd MM Bearer behavior

2021-05-26 Thread Aleksander Morgado
Hey > Hi Aleksander, hoping to ask another favor on this same thread. You helped > me fix profile [1] which worked perfectly (thanks again), but the device > recently lost connection and tried to re-establish after reset where it seems > to be trying to connect to profile [4] and recycling thr

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-24 Thread Aleksander Morgado
Hey On Mon, May 24, 2021 at 7:21 PM Oskar Stenman wrote: > > Replying to myself here again.. > > Not sure what's going on but noticed laptop running hot and I see > ModemManager + mbim-proxy running at 100% cpu. > Strace of mbim-proxy only spams infinite lines like: > write(7, > "\3\0\0\\0

Re: EM120 not correctly booting up, unknown wwan control port exposed?

2021-05-23 Thread Aleksander Morgado
Hey, > > > > I wanted to test the EM120 setup I have with latest MM git master and > > kernel 5.13.0-rc2, but unfortunately there is some issue, not sure if > > in device or in kernel driver. These are the kernel logs I get as > > output when the issue happens: > > > > [ 263.458712] mhi-pci-gener

[RFC] Roadmap for 1.18

2021-05-23 Thread Aleksander Morgado
Hey all, The development cycle for 1.18 has been very busy; a lot of new APIs have landed, and a lot of new features (PCI modem support, QRTR for Qualcom SoCs, Profile management APIs, multi PDN support in QMI/MBIM...). There is still one big missing thing to include, the quicker suspend/resume en

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-22 Thread Aleksander Morgado
Hey! On Sat, May 22, 2021 at 3:10 PM Oskar Stenman wrote: > > I can confirm this works. > Thanks for checking! I have also been able to validate this in the X1 Carbon; I also had to enable intel VT-D in the bios BTW. -- Aleksander https://aleksander.es _

Re: EM120 not correctly booting up, unknown wwan control port exposed?

2021-05-22 Thread Aleksander Morgado
Hey again, The "wwan0" thing is unrelated to the actual problem I saw with the EM120 going away. > There is one interesting thing in the MM log, though, maybe it's MM > the one causing the issue. > See this list of ports and the details for each port reported via udev/sysfs. > > The first port we

Re: Multiple APNs

2021-05-22 Thread Aleksander Morgado
Hey! > I own a Pinephone under Mobian, I use Phosh. I'd like to test the > experimental MMS support but my mobile operator uses one APN for Internet and > another one for MMS, which is something common in France and in some other > European countries. When do you plan to provide a stable versio

EM120 not correctly booting up, unknown wwan control port exposed?

2021-05-22 Thread Aleksander Morgado
Hey Loic and Carl, I wanted to test the EM120 setup I have with latest MM git master and kernel 5.13.0-rc2, but unfortunately there is some issue, not sure if in device or in kernel driver. These are the kernel logs I get as output when the issue happens: [ 263.458712] mhi-pci-generic :01:00

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-21 Thread Aleksander Morgado
Hey Oskar, > I've tested it. ModemManager doesn't automatically activate it, Ok, please retry with the latest https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/534 It works for me on the laptop I received yesterday ;) $ uname -a Linux hestia 5.13.0-rc2-2-mainline #1

Re: No modems found in list command after scan

2021-05-21 Thread Aleksander Morgado
Hey Brian, > I use mmcli -S to scan devices but no modems found in mmcli -L, the > attachment is the debug log of modemManager in device search. Could you help > to check this issue? By the way, my device is Telit and the plugin option is > enabled. As in your other email, the problem here

Re: On a SIM7100A the PPPD connection fails (modem hangup) with nm-ppp-plugin, but a custom pppd script works

2021-05-21 Thread Aleksander Morgado
Hey Simon, > > We are thinking of updating the mm-broadband-simtech.c plugin to set the > initial bearer to "apn=" (so, empty) making the first context empty: > AT+CGDCONT=1,"IP","","0.0.0.0",0,0 > We can do this by updating the mm-broadband-simtech.c plugin: > 1) by adding logic to have the co

Re: Use modemManager without udev

2021-05-21 Thread Aleksander Morgado
Hey, > > I want use "mmcli --report-kernel-event " to access the modem, but the > error occur as follow: > > root@NVTEVM:~$ mmcli > --report-kernel-event="action=add,subsystem=tty,name=ttyUSB > 0" > ModemManager[601]: [1621557548.457821] [base-manager] kernel event > reported: > ModemManag

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-19 Thread Aleksander Morgado
Hey Oskar On Wed, May 12, 2021 at 9:38 AM Aleksander Morgado wrote: > > > > After that i could run: > > > $ sudo qmicli -p -d /dev/wwan0p2MBIM --device-open-mbim > > > --dms-dell-cuskit-unlock=00 > > > [11 maj 2021, 23:42:36] -Warning ** [/dev/wwan0p2MBIM]

[RFC] New 'ConnectionError' property in the Bearer objects

2021-05-18 Thread Aleksander Morgado
Hey Dan & all, I've been thinking in upgrading the Bearer object DBus API with a new "ConnectionError" property that would include (if known) the reason why a given bearer is disconnected (either due to a failed connection attempt, a network-initiated disconnection, or any other failure that would

Re: Odd MM Bearer behavior

2021-05-18 Thread Aleksander Morgado
Hey, On Tue, May 18, 2021 at 12:47 PM Christopher Penney wrote: > > Wow, it worked! Thank you VERY VERY much. Turns out the problem was exactly > that; the default profile was incompatible with IoTDataWorks default APN. > You really saved the day (week, months really) thanks again. > Glad it

Re: On a SIM7100A the PPPD connection fails (modem hangup) with nm-ppp-plugin, but a custom pppd script works

2021-05-18 Thread Aleksander Morgado
Hey! > We have had an active debugging session with Vodafone and we saw that the > modem (a SIMCom SIM7100A) had collected multiple PDP contexts from networks > along the way (4 of them): > > AT+CGDCONT? > +CGDCONT: 1,"IP","phone","0.0.0.0",0,0 > +CGDCONT: 2,"IP","3gnet","0.0.0.0",0,0

Re: Odd MM Bearer behavior

2021-05-18 Thread Aleksander Morgado
Hey, > Current specs: > mmcli 1.14.2 > qmicli 1.26.0 You should probably ping balena OS to upgrade those, at least to the latest stable updates on those release branches. > Quectel EG25G, firmware EG25GGBR07A08M2G. * Note, I also tested this with > four other modems of varying models (i.e EC25A

Re: Odd MM Bearer behavior

2021-05-18 Thread Aleksander Morgado
Hey Christopher, > Hello, I'm reaching out to this group in desperation. > We've been trying to solve this problem with ModemManager and a specific SIM > from IoTDataWorks combined with ModemManager inside BalenaOS that has us > perplexed and stuck. > What MM and libqmi version? What modem mode

Re: Kernel 5.10.29: Problems with Huawei ME906s

2021-05-17 Thread Aleksander Morgado
Hey Torsten, > > 2021-05-12 10:15:26.137 kernel: cdc_mbim 1-2:3.0: setting rx_max = 16384 > > 2021-05-12 10:15:26.149 kernel: cdc_mbim 1-2:3.0: NDP will be placed at end > > of frame for this device. > > 2021-05-12 10:15:26.150 kernel: cdc_mbim 1-2:3.0: cdc-wdm0: USB WDM device > > 2021-05-12 10:

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-12 Thread Aleksander Morgado
> > After that i could run: > > $ sudo qmicli -p -d /dev/wwan0p2MBIM --device-open-mbim > > --dms-dell-cuskit-unlock=00 > > [11 maj 2021, 23:42:36] -Warning ** [/dev/wwan0p2MBIM] couldn't detect > > transport type of port: couldn't detect device driver > > [11 maj 2021, 23:42:36] -Warning ** [/dev/

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-12 Thread Aleksander Morgado
> > I tried compiling that cuskit patch, but my laptop crashed and no matter > > what i did i ended up with segfaults. Apparently i've been hit by a > > kernel-bug which sidetracked me about 10 hours: > > https://lkml.org/lkml/2021/5/9/67 > > No wonder the produced binaries were throwing segfault

Re: On a SIM7100A the PPPD connection fails (modem hangup) with nm-ppp-plugin, but a custom pppd script works

2021-05-11 Thread Aleksander Morgado
Hey! > > We have some strange behavior (on a SIM7100A) where NetworkManager (using the > nm-ppp-plugin) needs to initiate a connection with Vodafone (private APN). > The modem gets registered successfully on the network (roaming over the > available T-Mobile or AT&T networks), but receives a mo

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-11 Thread Aleksander Morgado
Hey, > > The problem we have now is that we no longer have a simple solution to snoop > the trafic from windows. It was simple with USB but I have no idea how to do > that with PCIe. I've never worked with PCI-drivers. > - There has to be a way to capture the PCI traffic in

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-11 Thread Aleksander Morgado
Hey > > Speaking as someone who ordered (on Sunday) a X1 > > Carbon Gen9 with the SDX55 module and *without* Windows > > preinstalled... :) > > Cool! Is it the same module as in this thread? Definitely interested > in knowing your results. > Delivery in "at least" 6 weeks, so hopefully we'll alre

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-11 Thread Aleksander Morgado
Hey, > > I have a draft setup to test the commands provided in the custkit > > tool, but never made it work I'm afraid: > > https://gitlab.freedesktop.org/aleksm/libqmi/-/tree/aleksander/dell-cuskit > > > > That branch introduces a new qmicli --dms-dell-cuskit-unlock=[XX] > > command, where XX is

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-11 Thread Aleksander Morgado
Hey, > I'm not really familiar with this, but some vendors also implement a > specific vendor one-shot AT command for unlocking the modem, not sure > this is the case though. As in here for the Fibocom LG850 in Lenovo laptops: https://github.com/xmm7360/xmm7360-usb-modeswitch But those commands

Re: Snapdragon X55 (Thinkpad X1 Nano w/5G Modem)

2021-05-11 Thread Aleksander Morgado
Hey, Comments inline below. > > I'm trying to get the modem running on my Thinkpad X1 Nano which i ordered > with the Snapdragon X55 / 5G Modem. > > I contacted Bjørn Mork who seems to be the author for some other kernel > modules for usb-devices and we've been digging a bit. He informed me tha

Re: When to call SetInitialEpsBearerSettings

2021-05-10 Thread Aleksander Morgado
Hey, > We are using SetInitialEpsBearerSettings to set the default-attach APN for > some carriers. When the user manually changes from an APN which is not Attach > to an Attach one(or vice versa), we disable the modem and re-enable it to > have a clean slate. > This works fine, except that some

Re: [RFC] Keeping send-delay for all RS232 ttys only?

2021-05-04 Thread Aleksander Morgado
Hey Giacinto, > 100ms between characters seems excessive. > In general there are the RTS/CTS on the serial line and on the virtual > serial over usb (supported by option and acm drivers) for this. > A stripped down RS232 with only TX/RX/GND could need some delay, but > it is very difficult to gues

[RFC] Keeping send-delay for all RS232 ttys only?

2021-05-03 Thread Aleksander Morgado
Hey Dan & all, The send-delay property allows us to send the characters in an AT command one by one, with some delay in between them. Right now the default configuration of the send-delay property is 100ms unless explicitly disabled, as it's done in several plugins. I'm wondering whether it makes

Re: ModemManager/libqmi/libmbim contribution guidelines

2021-05-02 Thread Aleksander Morgado
Hey all > > I've been preparing a website to keep documentation related to the > ModemManager, libqmi and libmbim projects: https://modemmanager.org > We're setting up the web to be hosted by freedesktop.org gitlab pages but using the https://modemmanager.org URL, and for that we need to update t

Re: problems with QMI dual stack connections from MM - works with qmicli

2021-05-01 Thread Aleksander Morgado
> If this is a common X55 (or even wider Qualcomm?) problem, then maybe MM > should enforce the profile usage? Or is that baking too much policy > into MM? > It wouldn't be much to enforce internally using profiles when connecting using QMI, if that's the way forward. We really already do that wi

Re: problems with QMI dual stack connections from MM - works with qmicli

2021-04-30 Thread Aleksander Morgado
Hey! > > but if I create two profiles: > > $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 > --wds-create-profile=3gpp,apn=ibox.tim.it,pdp-type=IP > New profile created: > Profile type: '3gpp' > Profile index: '2' > > $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 > --wds-create-pro

Re: Using mikroe "LTE IoT Click" aka u-blox SARA-R410M-02B with native serial UART

2021-04-29 Thread Aleksander Morgado
Hey > Long story short, I made it to a ppp0 device: > > 3: ppp0: mtu 1500 qdisc fq_codel > state UNKNOWN group default qlen 3 > link/ppp > inet 10.***.***.*/32 scope global noprefixroute ppp0 >valid_lft forever preferred_lft forever > Nice! > And seconds after that, the system

Re: Using mikroe "LTE IoT Click" aka u-blox SARA-R410M-02B with native serial UART

2021-04-28 Thread Aleksander Morgado
Hey, > > That looks promising, I'll see if I can register to the network if the > > correct SIM cards arrive. > > I got the SIM cards now. Those are by German Telekom for business customers. > (German FAQ here: [1]) > > Recap: the modem is a u-blox SARA-R410M-02B, and it's connected through the >

Re: UE Initiated Dedicated Bearer

2021-04-26 Thread Aleksander Morgado
Hey, > I then came across this MR > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/477?commit_id=bb6ed93dda185e679b76f77ffc67aa3a4a9eaf83 > which appears to be related to creating multiple bearers and configuring > said profiles through MM. I didn't see anything s

Re: problems with QMI dual stack connections from MM - works with qmicli

2021-04-26 Thread Aleksander Morgado
Hey, > >> > Well, the direct reason is clear from the log: We skip the > >> > CONNECT_STEP_IP_FAMILY_IPV4 step for bearer2+. So we can connect > >> > multiple IPv6 bearers after the first one. Just not any IPv4 or > >> > dual-stack. > >> > >> OK, an extra debug line proves that this is because o

Re: problems with QMI dual stack connections from MM - works with qmicli

2021-04-26 Thread Aleksander Morgado
Hey, > > Well, the direct reason is clear from the log: We skip the > > CONNECT_STEP_IP_FAMILY_IPV4 step for bearer2+. So we can connect > > multiple IPv6 bearers after the first one. Just not any IPv4 or > > dual-stack. > > OK, an extra debug line proves that this is because of the only possibl

Re: problems with QMI dual stack connections from MM - works with qmicli

2021-04-23 Thread Aleksander Morgado
Hey, > FYI, dual stack works after reordering the connection sequence a bit: > Nice! Thanks for fixing that. I've also updated your MR in gitlab with an additional fix to handle the proper WDS client allocation in the different muxed bearers; which was a huge oversight... I'll have to start test

Re: SEGFAULT with MM HEAD when probing

2021-04-22 Thread Aleksander Morgado
> Pushed it to git master now, thanks for the patch! > I still had to push an additional fix on top of yours to fix the gitlab pipelines :D -- Aleksander https://aleksander.es ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org

<    1   2   3   4   5   6   7   8   9   10   >