You are not logged in.

#1 2012-08-02 11:13:43

sparhawk
Member
Registered: 2012-08-02
Posts: 2

Lenovo ThinkPad GPS module

Hi.
I'm trying to access to my build-in GPS module in Lenovo E320 laptop (Ericsson F3507g). But I can't see the device in /dev/. Do I need any driver to be installed / loaded?

Thanks.

> ls /dev/tty*

/dev/tty    /dev/tty12  /dev/tty17  /dev/tty21  /dev/tty26  /dev/tty30  /dev/tty35  /dev/tty4   /dev/tty44  /dev/tty49  /dev/tty53  /dev/tty58  /dev/tty62  /dev/ttyS0
/dev/tty0   /dev/tty13  /dev/tty18  /dev/tty22  /dev/tty27  /dev/tty31  /dev/tty36  /dev/tty40  /dev/tty45  /dev/tty5   /dev/tty54  /dev/tty59  /dev/tty63  /dev/ttyS1
/dev/tty1   /dev/tty14  /dev/tty19  /dev/tty23  /dev/tty28  /dev/tty32  /dev/tty37  /dev/tty41  /dev/tty46  /dev/tty50  /dev/tty55  /dev/tty6   /dev/tty7   /dev/ttyS2
/dev/tty10  /dev/tty15  /dev/tty2   /dev/tty24  /dev/tty29  /dev/tty33  /dev/tty38  /dev/tty42  /dev/tty47  /dev/tty51  /dev/tty56  /dev/tty60  /dev/tty8   /dev/ttyS3
/dev/tty11  /dev/tty16  /dev/tty20  /dev/tty25  /dev/tty3   /dev/tty34  /dev/tty39  /dev/tty43  /dev/tty48  /dev/tty52  /dev/tty57  /dev/tty61  /dev/tty9


> sudo wvdialconf /etc/wvdial.conf

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial


> lsusb

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
Bus 002 Device 003: ID 04f2:b27c Chicony Electronics Co., Ltd

Offline

#2 2012-08-02 13:27:27

ploub
Member
Registered: 2007-05-16
Posts: 138

Re: Lenovo ThinkPad GPS module

I don't know which driver your gps uses but you will need a running gpsd first:

pacman -S gpsd

If you're using systemd run

systemctl start gpsd.service

In a terminal run

tail -f /var/log/messages.log

Turn on your gps if it isn't already on; it should tell you something like this:

Aug  2 15:22:06 localhost kernel: [16305.571776] usb 6-1: new full-speed USB device number 
6 using uhci_hcd
Aug  2 15:22:06 localhost kernel: [16305.724346] pl2303 6-1:1.0: pl2303 converter detected
Aug  2 15:22:06 localhost kernel: [16305.736432] usb 6-1: pl2303 converter now attached to 
ttyUSB0
Aug  2 15:22:06 localhost mtp-probe: checking bus 6, device 6: 
"/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1"
Aug  2 15:22:06 localhost mtp-probe: bus: 6, device: 6 was not an MTP device
Aug  2 15:22:06 localhost gpsd.hotplug: add /dev/ttyUSB0
Aug  2 15:22:06 localhost gpsdctl: reached a running gpsd

Of course you may have a different driver - mine is pl2303 and is loaded automatically.
Good luck!
Edit: You should be good to go. Check that you are receiving satellite data by running xgps which is included with gpsd.

Last edited by ploub (2012-08-02 13:37:41)

Offline

#3 2012-08-02 13:56:19

sparhawk
Member
Registered: 2012-08-02
Posts: 2

Re: Lenovo ThinkPad GPS module

I must connect to a modem first to use GPS module. I've followed these instructions http://www.tjansson.dk/?p=450 and inserted SIM card as described, but I don't have any /dev/ttyACM*. Do I need to load some driver to use this modem?

Offline

#4 2012-08-02 18:31:43

ploub
Member
Registered: 2007-05-16
Posts: 138

Re: Lenovo ThinkPad GPS module

Is there a kill switch for the modem? Any relevant boot time messages?

Offline

Board footer

Powered by FluxBB