Hi Martin,

On 7/10/19 4:51 PM, Martin Hundebøll wrote:
This adds support for configuring a gpio in udev to control the modem
power.

To enable gpio control, specify OFONO_QUECTEL_GPIO_CHIP and
OFONO_QUECTEL_GPIO_OFFSET in the udev environment, for example:

KERNEL=="ttymxc0", ENV{OFONO_DRIVER}="quectel", \
         ENV{OFONO_QUECTEL_GPIO_CHIP}="gpiochip2", \
         ENV{OFONO_QUECTEL_GPIO_OFFSET}="26"
---

Changes since v2:
  * fix memleak in quectel_probe_gpio()
  * expand comment to g_at_chat_set_wakeup_command()

  plugins/quectel.c | 84 +++++++++++++++++++++++++++++++++++++++++++----
  plugins/udevng.c  | 10 +++++-
  2 files changed, 87 insertions(+), 7 deletions(-)

The built-in ell sources were missing gpio.[ch], so I added a commit for that. Also fixed a few > 80 chars / line issues.

Applied, thanks.

Regards,
-Denis

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to