Unable to Start gpsd on i.MX8: GPSD Binding Issues and CGPS Connectivity Errors

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to Start gpsd on i.MX8: GPSD Binding Issues and CGPS Connectivity Errors

ソリューションへジャンプ
595件の閲覧回数
BrintoJames
Contributor II

I am using an i.MX8 board with a GPS module connected to /dev/ttyLP3. When I try to start gpsd with the command:

root@kontron-samx8x:~# sudo gpsd /dev/ttyLP3 -n -N -D 3
gpsd:INFO: launching (Version 3.19)
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!
gpsd:INFO: command sockets creation failed, netlib errors -1, -1

However, running cgps -s command gives me a null table

Could any one please help me to solve this?

Regards

Brinto

タグ(3)
1 解決策
547件の閲覧回数
BrintoJames
Contributor II

Thank you for your reply

I have added a recipe file for gpsd now I can successfully import gpsd.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
559件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Please run the following command to check if gpsd is already running:

ps aux | grep gpsd

 

If you see a gpsd process running, note its PID and stop it using:

kill <PID>


or 

systemctl stop gpsd


Best Regards,
Zhiming

548件の閲覧回数
BrintoJames
Contributor II

Thank you for your reply

I have added a recipe file for gpsd now I can successfully import gpsd.

0 件の賞賛
返信
574件の閲覧回数
BrintoJames
Contributor II

My requirement is that I wanted to use gpsd in my python script like

"import gpsd"

0 件の賞賛
返信