Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

GPS not Connecting

Message
Author
User avatar
GuiGuy
Posts: 803
Joined: Sun Dec 16, 2007 6:29 pm

Re: GPS not Connecting

#11 Post by GuiGuy »

towwire wrote:Funny, I installed opencpn on my desktop machine and just plug-in the usb, It put a symbol on the back ground about where I live, Lat & long seem to be correct, Did not install gpsd.
Is it the same usb as the one on the laptop?

User avatar
towwire
Posts: 645
Joined: Fri Oct 15, 2010 12:15 pm

Re: GPS not Connecting

#12 Post by towwire »

I just unplugged from the laptop and plug into usb port on my desktop,

Code: Select all

$ inxi -F
System:    Host: mx16 Kernel: 4.7.0-0.bpo.1-amd64 x86_64 (64 bit) Desktop: Xfce 4.12.2
           Distro: MX-16_x64 Metamorphosis 12 December 2016
Machine:   Device: desktop System: Gigabyte product: N/A
           Mobo: Gigabyte model: F2A88X-UP4 v: x.x
           UEFI: American Megatrends v: F8a date: 12/14/2015
CPU:       Dual core AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G (-HT-MCP-) cache: 4096 KB 
           clock speeds: max: 3700 MHz 1: 2400 MHz 2: 1700 MHz 3: 3700 MHz 4: 1700 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Kaveri [Radeon R7 Graphics]
           Display Server: X.Org 1.16.4 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1200@59.95hz
           GLX Renderer: Gallium 0.4 on AMD KAVERI (DRM 2.45.0 / 4.7.0-0.bpo.1-amd64, LLVM 3.8.1)
           GLX Version: 3.0 Mesa 12.0.3
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Kaveri HDMI/DP Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.7.0-0.bpo.1-amd64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 74:d4:35:57:f2:98
Drives:    HDD Total Size: 2000.4GB (9.1% used)
           ID-1: /dev/sda model: ST1000DM003 size: 1000.2GB
           ID-2: /dev/sdb model: ST1000DM003 size: 1000.2GB
Partition: ID-1: / size: 16G used: 7.8G (53%) fs: ext4 dev: /dev/sda2
           ID-2: /home size: 39G used: 31G (86%) fs: ext4 dev: /dev/sda3
Sensors:   System Temperatures: cpu: 23.8C mobo: N/A gpu: 23.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 218 Uptime: 2 days Memory: 1433.0/31115.6MB Client: Shell (bash) inxi: 2.3.8 

User avatar
GuiGuy
Posts: 803
Joined: Sun Dec 16, 2007 6:29 pm

Re: GPS not Connecting

#13 Post by GuiGuy »

I wonder if anybody can explain this inconsistent behaviour: it's a complete mystery to me :confused: :frown:

BTW I have this working well on my eeePC901 netbook using MX15 with the U-blox7 dongle :cool:
Screenshot-15.png

lapata
Posts: 8
Joined: Fri Mar 15, 2019 4:19 pm

Re: GPS not Connecting

#14 Post by lapata »

Hello everyone,

I got a similar issue. I just installed gpsd and gpsd-clients on MX18.1, but after reboot I 'see' my PL2303-base GPS dongle partially

lsusb > Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
xgps > (window pops up, no data shows up)
gpspipe -r > (nothing happening too)
gpsmon /dev/ttyUSB0 > /dev/ttyUSB0 4800 8N1 NMEA0183 (everything looks OK, fix OK, NMEA sentences scrolling down, I knew my GPS is alive!)

same thing when using LiveCD

after reading gpsd troubleshooting section I end up with this
"If gpsmon(1) reports no data at all, you may have the device path wrong; check that using dmesg(8) or by whatever means you have available. If you have the right device, you may have some low-level system problem with serial or USB that you'll need to fix before gpsd will operate. Check your cabling, power, and kernel configuration."
Any help how to go on?

Thank you

PS Be gentle;I'm newbie with Linux :turtle:

lapata
Posts: 8
Joined: Fri Mar 15, 2019 4:19 pm

Re: GPS not Connecting

#15 Post by lapata »

After a bit search I confirmed that gpsd is running as

Code: Select all

gpsd -F /var/run/gpsd.sock -P /run/gpsd/gpsd.sock
this is the reason probably why I also get this

Code: Select all

gpsd -N /dev/ttyUSB0
gpsd:ERROR: can't bind to IPv4 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:ERROR: can't bind to IPv6 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
still confused how to work around...

Post Reply

Return to “Software / Configuration”