Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-03-2014, 17:27   #91
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,881
Re: OpenCPN Beta Version 3.3.1419 Released

Eirik...

Thanks for the gdb dump.

We seem to be failing when tying to execute the following command:

Code:
stat -c %G /dev/ttyS0
We are doing this to determine what group the the serial ports belong to.

What happens when you run that command from the shell alone?

I get this:

Code:
dsr@dsr-OptiPlex-GX620:~$ stat -c %G /dev/ttyS0
dialout
dsr@dsr-OptiPlex-GX620:~$
Thanks
Dave
__________________

__________________
bdbcat is online now   Reply With Quote
Old 10-03-2014, 17:48   #92
Registered User

Join Date: Sep 2012
Location: Luxembourg
Boat: Bavaria 36
Posts: 24
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by bdbcat View Post
Eirik...

Thanks for the gdb dump.

We seem to be failing when tying to execute the following command:

Code:
stat -c %G /dev/ttyS0
We are doing this to determine what group the the serial ports belong to.

What happens when you run that command from the shell alone?

I get this:

Code:
dsr@dsr-OptiPlex-GX620:~$ stat -c %G /dev/ttyS0
dialout
dsr@dsr-OptiPlex-GX620:~$
Thanks
Dave
Hi Dave,
When running

utilite@utilite-desktop:~$ stat -c %G /dev/ttyS0

I get

stat: cannot stat `/dev/ttyS0': No such file or directory

So, on the Utilite, the serial ports do not seem to be associated with ttyS0 ?

When running dmesg | grep tty

I get the following output

Kernel command line: console=ttymxc3,115200 root=/dev/mmcblk0p2 rw rootwait cm_fx6_v4l_msize=128M vmalloc=256M
bootconsole [ttymxc3] enabled
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
console [ttymxc3] enabled, bootconsole disabled
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
imx-uart.4: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX

Does this mean that the Utilite has a specific setup for serial ports? (I am now on the border of my competencies in Linux).

If I issue the command groups
I get the following memberships:

utilite adm dialout cdrom sudo audio dip video plugdev

So dialout is there (as mentioned in a previous post).

Eirik
__________________

__________________
Eirik is offline   Reply With Quote
Old 10-03-2014, 17:55   #93
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,881
Re: OpenCPN Beta Version 3.3.1419 Released

Eirik....

OK, our simple-minded look for serial ports on linux is clearly deficient.
We can do this a little smarter, I think.

Meanwhile, since you are building from source, and you know you belong to "dialout", then just comment away the call to CheckSerialAccess in options.cpp

Code:
void options::OnTypeSerialSelected( wxCommandEvent& event )
{
#ifdef __WXGTK__
    if( ! g_bserial_access_checked ){
//        if( !CheckSerialAccess() ){
//        }
        g_bserial_access_checked = true;
    }
#endif
That will skip the offending code so that you may carry on...

Dave
__________________
bdbcat is online now   Reply With Quote
Old 10-03-2014, 18:04   #94
Registered User

Join Date: Sep 2012
Location: Luxembourg
Boat: Bavaria 36
Posts: 24
Re: OpenCPN Beta Version 3.3.1419 Released

Thanks, Dave,

I will give your suggestion a shot.

Just to be sure, I should comment away all the lines that you have referred to (and not just the line with CheckSerialAccess?)

Eirik
__________________
Eirik is offline   Reply With Quote
Old 10-03-2014, 18:06   #95
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,881
Re: OpenCPN Beta Version 3.3.1419 Released

Eirik...

Just the two "//" lines should do it.

Good luck
Dave
__________________
bdbcat is online now   Reply With Quote
Old 13-03-2014, 08:32   #96
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 660
Re: OpenCPN Beta Version 3.3.1419 Released

This may have been around for a while:
1. Create a mark at 35 58.1899 N 075 58.8369 W named "X"
2. Navigate to the skewed chart 11553_1.kap Albermarle Sound to Alligator River North Carolina, manually.
3. Route Manager>Waypoints>X>Center View
4. The chart rotates from its North up position and if you try to drag the chart to a new position strange things happen. The mark (and other fixed objects like tide bars) seems to move in the opposite direction of the pointer.
5. If you select another chart from the chartbar it will be shown properly and if you return to 11553_1 it will be displayed properly.
6. I don't get this problem with 12205_6 which is only skewed slightly, 11553_1 is skewed about 90 deg.
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 13-03-2014, 09:01   #97
Registered User

Join Date: Jul 2008
Location: Palm Beach Gardens, FL
Boat: Spindrift 43
Posts: 28
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by wdkester View Post
This may have been around for a while:
1. Create a mark at 35 58.1899 N 075 58.8369 W named "X"
2. Navigate to the skewed chart 11553_1.kap Albermarle Sound to Alligator River North Carolina, manually.
3. Route Manager>Waypoints>X>Center View
4. The chart rotates from its North up position and if you try to drag the chart to a new position strange things happen. The mark (and other fixed objects like tide bars) seems to move in the opposite direction of the pointer.
5. If you select another chart from the chartbar it will be shown properly and if you return to 11553_1 it will be displayed properly.
6. I don't get this problem with 12205_6 which is only skewed slightly, 11553_1 is skewed about 90 deg.

I can confirm that this happens. Sadly since the fix is so easy I have failed to report it. I have noticed this for at least the last two years in both stable and git versions.

Syd
__________________
alsobrsp is offline   Reply With Quote
Old 13-03-2014, 12:42   #98
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by wdkester View Post
This may have been around for a while:
1. Create a mark at 35 58.1899 N 075 58.8369 W named "X"
2. Navigate to the skewed chart 11553_1.kap Albermarle Sound to Alligator River North Carolina, manually.
3. Route Manager>Waypoints>X>Center View
4. The chart rotates from its North up position and if you try to drag the chart to a new position strange things happen. The mark (and other fixed objects like tide bars) seems to move in the opposite direction of the pointer.
5. If you select another chart from the chartbar it will be shown properly and if you return to 11553_1 it will be displayed properly.
6. I don't get this problem with 12205_6 which is only skewed slightly, 11553_1 is skewed about 90 deg.
It looks like the "Route Manager>Waypoints>X>Center View" is not honoring the N up skew setting, and instead display the chart up setting. Click a chart in the chart bar and the global setting is activated again.

Thomas
__________________
cagney is offline   Reply With Quote
Old 14-03-2014, 07:20   #99
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 660
Re: OpenCPN Beta Version 3.3.1419 Released

Should I enter a bug report ?

On another topic, about once a week O crashes. I usually try to reproduce and never am able to, but by then I don't have the crash report. Should I just send the crash report when it occurs?
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 14-03-2014, 07:51   #100
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,881
Re: OpenCPN Beta Version 3.3.1419 Released

wdkester....

Please send the crash reports as you generate them. They are useful, and I generally can find and fix real, though intermittent, problems by analysis of the dumps. The fixes usually appear quietly in the next Beta....

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 17-03-2014, 10:32   #101
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,881
Re: OpenCPN Beta Version 3.3.1419 Released

wdkester/Cagney...

The "skew chart/Center View" problem referenced above is now corrected in github master. No need for a new Flyspray task.

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 17-03-2014, 10:58   #102
cruiser

Join Date: Mar 2014
Posts: 4
Re: OpenCPN Beta Version 3.3.1419 Released

can you do something about speedo because it is definitely something wrong. above 25 kts is, let say, messy. I can do 56 full throttle.



__________________
Helix is offline   Reply With Quote
Old 17-03-2014, 11:14   #103
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 660
Re: OpenCPN Beta Version 3.3.1419 Released

Thanks
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 17-03-2014, 17:00   #104
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by Helix View Post
can you do something about speedo because it is definitely something wrong. above 25 kts is, let say, messy. I can do 56 full throttle.
Yes, we can. The modification now in git should hopefully suite all the mojo sizes
Attached Images
   
__________________
nohal is offline   Reply With Quote
Old 20-03-2014, 09:43   #105
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: OpenCPN Beta Version 3.3.1419 Released

Dave.. Sorry I didŽnt catch it earlier but none of my POIŽs are working in the latest version 3.3.1419. All my links show initially in blue but turn red when accessed,and then,NOTHING... Message says the POI will be opened in your default browser.
I do not set a default browser but use mainly Firefox. Is there a way to set your default browser in OCPN?

Tore
Attached Thumbnails
Click image for larger version

Name:	Capture_012.jpg
Views:	83
Size:	149.4 KB
ID:	77828   Click image for larger version

Name:	Capture_013.jpg
Views:	84
Size:	88.4 KB
ID:	77829  

__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 16:50.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.