SeaClear Wine OXS: How to use USB-Serial GPS on Com1?

Questions about Wine on macOS.
Locked
pinsl23
Newbie
Newbie
Posts: 2
Joined: Sun Jul 06, 2014 5:23 am

SeaClear Wine OXS: How to use USB-Serial GPS on Com1?

Post by pinsl23 »

Hey Guys,

i have already researched a while and tried to figure out, how to get my USB-GPS-Device (Prolific NL-202U) to work under Wine in my SeaClear-Software. Under MacOS ist works, as i can use GPS data on my mac native gps. But i need the GPS Data in SeaClear, but SeaClear says "Could Not Open Communication Port 1".

My question ist how can i get the com port 1 to work in Wine? I tried mapping it in Terminal but failed. Perhaps i made some mistakes.

Can anybody give me a good hint on how to "Map" the USB Device to Com Port 1?

Thank you in Advance!

Best,
André
User avatar
Siguza
Level 2
Level 2
Posts: 10
Joined: Fri Jul 04, 2014 12:45 pm

Re: SeaClear Wine OXS: How to use USB-Serial GPS on Com1?

Post by Siguza »

Run this in the Terminal:

Code: Select all

ls | grep tty\\.
In the list that is printed, find the one representing your GPS device (I'll call it "tty.GPS" for now).
Then run the following:

Code: Select all

ln -s /dev/tty.GPS ~/.wine/dosdevices/com1
At this point SeaClear should be able to communicate with it.

Regards
Siguza
pinsl23
Newbie
Newbie
Posts: 2
Joined: Sun Jul 06, 2014 5:23 am

Re: SeaClear Wine OXS: How to use USB-Serial GPS on Com1?

Post by pinsl23 »

Hi Siguza,

thank you for your help. I already tried this tipp, but unfortunately it doesn't help. Sea Clear still says "Could not open Port"

Any other suggestions?

Best Regards!
User avatar
Siguza
Level 2
Level 2
Posts: 10
Joined: Fri Jul 04, 2014 12:45 pm

Re: SeaClear Wine OXS: How to use USB-Serial GPS on Com1?

Post by Siguza »

Well, it says here that it helped to chown the tty port to the current user, but the test report is 5 years old and I think that's quite bad practice.
However, the command to do that would be

Code: Select all

chown $(whoami) /dev/tty.GPS
And if that messes up anything, you can undo it with

Code: Select all

chown root /dev/tty.GPS
Regards
Siguza
Locked