[ltp] X301 Ericsson Modul f3507g AT Command reference

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Sun, 26 Oct 2008 10:30:49 -0700


---- Nickolai Zeldovich <nickolai@CS.Stanford.EDU> wrote:=20
> Apologies for the earlier base64-encoded message; I'm not sure why gmail=
=20
> decided to encode it that way.
>=20
> > Anyone out there has working GPS under Linux with an Ericsson f3507g?
>=20
> Yes.  The f3507g has a number of serial interfaces, which come up as
> /dev/ttyACM0 through /dev/ttyACM2 on my machine (Thinkpad W500).  I
> believe the last one (USB interface# 9, /dev/ttyACM2) is used to emit
> GPS NMEA sentences.  You can get a list of special commands the card
> supports by sending it "AT*".  To activate NMEA on /dev/ttyACM2, send
> it the following commands:
>=20
>     AT+CFUN=3D1
>     AT*E2GPSCTL=3D1,10,1
>     AT*E2GPSNPD
>=20
> After the last command, the port stops responding to any subsequent
> commands, and starts emitting NMEA sentences, at which point you can
> run gpsd on /dev/ttyACM2.  (You can still reconfigure the GPS
> parameters via /dev/ttyACM0, as far as I can tell.)  In my case, I run
> the following expect script before running gpsd:

Have you actually been able to run gpsd on !!! any !!! recent distro?
If so which one, and please reveal any tricks.

Thanks,
   Bert


>=20
>     spawn cu -l /dev/ttyACM2
>     expect "Connected."
>=20
>     sleep 1
>     send "AT+CFUN=3D1\r"
>     expect "+PACSP0=C3=A2=C2=80=C2=B3
>=20
>     sleep 1
>     send "AT*E2GPSCTL=3D1,10,1\r"
>     expect "OK"
>=20
>     sleep 1
>     send "AT*E2GPSNPD\r"
>     expect "GPGGA"
>=20
> Nickolai.