Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-02-2016, 06:47   #1
Registered User

Join Date: Mar 2011
Boat: Bertram, 1977 FBC,33"
Posts: 14
Images: 1
AIS RLT-SDR

Hello
I'm trying to get AIS working with a RTL-SDR donggle in UBUNTU I have completed the installation as described at:
https://www.reddit.com/r/RTLSDR/comm...s_and_opencpn/

I recieve this error message:

$ ais_rx -sosmocom -g35 -r250e3 > ais_pipe
gr-osmosdr v0.1.4-67-gac15e789 (0.1.5git) gnuradio 3.7.9
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001

Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklist the kernel module
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.

usb_claim_interface error -6

FATAL: Failed to open rtlsdr device.

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.


Thanks for any help
Amityangler
__________________

__________________
Amityangler is offline   Reply With Quote
Old 02-02-2016, 08:35   #2
Registered User

Join Date: Dec 2009
Posts: 51
Re: AIS RLT-SDR

Quote:
Originally Posted by Amityangler View Post
Hello
I'm trying to get AIS working with a RTL-SDR donggle in UBUNTU I have completed the installation as described at:
https://www.reddit.com/r/RTLSDR/comm...s_and_opencpn/

I recieve this error message:

$ ais_rx -sosmocom -g35 -r250e3 > ais_pipe
gr-osmosdr v0.1.4-67-gac15e789 (0.1.5git) gnuradio 3.7.9
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001

Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklist the kernel module
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.

usb_claim_interface error -6

FATAL: Failed to open rtlsdr device.

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.


Thanks for any help
Amityangler

Do you have writes to open the device.

Could you add sudo before the command and see if that works?
__________________

__________________
st599 is offline   Reply With Quote
Old 02-02-2016, 09:35   #3
Registered User

Join Date: Mar 2011
Boat: Bertram, 1977 FBC,33"
Posts: 14
Images: 1
Re: AIS RLT-SDR

$ sudo ais_rx -sosmocom -g35 -r250e3 > ais_pipe
[sudo] password for chuck:
gr-osmosdr v0.1.4-67-gac15e789 (0.1.5git) gnuradio 3.7.9
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001

Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklist the kernel module
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.

usb_claim_interface error -6

FATAL: Failed to open rtlsdr device.

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.


ADDED sudo, results the same. thanks for the response
__________________
Amityangler is offline   Reply With Quote
Old 02-02-2016, 10:13   #4
Registered User

Join Date: Mar 2011
Boat: Bertram, 1977 FBC,33"
Posts: 14
Images: 1
Re: AIS RLT-SDR

Got it to the next step by disabling the RTL module as suggested, Need to figure out how to adjust the gain
__________________
Amityangler is offline   Reply With Quote
Old 02-02-2016, 10:33   #5
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,804
Re: AIS RLT-SDR

Set auto gain. The rtlsdr plugin automatically invokes rtl_ais with the correct parameters.
__________________
boat_alexandra is offline   Reply With Quote
Old 02-02-2016, 16:31   #6
Registered User

Join Date: Mar 2011
Boat: Bertram, 1977 FBC,33"
Posts: 14
Images: 1
Re: AIS RLT-SDR

is that the auto calibration function?
__________________
Amityangler is offline   Reply With Quote
Old 07-02-2016, 10:38   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,386
Re: AIS RLT-SDR

For git fetch of RTL-AIS from Dirk.
Windows build.
Copied the new version (4.2.0) of buildwin into the directory.
cmake -T v120_xp ..


Quote:
C:\Users\Frederick\Documents\GitHub\o-plugin\rtl-ais\build>cmake -T v120_xp ..
-- Building for: Visual Studio 12 2013
-- Build type not specified: defaulting to release.
-- Extracting version information from git describe...
fatal: Not a valid object name HEAD
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Looking for libusb_handle_events_timeout_completed
-- Looking for libusb_handle_events_timeout_completed - not found
-- Looking for libusb_error_name
-- Looking for libusb_error_name - not found
-- libusb-1.0 not found.
-- Could NOT find Threads (missing: THREADS_PTHREADS_WIN32_LIBRARY THREADS_PTHREADS_INCLUDE_DIR)
CMake Error at CMakeLists.txt:69 (message):
LibUSB 1.0 required to compile rtl-sdr
No longer seems to compile for v4.2.0
__________________

__________________
rgleason is online now   Reply With Quote
Reply

Tags
ais

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast cheap AIS using $20 rtl-sdr DVB-T SDR Dongles ! wetduck OpenCPN 166 20-02-2016 13:45
AIS for 25 USD (RTL-SDR, new blog here) sdrformariners Commercial Posts 0 14-08-2013 22:18
Can You Get Radar & AIS Overlay on Laptop ? AIS Transceiver Recommendations ? lunasea.ds Marine Electronics 22 27-12-2010 14:06



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 05:29.


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.