connecting USB GPS dongle wigth seaclear_2 navigation software executing under wine

Asked by Rodolfo Martinez III on 2018-05-11

I have the seaclear application executing under wine correctly. However, when I try to have it connect with the GPS USB dongle, seaclear reports that it cannot find the com port.

I checked to see the dongle being reported in the /dev directory. When I plug it in, the device ttyUSBS0 appears as expected .

As part of the installation of wine, in the ~/.wine/dosdevices directory there is a symbolic link com33 -> /dev/ttyUSB0.

The application allows the user to specify the comport to use. When I specify com port 33 it still reports that it cannot find the com33 device.

What am I missing?

Rodolfo

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-05-12
Last reply:
2018-05-12

I am using Ubuntu 16.04 64bit version

What is the output of:

lsb_release -a; uname -a; lsusb

Is there no native driver for Linux? Why are you using WINE?

I issued the commands as suggested and the information returned is shown below:

------------------------------------------
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Linux rolo-Aspire-R3-131T 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0a2a Intel Corp.
Bus 001 Device 004: ID 2386:0401
Bus 001 Device 003: ID 0bda:57cc Realtek Semiconductor Corp.
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 007: ID 067b:aaa0 Prolific Technology, Inc. Prolific Pharos
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
--------------------------------------
Note that device 7 appears when the USB GPS puck by Pharos is plugged in.

I am not aware of any release of seaclear_2 to work directly under Linux. If there is one available for Linux, it would be great and all this hassle is a result of my ignorance..

I truly appreciate your attention to this problem and I believe I am not the only one with this question.

Rodolfo

Good news!!!!

I resolved the problem. Here are the changes I had to make:

1)The ownership and group of directory /home/rolo/.wine was changed from rolo,rolo to root,root

2) From the terminal icon in the desktop I launched the terminal. It defaults to directory /home/rolo

3) su root

4) Launched the application with the command wine path_to_executable

My next step is to try to set up an icon in the desktop to do steps 2, 3 and 4 with just clicking. Probably it will require a script to request the root password and build the wine command with it using substitution.

On 05/11/2018 05:22 PM, Rodolfo Martinez III wrote:

Your question #668850 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/668850

    Status: Answered => Open

You are still having a problem:
I issued the commands as suggested and the information returned is shown
below:

------------------------------------------
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Linux rolo-Aspire-R3-131T 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0a2a Intel Corp.
Bus 001 Device 004: ID 2386:0401
Bus 001 Device 003: ID 0bda:57cc Realtek Semiconductor Corp.
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 007: ID 067b:aaa0 Prolific Technology, Inc. Prolific Pharos
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
--------------------------------------
Note that device 7 appears when the USB GPS puck by Pharos is plugged in.

I am not aware of any release of seaclear_2 to work directly under
Linux. If there is one available for Linux, it would be great and all
this hassle is a result of my ignorance..

I truly appreciate your attention to this problem and I believe I am not
the only one with this question.

Rodolfo

Manfred Hampl (m-hampl) said : #5

What is the output of
ls -l /dev/ttyUSB0

If this device has a group ownership of "dialout", then you have to make sure that your user is member of the dialout group.
(if not, use the command "sudo usermod -a -G dialout $USER").

Maybe that is enough that you can run the program with your own userid

Other potential option: Ubuntu uses the sudo concept, so there should not be a need to fully switch to the root user account (with the command "su root"), but it might be enough to use "sudo wine path_to_executable"

Can you help with this problem?

Provide an answer of your own, or ask Rodolfo Martinez III for more information if necessary.

To post a message you must log in.