You are not logged in.

#1 2009-09-08 21:09:25

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Lenovo X200 with Ericsson F3507g and GPS

heya,

I'm trying to get the GPS on my X200 (courtesy of the Ericsson F3507g module) setup, as per here:
http://www.tjansson.dk/?p=450

However, I seem to be having some issues, namely that the /dev/ttyACMx devices don't exist for me.

I checked the notes here as well:

http://www.thinkwiki.org/wiki/Ericsson_ … rd_as_GPSr

and I don't have any /dev/ttyUSBx devices either.

However, I checked dmesg, and I have:

usb 3-4: new high speed USB device using ehci_hcd and address 2
usb 3-4: configuration #1 chosen from 2 choices
cdc_acm 3-4:1.1: ttyACM0: USB ACM device
cdc_acm 3-4:1.3: ttyACM1: USB ACM device
cdc_acm 3-4:1.9: ttyACM2: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapter
s
cdc_wdm 3-4:1.5: cdc-wdm-176: USB WDM device
cdc_wdm 3-4:1.6: cdc-wdm-175: USB WDM device
usbcore: registered new interface driver cdc_wdm
usb0: register 'cdc_ether' at usb-0000:00:1d.7-4, CDC Ethernet Device, 02:80:37:
ec:02:00
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver zaurus
usb 4-1: new full speed USB device using uhci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice

I can't seem to locate these devices anyway though (used find - does that find device files? well, I also did a manual poke in /dev.)

Does anybody know if there's anything special I'd need to do to get this working with Arch Linux?

Thanks,
Victor

Last edited by victorhooi (2009-09-08 21:15:09)

Offline

#2 2009-11-06 22:11:54

mauritzius
Member
Registered: 2009-08-07
Posts: 26

Re: Lenovo X200 with Ericsson F3507g and GPS

You could try to use mbm-gpsd from http://mbm.sourceforge.net. It is easy to set up and works fine for me (except for the init-script, which has IMHO some errors that I reported to the Mailing List today).

mbm-gpsd-git and mbm-gps-control-git can now be found in AUR (including the above-mentioned patches)

Last edited by mauritzius (2009-11-06 22:27:17)

Offline

#3 2009-11-10 04:44:46

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Lenovo X200 with Ericsson F3507g and GPS

heya,

I've installed the mbm-gpsd-git and mbm-gps-control-git packages, thanks for that smile.

Now, I just tried the wvdial on/gps scripts from this page again, and they seem to work as well:

http://www.tjansson.dk/?p=450

I can start mbmd, and it creates the /dev/gps0 device.

I can also start gpsd, pointing it to /dev/ttyACM1, and that seems to work.

I'm still a bit confused on the relation between mbmd and gpsd, and /dev/gps0 and /dev/ttyACM1?

Also, on the console where I ran "wvdial gps", I do get lines like this:

$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0130*47
$GPRMC,000746.90,V,,,,,,,060180,,,N*7E
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0130*47
$GPRMC,000751.90,V,,,,,,,060180,,,N*78
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0130*47
$GPRMC,000756.91,V,,,,,,,060180,,,N*7E
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0130*47
$GPRMC,000801.90,V,,,,,,,060180,,,N*72
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0130*47
$GPRMC,000806.90,V,,,,,,,060180,,,N*75
$GPGSV,1,1,01,13,,,35,,,,,,,,,,,,*7C
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0130*47
$GPRMC,000811.90,V,,,,,,,060180,,,N*73
$GPGSV,1,1,02,13,,,25,16,,,40,,,,,,,,*7D
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0130*47
$GPRMC,000816.90,V,,,,,,,060180,,,N*74
$GPGSV,1,1,02,13,,,16,16,,,35,,,,,,,,*7F
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34

However, when I startup xgps, it doesn't show anything in the satellite list, or anything under GPS data.

When I startup mbm-gps-control, it likewise doesn't show anything at all under the position tab.

I also installed tangogps from AUR, and that seems to connect to gpsd fine, but doesn't show anything for position information. Any advice?

Cheers,
Victor

Offline

#4 2009-11-10 04:47:43

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Re: Lenovo X200 with Ericsson F3507g and GPS

heya,

Also, I should add the wvdial gps output seems to stop after a while.

If I try to run it again, I get:

[victorhooi@zenator-arch Documents]$ sudo wvdial gps
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT*E2GPSCTL=1,5,1
AT*E2GPSCTL=1,5,1
--> Sending: ATQ0
ATQ0
--> Re-Sending: AT*E2GPSCTL=1,5,1
AT*E2GPSCTL=1,5,1
--> Modem not responding

Cheers,
Victor

Offline

#5 2010-01-09 20:28:11

wazow
Member
From: Europe
Registered: 2008-11-11
Posts: 39

Re: Lenovo X200 with Ericsson F3507g and GPS

Did you manage to get it to run? I have the same laptop, and whatever I do, tangogps sees no satellites.  Are there any kernel modules I need to load?

activating the modem and starting the gps seems to work.  Leading me to output like this:

$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,-0.732049,M,0.0000199,0000*5A
$GPRMC,000354.41,V,,,,,,,060180,,,N*75
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,-0.732049,M,0.0000199,0000*5A
$GPRMC,000359.43,V,,,,,,,060180,,,N*7A
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,-0.732049,M,0.0000199,0000*5A
$GPRMC,000404.41,V,,,,,,,060180,,,N*77
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,-0.732049,M,0.0000199,0000*5A
$GPRMC,000409.41,V,,,,,,,060180,,,N*7A
$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34
$GPGGA,,,,,,0,00,0.5,,M,-0.732049,M,0.0000199,0000*5A

I have no clue if this proves, that the GPS works.
mbm-gpsd and gpsd seem to work (although the latter complains that 'garmin_gps Linux USB module not active' - is that a red herring?).  Still tangogps reports no satellites and no position (even though it connects to gpsd succesfully).

I have tried manually running gpsd with /dev/gps{0,1,2} <- none of these seems to wrok.  I am helpless.

Offline

Board footer

Powered by FluxBB