You are not logged in.
Pages: 1
I am using arch on Dell latitude e6230. Recently I added mini PCI-e card DW5560 with support for GPS and GSM/3G.
3G works fine with modemmanager/networkmanager. For gps I installed wvdial and configures as follows
___________________________________
[Dialer Defaults]
Baud = 3600000
Dial Attempts = 1
Dial Command = ATDT
ISDN = 0
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","bsnlnet"
#Init2 = ATQ0 V1 E1 S0=0 &C2 &D2
#Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
#Init4 = AT^SYSCFG=14,2,3FFFFFFF,2,4
#Init3 = AT+CGDCONT=1,"IP","bsnlnet"
#Init4 = AT+CPIN=1234
Modem = /dev/ttyACM0
Modem Type = Analog Modem
New PPPD = yes
Phone = *99#
Stupid Mode = 1
Username = " "
Password = " "
[Dialer gps]
Modem = /dev/ttyACM2
Init1 = AT*E2GPSCTL=1,2,1
Init2 = AT*E2GPSNPD
[Dialer on]
Modem = /dev/ttyACM0
Init1 = AT+CFUN=1
[Dialer off]
Modem = /dev/ttyACM0
Init1 = AT+CFUN=4
[Dialer connect]
Modem = /dev/ttyACM1
__________________________
with $ sudo wvdial gps
I get random data suggestive of GPS working like below
______________________________________________
[sharad@sharad ~]$ sudo wvdial gps
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: AT*E2GPSCTL=1,2,1
AT*E2GPSCTL=1,2,1
OK
--> Sending: AT*E2GPSNPD
AT*E2GPSNPD
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
$GPGSV,1,1,01,27,,,38*76
1015,,,N*46
$GPGLL,,,,,104334.364,V,N*7A
,,N*46
$GPGGA,104334.364,,,,,0,0,,,M,,M,,*48
_____________________________________________
I have installed gpsd, on using it with
[sharad@sharad ~]$ sudo gpsd /dev/ttyACM2 -F /var/run/gpsd.sock
[sharad@sharad ~]$ xgps
xgps opens but it looks like it is not receiving any GPS data, no fix, no satellites are shown. Somehow gpsd is not able to read data from /dev/ttyACM2.
Last edited by Docbroke (2015-10-24 03:36:54)
Arch is home!
https://github.com/Docbroke
Offline
Did you add your user to the "uucp" group?
1000
Offline
Thanks for reply.
Did it after reading your message. Doesn't seem to make any difference.
after reading guide for gpsd troubleshooting on catb.org, I run
$ gpsmon /dev/ttyACM2
/dev/ttyACM2 4800 8N1 Unknown device>
Arch is home!
https://github.com/Docbroke
Offline
Finally got gpsd working.
Issue was with starting gpsd as service, after I stopped gpsd service, it started to work. So now using following simple script.
_______________________________________
#!/bin/bash
# start gpsd wvlan and xgps
sudo killall gpsd
sudo gpsd /dev/ttyACM2 -F /var/run/gpsd.sock
sudo wvdial gps
xgps
________________________________________
Once this script gets gps active via wvdial, I press control+c to stop wvdial and start xgps, so it works. Now looking for some good navigation software.
Arch is home!
https://github.com/Docbroke
Offline
Pages: 1