[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] gpsd - AT command control on modems
From: |
Luca Weiss |
Subject: |
Re: [gpsd-dev] gpsd - AT command control on modems |
Date: |
Sat, 13 Jul 2019 18:55:35 +0200 |
On Samstag, 13. Juli 2019 18:48:35 CEST Paul Fertser wrote:
> On Sat, Jul 13, 2019 at 06:32:11PM +0200, Luca Weiss wrote:
> > > How about adding that to /etc/gpsd/device-hook (see man gpsd)?
> >
> > Does the deactivation hook get called when no application is using gpsd
> > anymore - which would fit the power requirements mentioned above? Thanks
> > for the pointer!
>
> IIRC, there was 30 seconds or so delay after the last client stopped
> using the device before the deactivation hook was called, but it's
> been a long time since I last looked into it.
The 30 seconds sound reasonable.
So basically: Make /etc/gpsd/device-hook a shell script which runs the
activate or deactivate AT command when $2 (the second argument) is ACTIVATE or
DEACTIVATE respectively.
I'll try that :)
Luca
signature.asc
Description: This is a digitally signed message part.
- [gpsd-dev] gpsd - AT command control on modems, Luca Weiss, 2019/07/04
- Re: [gpsd-dev] gpsd - AT command control on modems, Luca Weiss, 2019/07/13
- Re: [gpsd-dev] gpsd - AT command control on modems, Paul Fertser, 2019/07/13
- Re: [gpsd-dev] gpsd - AT command control on modems,
Luca Weiss <=
- Re: [gpsd-dev] gpsd - AT command control on modems, Gary E. Miller, 2019/07/13
- Re: [gpsd-dev] gpsd - AT command control on modems, Paul Fertser, 2019/07/14
- Re: [gpsd-dev] gpsd - AT command control on modems, Gary E. Miller, 2019/07/14
- Re: [gpsd-dev] gpsd - AT command control on modems, Paul Fertser, 2019/07/14
- Re: [gpsd-dev] gpsd - AT command control on modems, Gary E. Miller, 2019/07/14
- Re: [gpsd-dev] gpsd - AT command control on modems, Hal Murray, 2019/07/15
- Re: [gpsd-dev] gpsd - AT command control on modems, Gary E. Miller, 2019/07/15
- Re: [gpsd-dev] gpsd - AT command control on modems, Michael J. Tubby B.Sc. MIET, 2019/07/16
- Re: [gpsd-dev] gpsd - AT command control on modems, Gary E. Miller, 2019/07/16
- Re: [gpsd-dev] gpsd - AT command control on modems, Michael J. Tubby B.Sc. MIET, 2019/07/16