This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seriell New GPS Device Alias Problem
#1
Hi,

i have a Openplotter v3 installed on a Pi 4. When I want to add a new gps device (NL-82002U) Signal K Error: No such file or directory, cannot open /dev/ttyOP_gps. 

   

What could be my fault?
Code:
pi@openplotter:/dev $ openplotter-serial
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'
Warning: Stopping signalk.service, but it can still be activated by:
  signalk.socket
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'


Thanks
Nils


Attached Files Image(s)
       
Reply
#2
(2023-05-21, 02:34 PM)Slin_Slin Wrote: Hi,

i have a Openplotter v3 installed on a Pi 4. When I want to add a new gps device (NL-82002U) Signal K Error: No such file or directory, cannot open /dev/ttyOP_gps. 



What could be my fault?
Code:
pi@openplotter:/dev $ openplotter-serial
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'
Warning: Stopping signalk.service, but it can still be activated by:
  signalk.socket
wrong external apps format: unexpected EOF while parsing (<string>, line 0)
No module named 'openplotterSdrVhf.serialPorts'
No module named 'openplotterAvnav'
No module named 'openplotterNotifications.serialPorts'
No module named 'openplotterMaiana'
No module named 'openplotterIob'
No module named 'openplotterGpio'
No module named 'openplotterI2c'
No module named 'openplotterPypilot'
No module named 'openplotterNetwork.serialPorts'
No module named 'openplotterDashboards.serialPorts'


Thanks
Nils

If you type this in a terminal window:

Code:
ls -ahl /dev/ | grep ttyOP

You should see a symbolic link:

lrwxrwxrwx  1 root root          7 May 19 19:39 ttyOP_gps -> ttyACM0

If you don't you may want to try creating the link

Code:
sudo ln -s /dev/ttyACM0 /dev/ttyOP_gps


See this similar thread. https://forum.openmarine.net/showthread.php?tid=4640

By the way the Baud rate of 11520 seems high, is that correct?
Reply
#3
(2023-05-21, 04:16 PM)baltika_no_9 Wrote: If you type this in a terminal window:

Code:
ls -ahl /dev/ | grep ttyOP

You should see a symbolic link:

lrwxrwxrwx  1 root root          7 May 19 19:39 ttyOP_gps -> ttyACM0

If you don't you may want to try creating the link

I didn´t have a symbolic link. But after 

Code:
sudo ln -s /dev/ttyACM0 /dev/ttyOP_gps

it´s working now. Thank you very much @ baltika_no_9   Smile

The GPS Antenna support the Baud rate of 11520, because it´s a new one with GALILEO (Navilock NL-82002U). Should I use a lower Baud rate?
Reply
#4
Great news!

If it works at 11520 then I'd leave it.

All the best
Reply
#5
I test it again with a new default image. There is the same error again. Is it a bug when you use M.2 SSD Boot?

Background:
Openplotter v3 installed on a Pi 4, Case: Argon ONE M.2 Case, System on the M.2 SSD.
Reply
#6
But does it work if you manually create the symbolic link?

If so it might be worth reporting this as a bug, it seems that OP is not correctly creating the symlink from the serial application. Yours is the second example, the other is linked in post #2 and the problem appears from your experience to be reproduceable.

I can't comment on the M.2 question but it seems unlikely. Does it work OK if you use an SD card?
Reply
#7
I've reproduced the problem like you and raised a thread in the Bug forum.

https://forum.openmarine.net/showthread.php?tid=4675
Reply
#8
oh thank you very much.
Reply
#9
(2023-06-04, 08:04 PM)Slin_Slin Wrote: oh thank you very much.

In the meantime you can get round the issue by selecting Remember Port rather than Remember Device.


Attached Files Image(s)
   
Reply
#10
Also see my update here https://forum.openmarine.net/showthread....8#pid26208 about what I think the problem is and how it can be avoided.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)