Navigatrix.net - A Voyager's Companion
http://navigatrix.net/

FTDI driver and ttyUSB0
http://navigatrix.net/viewtopic.php?f=6&t=869
Page 1 of 1

Author:  pegase22003 [ 12 Feb 2016, 15:24 ]
Post subject:  FTDI driver and ttyUSB0

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 25786 times ]
2016-02-12_202855_1024x768.png
2016-02-12_202855_1024x768.png [ 121.01 KiB | Viewed 25786 times ]

Author:  pegase22003 [ 29 Feb 2016, 11:20 ]
Post subject:  Re: FTDI driver and ttyUSB0

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

Author:  Moe [ 29 Feb 2016, 21:56 ]
Post subject:  Re: FTDI driver and ttyUSB0

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.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/