Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-01-2023, 13:28   #136
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: OpenCPN Version 5.7.1 Beta Test #2

Bram...
"Connected it to the Actisense NGT-1. Does not work no Can0 available."


NGT-1 is a serial gateway, and does not present a canBus native interface. You need to add OCPN connection for serial, selecting N2k protocol.


Thanks
Dave
Attached Thumbnails
Click image for larger version

Name:	NGT1.jpeg
Views:	35
Size:	16.3 KB
ID:	270230  
bdbcat is offline   Reply With Quote
Old 18-01-2023, 13:43   #137
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: OpenCPN Version 5.7.1 Beta Test #2

Hi Dave,

I will try this and report here.

Now I have the can0 running in the flatpak versions.

with: flatpak run --allow=canbus org.opencpn.OpenCPN. Now can0 appears.

And this works, although not perfect. But seems to be the right setup. Setup of Can0 is in udev as mentioned before.


Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 18-01-2023, 15:55   #138
Registered User

Join Date: Mar 2011
Posts: 724
Re: OpenCPN Version 5.7.1 Beta Test #2

Quote:
Originally Posted by verkerkbr View Post
Hi Dave,

I will try this and report here.

Now I have the can0 running in the flatpak versions.

with: flatpak run --allow=canbus org.opencpn.OpenCPN. Now can0 appears.

And this works, although not perfect. But seems to be the right setup. Setup of Can0 is in udev as mentioned before.


Regards,


Bram
Sometimes I wonder why I even bother posting replies....

Perhaps this link will refresh your memory regarding flatpak and canbus.
stevead is offline   Reply With Quote
Old 18-01-2023, 16:34   #139
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: OpenCPN Version 5.7.1 Beta Test #2

Steve...
Hmmm. I see the required " --allow=canbus" in the current master of org,openpn.OpenCPN.yaml.
Are you saying that this is not propagating through to the flatpak build?


Dave
bdbcat is offline   Reply With Quote
Old 18-01-2023, 19:35   #140
Registered User

Join Date: Mar 2011
Posts: 724
Re: OpenCPN Version 5.7.1 Beta Test #2

Dave,

Unfortunately I don't currently have a Linux box with flatpak installed so I can't confirm the can bus permissions.

I think the simple way to check would be
Code:
flatpak info --show-permissions org.opencpn.OpenCPN
If access to the canbus is not permitted then given the inclusion in org,openpn.OpenCPN.yaml then some further analysis is needed to understand why it's not working as expected.
stevead is offline   Reply With Quote
Old 19-01-2023, 02:31   #141
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: OpenCPN Version 5.7.1 Beta Test #2

NGT-1 working OK also in the flatpak version.


Thanks,


Bram
verkerkbr is offline   Reply With Quote
Old 19-01-2023, 02:54   #142
Registered User
 
ozolli's Avatar

Join Date: May 2021
Location: France
Boat: CM50 (launch 2025)
Posts: 122
Re: OpenCPN Version 5.7.1 Beta Test #2

Quote:
Originally Posted by stevead View Post
Dave,

Unfortunately I don't currently have a Linux box with flatpak installed so I can't confirm the can bus permissions.

I think the simple way to check would be
Code:
flatpak info --show-permissions org.opencpn.OpenCPN
If access to the canbus is not permitted then given the inclusion in org,openpn.OpenCPN.yaml then some further analysis is needed to understand why it's not working as expected.
Code:
ozolli@ozolli:~$ flatpak info --show-permissions org.opencpn.OpenCPN
[Context]
shared=network;
sockets=x11;pulseaudio;
devices=all;
filesystems=home;

ozolli@ozolli:~$ flatpak info org.opencpn.OpenCPN

OpenCPN - A concise Chartplotter and Navigation software

          ID: org.opencpn.OpenCPN
         Ref: app/org.opencpn.OpenCPN/x86_64/beta
        Arch: x86_64
      Branch: beta
     Version: 5.7.1-1+5d6ab03
     License: GPL-2.0+
      Origin: flathub-beta
  Collection: org.flathub.Beta
Installation: user
   Installed: 126,3*MB
     Runtime: org.freedesktop.Platform/x86_64/22.08
         Sdk: org.freedesktop.Sdk/x86_64/22.08

      Commit: 06b909e3190f845f2265058237256352c80ff9a52165c9875e99ed1b77f2aec6
      Parent: 9c038ede658ce1f185595d5d012cbc2143a892fff41ea0d65c94c5daa65f4ba8
     Subject: Restore missing patch file for wxGTK3 (bf627a66)
        Date: 2022-12-31 04:09:45 +0000
ozolli is offline   Reply With Quote
Old 19-01-2023, 05:04   #143
Registered User

Join Date: Mar 2011
Posts: 724
Re: OpenCPN Version 5.7.1 Beta Test #2

Hmm...

Given org.opencpn.OpenCPN.yaml contains the --allow=canbus entry, I have no idea why it is being ignored in the flatpak build process.

I wonder if this is similar or related to the following bug

The workaround until the finish-args issue is resolved is either:

Always start OpenCPN with the following flatpak command
Code:
flatpak run --allow=canbus org.opencpn.OpenCPN
or to add the sandbox permission once with the following command
Code:
flatpak override --user --allow=canbus org.opencpn.OpenCPN
stevead is offline   Reply With Quote
Old 19-01-2023, 07:30   #144
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: OpenCPN Version 5.7.1 Beta Test #2

Steve:


I wonder if this is similar or related to the following bug


Looks likely to me. Same syntax, anyway.
Dave
bdbcat is offline   Reply With Quote
Old 19-01-2023, 12:29   #145
Registered User

Join Date: Feb 2011
Posts: 1,116
Re: OpenCPN Version 5.7.1 Beta Test #2

When do you expect to make the next update? Before re-installing I would appreciate to know. Many thanks for it.
P_Dub
P_Dub is offline   Reply With Quote
Old 19-01-2023, 18:53   #146
Registered User

Join Date: Jul 2020
Posts: 41
Re: OpenCPN Version 5.7.1 Beta Test #2

I just downloaded Beta 2 and there are some improvements in the fonts, but I still can't use the chart bar to select a chart.

In Beta 1 the bars were very small and all fonts displayed were so small it was almost impossible to read them

In Beta 2 (now that I used the DMG to install as .PKG install crashes on startup) I see that the fonts on the vector charts are now much better in size. Same with the Measure tool. The new chart bar is about 2x the height of the old chart bar, but the "Green Arrow" still appears when I hover of the chart bar and I can't select any charts.

Please let me know if I can send you any additional info

Quote:
Originally Posted by zigzag930 View Post
Attached is the requested screen shot
zigzag930 is offline   Reply With Quote
Old 19-01-2023, 19:02   #147
Registered User

Join Date: Jul 2020
Posts: 41
Re: OpenCPN Version 5.7.1 Beta Test #2

FYI, just DL Advance Beta 3 and same issue with chart selector bar. Just can't select any charts using the chart bar. Chart moves instead.
zigzag930 is offline   Reply With Quote
Old 19-01-2023, 20:54   #148
Registered User

Join Date: Aug 2015
Boat: Pro Kennex 380
Posts: 7
Re: OpenCPN Version 5.7.1 Beta Test #2

Slow tides / currents and slow shutdown in 64 Bit OpenCPN resolved when I re-imaged with the OpenPlotter download containing version 5.6.2 of OpenCPN. Possibly a recent software update fixed it, or maybe card corruption. Or remotely user issue as I'm a Raspberry newbee. ;-)

Thinking I'll leave the Beta alone while I try and keep my post in the appropriate forum.

Good luck with the beta!
Rae Simpson is offline   Reply With Quote
Old 19-01-2023, 21:04   #149
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: OpenCPN Version 5.7.1 Beta Test #2

ZigZag...
Another screen-shot, please?
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 20-01-2023, 04:18   #150
Registered User

Join Date: Jul 2020
Posts: 41
Re: OpenCPN Version 5.7.1 Beta Test #2

Thank you for looking at this issue. Attached is the new screen shot.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2023-01-20 at 7.15.03 AM.jpg
Views:	40
Size:	450.5 KB
ID:	270296  
zigzag930 is offline   Reply With Quote
Reply

Tags
enc, opencpn


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Beta Version 5.7.1 Beta Test #1 - Plugins rgleason OpenCPN 115 08-03-2023 00:01
OpenCPN Version 5.1.511 Beta Test bdbcat OpenCPN 103 23-05-2020 04:02
OpenCPN Version 5.1.428 Beta Test bdbcat OpenCPN 289 19-05-2020 04:46
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 02:53

Advertise Here


All times are GMT -7. The time now is 19:35.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.