The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: FTDI driver and ttyUSB0

Joined: 22 Nov 2013, 14:40
Posts: 5
Hi guy's

Each time it too bad weather to sail I tried to finalize te setup of navigatrix.
The last thing is to succeed to get NMEA stream from my multiplexer.
The following configuration was used to work under windows ...

EM-Track connected through serial for GPS position and AIS. This one is working fine
Multiplexer (http://www.gadgetpool.de/nuke/downloads ... rEn1_8.pdf) is connected through USB. That's where my problem begins ... Up to now I didn't succeed to receive stream in openCPN. With Terminal, I didn't succeed to check if there is stream.

pegase@pegase-desktop:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0c45:7000 Microdia
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


pegase@pegase-desktop:~$ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 1.531659] 00:08: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.552308] 00:09: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 266.595324] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
[ 267.757421] pps pps0: source "/dev/ttyUSB0" added
pegase@pegase-desktop:~$

ttyUSB0 is member of dialout. I checked this with this command

ls -l /dev/ttyUSB0, that returns crw-rw---T 1 root dialout 188

Then I try to display the stream in Terminal with

cat /dev/ttyUSB0

But I get the message : device or drive busy.

For Opencpn config I attached printscreen.

And now :?: :?: :?:
What can I do to go further ? What can be done ?

Many thanks in advance.


Attachments:
2016-02-12_203415_1024x768.png
2016-02-12_203415_1024x768.png [ 183.05 KiB | Viewed 19480 times ]
2016-02-12_202855_1024x768.png
2016-02-12_202855_1024x768.png [ 121.01 KiB | Viewed 19480 times ]
Top
   
 
 Post subject: Re: FTDI driver and ttyUSB0

Joined: 22 Nov 2013, 14:40
Posts: 5
Hi Guy's

Just let you know that I found the solution.
In fact under Ubuntu GPSD is automatically activated and therefore ttyUSB is not available.

This function is described in OpenCPN user's manual... :mrgreen: http://opencpn.org/ocpn/options_connections


Top
   
 
 Post subject: Re: FTDI driver and ttyUSB0

Joined: 04 Nov 2010, 20:51
Posts: 1062
Unlike Ubuntu, Navigatrix uses gpsd to:
  • keep the system clock accurate,
  • provide locations so the screen dims at night,
  • inputs location into Airmail,
  • the planetarium (Stellarium),
  • as well as the obvious geolocation functions in other applications

...transparently.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Search for:
cron

Credits © 2010 - 2024