Skip to contentSkip to conversation

G1: Add initial HTC G1 modem support

PATCH In review Andres Salomon 2 participants 2 messages Sep 2, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 G1: Add initial HTC G1 modem support

This is without SMS support; that'll come later.

From 32b333d82642af33a5de5867042248f271fcf1a1 Mon Sep 17 00:00:00 2001
From: Andres Salomon <[email protected]>
Date: Tue, 25 Aug 2009 16:04:48 -0400
Subject: [PATCH 1/2] G1: Add initial HTC G1 modem support

G1 plugin is based on generic_at, with a bunch of stuff dropped and simplified. We use AT+CFUN=1 for powering on rather than having a configurable init string. We also manually set the default state during init (the G1 appears to start in mode V0 by default). The device (/dev/smd0) is hardcoded.

---
 Makefile.am  |    3 +
 plugins/g1.c |  182 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+), 0 deletions(-)
 create mode 100644 plugins/g1.c
Makefile.am +3 -0
index 71b402b..c5103d7 100644
@@ -99,6 +99,9 @@ builtin_sources += plugins/generic_at.c
 
 builtin_modules += mbm
 builtin_sources += plugins/mbm.c
+
+builtin_modules += g1
+builtin_sources += plugins/g1.c
 endif
 
 if MAINTAINER_MODE
plugins/g1.c new file +182 -0

182 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#1 lore raw

Hi Andreas,

Quoted 10 lines

G1 plugin is based on generic_at, with a bunch of stuff dropped and simplified. We use AT+CFUN=1 for powering on rather than having a configurable init string. We also manually set the default state during init (the G1 appears to start in mode V0 by default). The device (/dev/smd0) is hardcoded.

---
 Makefile.am  |    3 +
 plugins/g1.c |  182 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+), 0 deletions(-)
 create mode 100644 plugins/g1.c

patch has been applied. I did have a trailing whitespace mistake, but I think git was just being paranoid.

Regards

Marcel