LINUX.ORG.RU

Как проверить работает ли GPS в 3G модеме Sierra Wireless MC8305?

 ,


0

1

Есть ноутбук Fujitsu LIFEBOOK NH532 FHD AG VFY:NH532MPZI2RU,а в нем 3G модем Sierra Wireless MC8305. В модеме есть GPS. Так вот, как его запустить? Какие программы для навигации с использованием OpenStreetMap есть под Ubuntu 14.04?

alexey@alexey-laptop:~$ lsusb

 

Bus 002 Device 004: ID 1199:9011 Sierra Wireless, Inc. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0489:e052 Foxconn / Hon Hai 
Bus 001 Device 004: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 001 Device 003: ID 04f2:b2fc Chicony Electronics Co., Ltd 
Bus 001 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 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

alexey@alexey-laptop:~$ lsusb -t


alexey@alexey-laptop:~$ lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 6: Dev 4, If 0, Class=Vendor Specific Class, Driver=qmi_wwan, 480M
        |__ Port 6: Dev 4, If 1, Class=Vendor Specific Class, Driver=qcserial, 480M
        |__ Port 6: Dev 4, If 2, Class=Vendor Specific Class, Driver=qcserial, 480M
        |__ Port 6: Dev 4, If 3, Class=Vendor Specific Class, Driver=qcserial, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 1: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 3: Dev 4, If 0, Class=Mass Storage, Driver=ums-realtek, 480M
        |__ Port 5: Dev 5, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
        |__ Port 5: Dev 5, If 1, Class=Vendor Specific Class, Driver=btusb, 12M
        |__ Port 5: Dev 5, If 2, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 5: Dev 5, If 3, Class=Application Specific Interface, Driver=, 12M


alexey@alexey-laptop:~$ lspci


00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M LE] (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)

alexey@alexey-laptop:~$ dmesg

http://pastebin.com/vS3jW2Li

alexey@alexey-laptop:~$ sudo lshw

http://pastebin.com/MA8ADpZq

Вот 3 интерфейса модема

alexey@alexey-laptop:~$ ls -la /dev | grep USB


crw-rw----   1 root dialout   188,   0 марта 22 13:56 ttyUSB0
crw-rw----   1 root dialout   188,   1 марта 22 13:56 ttyUSB1
crw-rw----   1 root dialout   188,   2 марта 22 13:56 ttyUSB2

А вот еще какой-то от модема:

alexey@alexey-laptop:~$ ls -la /dev | grep cdc


crw-------   1 root root      180,   0 марта 22 13:56 cdc-wdm0

alexey@alexey-laptop:~$ lsb_release -a


No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu Trusty Tahr (development branch)
Release:	14.04
Codename:	trusty

alexey@alexey-laptop:~$ uname -a


Linux alexey-laptop 3.13.0-19-generic #39-Ubuntu SMP Fri Mar 21 14:18:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

★★★★★

Ответ на: комментарий от AEP

Приложение для GNOME тут: https://wiki.gnome.org/action/show/Apps/Maps?action=show&redirect=Maps (требует geoclue и gpsd)

Что-то не запускается программка

alexey@alexey-laptop:~$ gnome-maps
alexey@alexey-laptop:~$

Просто окно не показывается и все.

alexey@alexey-laptop:~$ killall gnome-maps
gnome-maps: процесс не найден

gpsd запустил

alexey@alexey-laptop:~$ ps ax | grep gpsd
11655 ? S<s 0:00 gpsd /dev/ttyUSB2
13863 pts/14 S+ 0:00 grep gpsd
alexey@alexey-laptop:~$

Root-msk ★★★★★
() автор топика
Ответ на: комментарий от AEP

Нашел как активировать модем

alexey@alexey-laptop:~$ echo «\$GPS_START» > /dev/ttyUSB2
alexey@alexey-laptop:~$ gpsd /dev/ttyUSB2

http://ipic.su/img/img7/fs/Snimokekranaot2014-04-03155218.1396551209.png

Вроде работает. gnome-maps запустился, но не верно показывает

http://ipic.su/img/img7/fs/Snimokekranaot2014-04-03155249.1396551367.png

Root-msk ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.