Receive text messages without polling?

2019-04-13 Thread Martin
Hi, since long I use a simple Python script that fetches text messages via org.freedesktop.ModemManager.Modem.Gsm.SMS.List(). However, polling is boring. Is there a way to get SMS asynchronously, e.g. by D-Bus callback? TIA! Btw. I also wonder wether there is a way to make 120 % sure, that my mo

How configure the modem PIN, when not using NM

2020-02-07 Thread Martin
Hi, I'm using a modem just for SMS, i.e. no mobile internet. Therefore, NM does not control my modem and maybe I will remove NM. I can set the pin using mmcli, but it should be automatic. How would I configure that? TIA & Cheers ___ ModemManager-devel m

How to interpret the SMS timestamp?

2020-02-07 Thread Martin
Hi, when I look at a text message ("sudo mmcli -s 0"), I get e.g. "timestamp: 200122010911+01". Is that ISO format without dashes etc. but year minus 2000? I.e. 2020-01-22T01:09:11 UTC+1? TIA & Cheers ___ ModemManager-devel mailing list ModemManager-dev

Re: How configure the modem PIN, when not using NM

2020-02-07 Thread Martin
On 2020-02-07 09:30, Aleksander Morgado wrote: > > I'm using a modem just for SMS, i.e. no mobile internet. > > Therefore, NM does not control my modem and maybe I will remove NM. > > I can set the pin using mmcli, but it should be automatic. > > How would I configure that? > > ModemManager doesn'

Re: How to interpret the SMS timestamp?

2020-02-07 Thread Martin
On 2020-02-07 09:28, Aleksander Morgado wrote: > > when I look at a text message ("sudo mmcli -s 0"), I get e.g. > > "timestamp: 200122010911+01". Is that ISO format without dashes > > etc. but year minus 2000? I.e. 2020-01-22T01:09:11 UTC+1? > > That date format was a bit broken before 1.12.0... t

Re: How configure the modem PIN, when not using NM

2020-02-07 Thread Martin
On 2020-02-07 10:50, Bjørn Mork wrote: > Maybe disabling the pin is an option? MM can do that. IMHO, there's > not much security value in the pin anyway if you are storing it on the > host system... It's more about the security of the SIM card, when it is *not* in the system :-) Let's say, I do

Re: [RFC] Changing filter policy to 'strict' by default

2020-05-28 Thread Martin
Quoting Aleksander Morgado : What do you all think? Please reply to the mailing list or add your comments in the gitlab merge request. As you know, but maybe not everyone on this list, Debian, Ubuntu etc. default to --filter-policy=strict since 2018-03. No change ;-) __

Missing mm_common_build_capability_combinations_any() in 1.13.900

2020-06-11 Thread Martin
Hi, what happened to mm_common_build_capability_combinations_any() in 1.13.900? Does libmm-glib need a soname bump? TIA! ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemman

Re: Missing mm_common_build_capability_combinations_any() in 1.13.900

2020-06-12 Thread Martin
On 2020-06-12 09:13, Aleksander Morgado wrote: > The "mm-common-helpers.h" file is not really part of the API, it's not > even installed, so I've kind of felt safe updating that implementation > without caring much about API/ABI. Very similar to what already > happened in 1.12: > https://gitlab.fre

New libmbim, libqmi, and modemmanager in Debian experimental

2020-06-14 Thread Martin
Dear modemmanager community, libmbim 1.23.900-0.1, libqmi 1.25.900-0.1, and modemmanager 1.13.900-0.1 are now available in Debian experimental. It would be helpful for both modemmanager and Debian, if people could try the packages before the planned releases. If you happen to run Debian testing o

Re: ModemManager 1.14.2 Setup - undefined symbol error and/or 'libmbim-glib.la' was moved error

2020-10-22 Thread Martin
Dear Dani, On 2020-10-21 15:59, Dani Anderson wrote: > We're trying to install ModemManager 1.14.2 on Ubuntu 20.04 > (5.4.0-52-generic) and are encountering a few problems. The problably most "clean" way is to build the .deb package for Ubuntu (or any .deb based Linux distribution): $ sudo apt

Re: ANN: ModemManager 1.14.8

2020-11-16 Thread Martin
On 2020-11-16 10:36, Aleksander Morgado wrote: > Download here: > > http://www.freedesktop.org/software/ModemManager/ModemManager-1.14.8.tar.xz > > Verify it: > $ sha256sum ModemManager-1.14.8.tar.xz > fe1a26ba51b4bda7abd09ad4dadedd87d8b8154809fc9d88e94f75fdfff19295 > ModemManager-1

Re: ModemManager 1.16

2021-01-08 Thread Martin
On 2021-01-08 11:43, Aleksander Morgado wrote: > If any of you is also waiting for a new 1.16, please please test git > master as much as possible! Are there more 1.14 releases planned? Btw. Debian 11 (bullseye) has its "hard freeze" on 2021-03-12. It might be good to have 1.16 ready before 2021-

Re: ModemManager 1.16

2021-02-12 Thread Martin
On 2021-02-12 10:28, Aleksander Morgado wrote: > I think MM 1.16 should happen sometime in the following days. I had a > bunch of things in my mind that I would have wanted to get in, but > it's probably not a good idea to merge them just before doing a > release. Not that I have time to finish the

Using MM without hardware for testing and development

2022-09-17 Thread Martin
Dears, for development purposes and automated testing, I like to talk to MM like there were a modem (in my case SMS tx/rx). I wonder, if there is e.g. a "nomodem" or "dummy" plugin, thats external behaviour is controlled somehow, e.g. using sockets or dbus. TIA! Martin PS: Alt

Modem stopped working out of the blue

2023-07-18 Thread Martin
Hi, my modem used to work until recently, but suddenly (and without any software update, at least intentionally), I get: $ sudo mmcli --modem=0 --messaging-list-sms error: modem not enabled yet $ sudo mmcli --modem=0 --enable error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.libqmi.E

Re: Modem stopped working out of the blue

2023-07-18 Thread Martin
On 2023-07-18 21:10, Martin wrote: > my modem used to work until recently, but suddenly (and without any > software update, at least intentionally), I get: Maybe I've been bitten by an autoupgrade mechanism on that system. modemmanager, libqmi and other packages *have* been up

Enable fails for QUALCOMM modem with MM 1.20.4

2024-06-16 Thread Martin
Hi, this used to work long time ago on Debian 10 or 11, but now on Debian 12 (modemmanager 1.20.4-1, libqmi-glib5 1.32.2-1), I get: $ sudo mmcli --modem=0 --messaging-list-sms error: modem not enabled yet $ sudo mmcli --modem=0 --enable error: couldn't enable the modem: 'GDBus.Error:org.freedesk

Re: Enable fails for QUALCOMM modem with MM 1.20.4

2024-06-16 Thread Martin
Hi, On 2024-06-16 17:00, Dylan Van Assche wrote: > It would be useful to mention the name of the modem and manufacturer > as a lot of modems identify themselves as QUALCOMM INCORPORATED, even > though they are made by other manufacturers. It is an USB dongle, saying "Vodafone Mobile Connect" and

Re: Enable fails for QUALCOMM modem with MM 1.20.4

2024-06-17 Thread Martin
still seems to have problems, as it remains in the "searching" state: [modem0] state changed (disabled -> enabling) [modem0] power state updated: on [modem0] 3GPP registration state changed (unknown -> searching) [modem0] state changed (enabling -> searching) Btw. my device is, according to lsub: Bus 001 Device 004: ID 19d2:0063 ZTE WCDMA Technologies MSM K3565-Z HSDPA Cheers, Martin

Re: ANN: Change in libqmi/libmbim/MM maintainership

2024-12-28 Thread Martin
Many thanks, Aleksander, for all your great work on ModemManager! It's more than a decade now, that I use it... I'm confident, that Dan will be an excellent maintainer, too!

5G Network slicing support

2022-03-17 Thread Martin Jurček
Hello all, I would like to test 5G network slicing and URSP. I didn't find any mention of network slicing in documentation. Does Modem Manager support network slicing? If not, does libqmi or libmbim support network slicing? Thank you.

Re: ModemManager-1.6.2: does not work with Huawei E3372h-153

2017-01-09 Thread Martin MOKREJŠ
I am on an GPRS connection I did not try to lookup if there is an >> email list for bug reports, but the manual page only mentions your email. >> ;-) >> > > There is a mailing list: > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel > > An

Re: ModemManager-1.6.2: does not work with Huawei E3372h-153

2017-01-12 Thread Martin MOKREJŠ
relevant to mmcli, a hint where to go next to get use of the "connected" modem would be very helpful. Aleksander Morgado wrote: > On Thu, Jan 12, 2017 at 3:49 PM, Martin MOKREJŠ wrote: >> # mmcli --connect -m /org/freedesktop/ModemManager1/Modem/0 >> error: no bearer wa

Re: ModemManager-1.6.2: does not work with Huawei E3372h-153

2017-01-12 Thread Martin MOKREJŠ
I forgot to add what I see in Connection information from nm-applet: Interface: GSM (ttyUSB0) Driver: huawei_cdc_ncm, option1 Martin ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman

Re: ModemManager-1.6.2: does not work with Huawei E3372h ??? -153

2017-01-12 Thread Martin MOKREJŠ
sn't support IPv6 but do > you know if t-mobile.cz supports IPv6? I have disabled IPv6 in my Linux so I will need to test from win7 if I get an IPv6 address. In general , I do not know if t-mobile offers IPv6 to its dialup customers. I assume not. Thank you, Martin Bus 002 Device

Re: ModemManager-1.6.2: does not work with Huawei E3372h ??? -153

2017-01-12 Thread Martin MOKREJŠ
Thomas Schäfer wrote: > Hi, > > I am a little bit surprised that the modem uses the ppp-interface in your > case. When I read your logfiles right, then you have a device which is sold > under the name "Speedsick LTE V" in Germany. > > This device should use the wwan-device by huawei_cdc_ncm.

Re: ModemManager-1.6.2: does not work with Huawei E3372h ??? -153

2017-01-13 Thread Martin MOKREJŠ
> # CONFIG_USB_NET_AX8817X is not set >> # CONFIG_USB_NET_AX88179_178A is not set >> CONFIG_USB_NET_CDCETHER=m >> # CONFIG_USB_NET_CDC_EEM is not set >> CONFIG_USB_NET_CDC_NCM=y >> CONFIG_USB_NET_HUAWEI_CDC_NCM=y >> CONFIG_USB_NET_CDC_MBIM=y >> # C

Re: ModemManager-1.6.2: does not work with Huawei E3372h-153

2017-01-13 Thread Martin MOKREJŠ
Hi Aleksander, Aleksander Morgado wrote: > Hey Martin, > > On Thu, Jan 12, 2017 at 9:46 PM, Martin MOKREJŠ wrote: >> I propose improving mmcli manpage. The EXAMPLES section should start with: >> 1. how shall one figure out where is any modem seen >> 2. how to read th

Re: ModemManager-1.6.2: does not work with Huawei E3372h ??? -153

2017-01-13 Thread Martin MOKREJŠ
|user: 'tm' > |password: 'none' > | number: '*99#' > | Rm protocol: 'unknown' > - > IPv4 configuration | method: 'static' > | address: '10.75.244.17' > | prefix: '30' > | gateway: '10.75.244.18' > | DNS: '10.74.210.210', '10.74.210.211' Weird, my IP's are not shown? IPv4 configuration | method: 'ppp' | address: 'unknown' | prefix: '0' | gateway: 'unknown' | DNS: none # ifconfig -a ppp0 ppp0: flags=4305 mtu 1500 inet 100.93.62.122 netmask 255.255.255.255 destination 0.0.0.0 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 30109 bytes 15430845 (14.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 26393 bytes 5424438 (5.1 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 # Martin ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: ModemManager-1.6.2: does not work with Huawei E3372h ??? -153

2017-01-13 Thread Martin MOKREJŠ
27; > |user: 'tm' > |password: 'none' > | number: '*99#' > | Rm protocol: 'unknown' > - > IPv4 co

Re: ModemManager-1.6.2: does not work with Huawei E3372h ??? -153

2017-01-13 Thread Martin MOKREJŠ
were obtained. Martin ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: ModemManager and ppp

2017-03-13 Thread Martin MOKREJŠ
d). This should go into ModemManager manual page plus the follow-ups translating CLOCAL into CRT/RTS wording and AT commands people may try to include in their ppp config files. Martin ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

ublox TOBY L200 TLS not working

2018-05-22 Thread Martin Kelly
ght be wrong? Is anyone else seeing this, or are you seeing high speeds on the TOBY L2 with RNDIS? Thanks, Martin ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: ModemManager support on ARM?

2019-03-25 Thread W. Martin Borgert
Quoting Ajay Garg : Is modem-manager supported on ARM? Yes. In my company we are using the Debian modemmanager package for armel since many years (version 0.5, IIRC). ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https:

Re: Quectel EC21, Debian Jessie, kernel 4.4 (patched)

2018-08-31 Thread W. Martin Borgert
On 2018-08-31 11:28, Aleksander Morgado wrote: > I believe that is just because you're using an ancient modemmanager > version, and the new "UIM" support isn't implemented in MM 1.4.0. > Could you update to MM 1.8? It will be totally compatible API-wise. How about MM 1.6.4? Just curious, because t

Analysing boot time

2019-02-13 Thread W. Martin Borgert
Hi, on my embedded system, "systemd-analyze blame" says: 15.254s ModemManager.service 10.562s NetworkManager.service ... I.e. MM and NM are the two slowest services in terms of start time. Is there anything I can do about it or try to find out, why they take s

Re: Analysing boot time

2019-02-14 Thread W. Martin Borgert
d by 'BusName='. I didn't know this, thanks! Martin I'd highly recommend using the new udev whitelist feature, in newer MM versions. Since you mention you're embedded & almost surely know the expected modem which will be used with your device. Unfortunately, that

cross-compiling modemmanager?

2019-02-20 Thread W. Martin Borgert
build process more complicated. Why or for what purpose is gobject-introspection used in modemmanager? Is there a realistic chance to leave out anything related to gobject-introspection when building modemmanager? Like in the good old times of 0.5/0.6? :-) TIA & Cheer

Re: cross-compiling modemmanager?

2019-02-20 Thread W. Martin Borgert
ld be able to leave it out of the compilation. Thanks for this hint, it works fine! Not without going through serious yak shaving, though: I came to other problematic dependencies. E.g. I had to remove the dependency on valac and leave out anything related to Vala. Thanks again & Cheer