Re: Leveraging GPS in MC7700

2017-02-07 Thread Adam Sherman
On 2017-02-06 11:06 AM, Bjørn Mork wrote: > I'm using a hackish hook like this to let gpsd autmatically do the > $GPS_START and $GPS_STOP as required. I.e. only start the GPS when there > are gpsd clients connected: Thanks for the script, I think it is working quite well. A. -- Adam Sherman __

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Mark Wahlert
Hi! On Tue, Feb 7, 2017 at 5:19 PM, Aleksander Morgado wrote: > > On Tue, Feb 7, 2017 at 11:10 PM, Russ Westrem > wrote: > > Out of it from everything I know. > > > > I'm thinking of going the easy route and doing a tail of the logfile > > Oh please no; don't do that. > > If you can run a script

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Aleksander Morgado
On Tue, Feb 7, 2017 at 11:10 PM, Russ Westrem wrote: > Out of it from everything I know. > > I'm thinking of going the easy route and doing a tail of the logfile Oh please no; don't do that. If you can run a script, you could source the modemmanager.proto file and then: # Load connected bearer

Re: qmi-proxy Hangs When GPS Port Used (Was Re: Leveraging GPS in MC7700)

2017-02-07 Thread Aleksander Morgado
On Tue, Feb 7, 2017 at 9:52 PM, Adam Sherman wrote: > Moving this to a separate thread. Maybe it should be moved to the > libqmi-devel list? Move it to libqmi-devel if you can reproduce it, yes. Thanks -- Aleksander https://aleksander.es ___ ModemMana

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
Out of it from everything I know. I'm thinking of going the easy route and doing a tail of the logfile On Feb 7, 2017 4:06 PM, "Aleksander Morgado" wrote: On Tue, Feb 7, 2017 at 10:49 PM, Russ Westrem wrote: > I suppose this could be somehow edited into the > lib/netfid/proto/modemmanager.sh?

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Aleksander Morgado
On Tue, Feb 7, 2017 at 10:49 PM, Russ Westrem wrote: > I suppose this could be somehow edited into the > lib/netfid/proto/modemmanager.sh? Not sure. How does the "ping" connectivity check work in the other protocol handlers? Is it something done by the handler itself or out of it? -- Aleksander

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
I suppose this could be somehow edited into the lib/netfid/proto/modemmanager.sh? On Feb 7, 2017 2:25 PM, "Aleksander Morgado" wrote: On Tue, Feb 7, 2017 at 9:03 PM, Russ Westrem wrote: > Ping scripts which I'm not very fond of. I dont want a ifup broadband going > for every time a low priorit

qmi-proxy Hangs When GPS Port Used (Was Re: Leveraging GPS in MC7700)

2017-02-07 Thread Adam Sherman
Moving this to a separate thread. Maybe it should be moved to the libqmi-devel list? On 6 February 2017 at 11:54, Adam Sherman wrote: > On 2017-02-06 11:28 AM, Aleksander Morgado wrote: > >> At some point after adding the rule change, qmi-proxy seems to peg one > >> of my cores basically forever

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Aleksander Morgado
On Tue, Feb 7, 2017 at 9:03 PM, Russ Westrem wrote: > Ping scripts which I'm not very fond of. I dont want a ifup broadband going > for every time a low priority packet gets dropped. Also it could take > almost 10 to 15 seconds before a connection is reestablished. If i can > somehow just get t

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
Ping scripts which I'm not very fond of. I dont want a ifup broadband going for every time a low priority packet gets dropped. Also it could take almost 10 to 15 seconds before a connection is reestablished. If i can somehow just get the ifup broadband only when the following is logged it could

Re: How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Aleksander Morgado
On Tue, Feb 7, 2017 at 5:02 PM, Russ Westrem wrote: > I asked this in someone else's e-mail but maybe i should have made my own so > here it is. > My goal is to issue an ifup broadband in LEDE whenever this line is logged > from modemmanager. > > daemon.info [1035]: Modem /org/freedesktop/ModemM

How to issue an "ifup broadband" when this is logged

2017-02-07 Thread Russ Westrem
I asked this in someone else's e-mail but maybe i should have made my own so here it is. My goal is to issue an ifup broadband in LEDE whenever this line is logged from modemmanager. daemon.info [1035]: Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connected -> registered) My pro

RE: Fetching signal quality during data connection?

2017-02-07 Thread colin.helliwell
I've not had any luck yet talking direct to the serial port instead of my mux driver. I think (judging from a scope) that the problem may be that the baud rate isn't in sync between MM and modem/port - does MM set the baud rate on start-up, or make any assumption about what the port/modem is usi

Re: Leveraging GPS in MC7700

2017-02-07 Thread Aleksander Morgado
On Mon, Feb 6, 2017 at 8:51 PM, Adam Sherman wrote: >> In this test, qmi-proxy did not deadlock. I rill try again right now. > > I think I can reproduce it by sending the AT command to start GPS to the > TTY. Log of that, attached. Looks like we may not be doing enough retries while probing the