Package: gpsd
Version: 3.11-3
Severity: normal

Dear Maintainer,

Some GSM/UMTS Modems built into Notebooks like the Lenovo T420 have GPS 
abilities.

Previously it was possible to access the GPS via special MGM-GPSD Modules. But
those have been discontiunued a while ago and are not being supplied with
the Linux Kernel anymore, as the 'prefered' way to access the GPS not is via
Serial interface.

Those modems provide three, as far as I understand, identical serial interfaces.
So you can use one as GSM Modem and another one as GPS.

But you need to enable GPS function by issuing some AT commands:

http://www.thinkwiki.org/wiki/Ericsson_F3507g_Mobile_Broadband_Module#Using_the_card_as_a_GPS_receiver

AT*E2GPSCTL=1,1,1
AT*E2GPSNPD

does the trick on mine.

Unfortunately the modem resets itself when the serial device is closed. So you 
cannot use minicom or a
script to put the modem in GPS Mode and then start gpsd. Also when gpsd would 
close the connection
because no client is connected, this would reset the modem.

Idealy, native detection for the F5521gw GPS would be built in into gpsd (ATI 
returns F5521gw) so that
gpsd could initialize the GPS mode upon opening the serial device.

I have been trying to send the serial commands with gpsctl -x , but this does 
not seem to work either.

So my feature Request here is:

Please to add support for F5521gw GPS detection and initialization, or add a 
way to send an arbitary init string to
the serial gps device when opening the device.

-Benoit-

-- System Information:
Debian Release: 8.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gpsd depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.22
ii  libbluetooth3        5.23-2+b1
ii  libc6                2.19-18+deb8u9
ii  libdbus-1-3          1.8.22-0+deb8u1
ii  libgps21             3.11-3
ii  libusb-1.0-0         2:1.0.19-1
ii  lsb-base             4.1+Debian13+nmu1
ii  netbase              5.3
ii  systemd-sysv         215-17+deb8u7

Versions of packages gpsd recommends:
ii  python  2.7.9-1
ii  udev    215-17+deb8u7

Versions of packages gpsd suggests:
ii  dbus          1.8.22-0+deb8u1
ii  gpsd-clients  3.11-3

-- Configuration Files:
/etc/default/gpsd changed:
START_DAEMON="true"
GPSD_OPTIONS=""
DEVICES="/dev/gps0"
USBAUTO="false"
GPSD_SOCKET="/var/run/gpsd.sock"


-- debconf information:
* gpsd/daemon_options:
* gpsd/start_daemon: true
* gpsd/device: /dev/gps0
* gpsd/autodetection: false
* gpsd/socket: /var/run/gpsd.sock

Reply via email to