Бьюсь неcколько дней и с установкой GPS-USB-Resiver BU-353
Попробовал сделать всё что раньше мне рекомендовали под Root:
_______________________________________________________________
Re: BU-353 with Linux OS
« Reply #3 on: October 02, 2011, 12:18:14 pm »
I'm resurrecting this thread because I came across this same issue recently and thought that I would post the solution.
The first thing to note is that gpsd will try and configure whatever gps receiver you plug in to optimize its performance. In the case of the BU-353, it will automatically flip the receiver from NMEA to SIRF III binary. So, assuming that you want to read NMEA from the serial port, and that you have gpsd running, then the following steps are necessary:
1. Stop the current gpsd process: killall gpsd
2. Plug in the BU-353
3. Figure out where the gps was loaded: tail dmesg | grep ttyUSB (this will spit out something like /dev/ttyUSB0...note the location).
4. Switch the receiver from binary to nmea (using the result from step 3): gpsctl -f -n /dev/ttyUSB0.
5. Configure the serial port (using the result from step 3): stty -F /dev/ttyUSB0 ispeed 4800 (8n1 should be configured by default).
Now, if you listen to the port (echo /dev/ttyUSB0), then you should see the NMEA ASCII messages.
If you want to use gpsd, but you want to keep the device configured to output NMEA, then you have to run gpsd in read only mode. For example, gpsd -b /dev/ttyUSB0.
Hope this helps someone,
-------------------------------------------------------------------------------------------------------------
Вот что получилось:
mikle@mikle-laptop:~$ sudo -i
[sudo] password for mikle:
root@mikle-laptop:~# ls /dev/ttyUSB*
/dev/ttyUSB0
root@mikle-laptop:~# lsusb
Bus 002 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 002: ID 8087:0024 Intel C2o"rp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 017: ID 13d3:3362 IMC Networks
Bus 001 Device 015: ID 090c:1740 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
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
root@mikle-laptop:~# dmesg | tail -n 5
[14891.004301] type=1400 audit(1410239931.410:49): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=17537 comm="apparmor_parser"
[14891.004312] type=1400 audit(1410239931.410:50): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17537 comm="apparmor_parser"
[14891.005360] type=1400 audit(1410239931.410:51): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=17537 comm="apparmor_parser"
[15285.378904] FAT-fs (sdb): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[17419.050930] usb 1-1.1: USB disconnect, device number 14
root@mikle-laptop:~# killall gpsd
root@mikle-laptop:~# dmesg | tail -n 5
[18516.010368] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18516.010374] usb 2-1.1: Product: USB-Serial Controller
[18516.010379] usb 2-1.1: Manufacturer: Prolific Technology Inc.
[18516.010958] pl2303 2-1.1:1.0: pl2303 converter detected
[18516.014394] usb 2-1.1: pl2303 converter now attached to ttyUSB0
root@mikle-laptop:~# tail dmesg | grep ttyUSB
tail: невозможно открыть «dmesg» для чтения: Нет такого файла или каталога
root@mikle-laptop:~# gpsctl -f -n /dev/ttyUSB0
gpsctl:SHOUT: vendor/product match with 091e:0003 not foundим образом - как я по
gpsctl:ERROR: packet recognition timed out.
root@mikle-laptop:~# stty -F /dev/ttyUSB0 ispeed 4800
stty: /dev/ttyUSB0: невозможно произвести все запрошенные действия
root@mikle-laptop:~# dmesg | grep ttyS
Таким образом - как я понял - устройство определяется, но почему-то не настраивается и не работает.
- В tangogps - не определяется датчик
- В 2GIS (ДубльГИС), запущенной под WINE - тоже не видит (ни каких COM-портов не создаётся, навигация не работает ), причём я под WINE установил WIN-дравер и тестовые прграмго мы для проверки девайса и его настройки (ничего не работает).
Что дальше делать не знаю.
подскажите - увжаемые Гуру.... кто сможет.
С уважением. М.Бурдасов.