Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-30 Thread Marius Kotsbak
Den 30. aug. 2012 00:24, skrev Aleksander Morgado: I did, but maybe hit a bad timing. Anyway, master version now builds and connection still works with my ZTE modem, but I got a crash with the Sierra modem (which is not Icera): ERROR:mm-port-probe.c:531:serial_probe_at_icera_result_processor:

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-30 Thread Marius Kotsbak
Den 30. aug. 2012 00:24, skrev Aleksander Morgado: I actually got the connection up now using the method above (mmcli + ifup wwan0) so it seems to be close to functional now. Regarding connectivity; QMI-powered MM is fully functional. Missing things include messaging and location, which are

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-30 Thread Aleksander Morgado
On 08/30/2012 01:30 PM, Marius Kotsbak wrote: For the Sierra MC7710, it also does not work: $ mmcli -m 0 --set-preferred-mode 4g --set-allowed-modes 4g That is also strange, as it is possible to set preference using custom AT command AT!SELRAT (or maybe it is only allowed modes?). Are

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-30 Thread Marius Kotsbak
Den 30. aug. 2012 14:05, skrev Aleksander Morgado: On 08/30/2012 01:30 PM, Marius Kotsbak wrote: For the Sierra MC7710, it also does not work: $ mmcli -m 0 --set-preferred-mode 4g --set-allowed-modes 4g That is also strange, as it is possible to set preference using custom AT command

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-30 Thread Aleksander Morgado
I did, but maybe hit a bad timing. Anyway, master version now builds and connection still works with my ZTE modem, but I got a crash with the Sierra modem (which is not Icera): ERROR:mm-port-probe.c:531:serial_probe_at_icera_result_processor: assertion failed: (g_variant_is_of_type

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-30 Thread Aleksander Morgado
And note: you are the first one testing the port of the Sierra plugin (so thanks thanks); but be aware that more nasty issues may happen, just report them if possible. Forgot to say; there are some additional fixes to get ported from MM06/MM05 to git master regarding the Sierra plugin

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-30 Thread Aleksander Morgado
On 08/30/2012 02:10 PM, Marius Kotsbak wrote: Den 30. aug. 2012 14:05, skrev Aleksander Morgado: On 08/30/2012 01:30 PM, Marius Kotsbak wrote: For the Sierra MC7710, it also does not work: $ mmcli -m 0 --set-preferred-mode 4g --set-allowed-modes 4g That is also strange, as it is possible to

Re: 'usb' -- 'usbmisc' transition (was: Re: [MM qmi-support] Set Operating Mode on shutdown and more..)

2012-08-30 Thread Dan Williams
On Tue, 2012-08-21 at 11:44 +0200, Aleksander Morgado wrote: Hey Bjørn, 3) I still wonder how to handle the usb = usbmisc transition. For now I've just been searching and replacing, but that is of course not supportable. And it isn't really a one-to-one replacement either. There

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-29 Thread Marius Kotsbak
On Aug 6, 2012 2:54 PM, Aleksander Morgado aleksan...@lanedo.com wrote: More or less, yes. You have the 'mmcli' utility in that branch, though, so you can skip writing raw dbus-send commands and play with the cli instead, like this (assuming only one modem connected, so index 0): Show

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-29 Thread Aleksander Morgado
More or less, yes. You have the 'mmcli' utility in that branch, though, so you can skip writing raw dbus-send commands and play with the cli instead, like this (assuming only one modem connected, so index 0): Show modem info and status: $ mmcli -m 0 Send PIN: $ sudo mmcli

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-29 Thread Marius Kotsbak
Den 29. aug. 2012 15:52, skrev Aleksander Morgado: I actually got the connection up now using the method above (mmcli + ifup wwan0) so it seems to be close to functional now. Regarding connectivity; QMI-powered MM is fully functional. Missing things include messaging and location, which are

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-29 Thread Aleksander Morgado
I actually got the connection up now using the method above (mmcli + ifup wwan0) so it seems to be close to functional now. Regarding connectivity; QMI-powered MM is fully functional. Missing things include messaging and location, which are scheduled for next weeks. Okay. What about

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-06 Thread Aleksander Morgado
Is this branch working now with master version of Network manager including the gnome applet? Not yet, no. The 'qui-support' branch is to be considered unstable, as I'm still hacking into it extensively. That branch is then based on git master, which is more stable, but not integrated yet

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-06 Thread Marius Kotsbak
On Aug 6, 2012 8:38 AM, Aleksander Morgado aleksan...@lanedo.com wrote: Is this branch working now with master version of Network manager including the gnome applet? Not yet, no. The 'qui-support' branch is to be considered unstable, as I'm still hacking into it extensively. That

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-06 Thread Aleksander Morgado
Is this branch working now with master version of Network manager including the gnome applet? Not yet, no. The 'qui-support' branch is to be considered unstable, as I'm still hacking into it extensively. That branch is then based on git master, which is more stable, but not integrated

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-06 Thread Marius Kotsbak
Den 06. aug. 2012 11:28, skrev Aleksander Morgado: Is this branch working now with master version of Network manager including the gnome applet? Not yet, no. The 'qui-support' branch is to be considered unstable, as I'm still hacking into it extensively. That branch is then based on git

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-06 Thread Aleksander Morgado
Is this branch working now with master version of Network manager including the gnome applet? Not yet, no. The 'qui-support' branch is to be considered unstable, as I'm still hacking into it extensively. That branch is then based on git master, which is more stable, but not integrated yet

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-06 Thread Marius Kotsbak
Den 06. aug. 2012 12:07, skrev Aleksander Morgado: More or less, yes. You have the 'mmcli' utility in that branch, though, so you can skip writing raw dbus-send commands and play with the cli instead, like this (assuming only one modem connected, so index 0): Show modem info and status: $

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-06 Thread Aleksander Morgado
More or less, yes. You have the 'mmcli' utility in that branch, though, so you can skip writing raw dbus-send commands and play with the cli instead, like this (assuming only one modem connected, so index 0): Show modem info and status: $ mmcli -m 0 Send PIN: $ sudo mmcli -i 0

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-08-03 Thread Marius Kotsbak
2012/7/31 Bjørn Mork bj...@mork.no Hello, I am playing a bit with the qmi-support branch, which seems to be getting close to operational. Nice work! I am having trouble now building that branch: mm-broadband-modem-qmi.c: In function ‘set_allowed_modes_context_step’:

[MM qmi-support] Set Operating Mode on shutdown and more..

2012-07-31 Thread Bjørn Mork
Hello, I am playing a bit with the qmi-support branch, which seems to be getting close to operational. Nice work! But I have a few issues I don't like, as usual :-) 1) On exit, ModemManager does this: ModemManager[5390]: debug [1343739104.306007] [mm-serial-port.c:969]

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-07-31 Thread Aleksander Morgado
Hey! You're truly trying *a lot* of untested code :-) I am playing a bit with the qmi-support branch, which seems to be getting close to operational. Nice work! But I have a few issues I don't like, as usual :-) Don't worry, I think I already owe you a couple of beers for all this

Re: [MM qmi-support] Set Operating Mode on shutdown and more..

2012-07-31 Thread Bjørn Mork
Aleksander Morgado aleksan...@lanedo.com writes: Hey! You're truly trying *a lot* of untested code :-) Oh, yeah. It's a lot easier to find bugs then :-) The new API allows users to create more than one bearer; when it's done we'll allow to do all that. I must say, I didn't really cover