Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 03-07-2015, 10:43   #181
Registered User

Join Date: Aug 2014
Location: Argentina
Boat: H20
Posts: 62
Re: New rtlsdr Plugin

I've successfully merged the ais decoder into the rtl_ais binary, so there is no need to pipe data from one program to another.

I've added command line options for the aisdecoder part of rtl_ais (host and port) and I've added a feature from the original gnuais code for printing statistics about complete e incomplete messages (-S option). I see this feature very useful for coding an improved auto ppm discovery routine.
I did compile the program in both Windows al Linux OS; the link to the code is here:

https://github.com/dgiardini/rtl-sdr...eases/tag/v0.1

There are also windows binaries ready to use, if someone want to play with this.

Regards,David
piluso is offline   Reply With Quote
Old 03-07-2015, 12:49   #182
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: New rtlsdr Plugin

I have my Dell Laptop Win7 machine all set with proper Zadiag rtlsdr drivers working to test on a decent VHF antenna. However I only have a newer Win8.1 tablet on the boat and unfortunately cannot seem to install and get working the most recent version of Zadag as directed, and I have deleted the dongle driver that was automatically installed. Will continue to try to install the drivers, any suggestions welcome for Win 8.1 install.

Thank you for the new repos and your efforts, will try them once I get Sean's version working on this machine.
rgleason is offline   Reply With Quote
Old 03-07-2015, 17:07   #183
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: New rtlsdr Plugin

Quote:
Originally Posted by piluso View Post
I've successfully merged the ais decoder into the rtl_ais binary, so there is no need to pipe data from one program to another.

I've added command line options for the aisdecoder part of rtl_ais (host and port) and I've added a feature from the original gnuais code for printing statistics about complete e incomplete messages (-S option). I see this feature very useful for coding an improved auto ppm discovery routine.
I did compile the program in both Windows al Linux OS; the link to the code is here:

https://github.com/dgiardini/rtl-sdr...eases/tag/v0.1

There are also windows binaries ready to use, if someone want to play with this.

Regards,David
David:
Help, I'm a little confused!
Could you give directions on how to build, install and use this new change? I have installed the older version (rtl_ais & aisdecoder), and your changes to rtlsdr.pi and they work great, better than Sean's version by far.

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Old 03-07-2015, 17:51   #184
Registered User

Join Date: Aug 2014
Location: Argentina
Boat: H20
Posts: 62
Re: New rtlsdr Plugin

Freddie:

First, compile and install the original rtl-sdr project , instructions are here: rtl-sdr – OsmoSDR

Then, clone the rtl_ais repo:
git clone https://github.com/dgiardini/rtl-sdr-misc

Change to the rtl-sdr-misc/ais dir and mark "build.-sh" script as executable running: "chmod a+x build.sh"

Then, from the "ais" dirrectory, run "./build.sh"

If all goes fine, you'll have a rtl_ais executable.

Try "./rtl_ais -?" to see the command line options, there is help there.

There are no install options yet, but you can copy rtl_ais to /usr/local/bin

Basically, the parameters are the same as rtl_ais (or rtl_fm), the most important parameter is "-p ppm". To see the NMEA mesasages use the "-n" switch. By default, the built-in ais decoder will send messages to locahost port 10110, but you can change it from the command line. OpenCPN must be configured the same way, for receiving network data.

I hope this help, contact me if something doesn't work.

Regards, David
piluso is offline   Reply With Quote
Old 04-07-2015, 07:04   #185
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: New rtlsdr Plugin

Sean, I've been trying to get drivers installed properly and going while connected to VHF antennae, Have installed zidag2.1.2.exe after deleting the one Win8.1 found and after turning off Norton, and now find RTL2838UHDIR driver under Devices > Universal Serial Bus Devices under RTL2838HUDIR and under
Properties it is using
Port_#0002.Hub_#0003 Working properly
Driver provider: libusb.info
Driver Date: 6/18/2013
Driver Version: 6.1.7600.16385
Digital Signer: USB\VID_0BDA&PID_2838 (libwdi autogenerated)

I believe this is installed ok and is the correct driver for Win8.1
----
I have also gotten HDSR running and have set the Frequency to 0161,750,000
and found that the Tuner wanted 161,759,000 and the db varied from -88.5db to -101db. This is when trying to get the red line at the very peak of the the signal in the graph.
----
SDR-Radio does not install because some VDcomm100.dll driver is missing.
----
When I download and install rtlsdr version rtlsdr_pi-0.13-win32 from opencpn downloads and then start up Opencpn with rtlsdr enabled, I get an error loading rtlsdr popping up.
----

When I open a CMD prompt go to
C:\Program Files (x86)\OpenCPN 4.1.602\plugins\rtlsdr_pi\bin

and try to execute:
rtl_fm -f 161975000 -p 35 -s 48k | aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -f /dev/stdin

I get this message:


C:\Program Files (x86)\OpenCPN 4.1.602\plugins\rtlsdr_pi\bin>rtl_fm -f 161975000
-p 35 -s 48k | aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -f /dev/stdi
n
fp 764B9C08 764B9C08
Found 1 device(s):
0: H♦, Ç↕₧, SN:

Using device 0: Generic RTL2832U OEM
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sd
r.rules
Failed to open rtlsdr device #0.

What does this mean? Does anyone know what I must do to fix it?
rgleason is offline   Reply With Quote
Old 04-07-2015, 07:10   #186
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: New rtlsdr Plugin

Also when trying to run Autocalibrate from Settings Options > Plugin > Rtlsdr> Preferences I keep getting an error popup "ais_rx ...." because that program is not in the bin. I dismiss the error and the calibration continues and progress bar slowly progresses and ends in -98.

However when I do this after clicking on the Icon (not under Settings Options) I see "Preferences" and pick that and can Autocalibrate while showing messages, that seems to run through ok without the popup messages and seems to end at -97db.

This is all pretty frustrating because I don't know what is working and what is not.
rgleason is offline   Reply With Quote
Old 04-07-2015, 07:22   #187
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: New rtlsdr Plugin

Windows 8.1 IRULU tablet. I downloaded and unzipped the rtl_ais Windows file, but the program would not run without pthreadgc2.dll file in rtl_ais folder. I also had to set the host as 127.0.0.1 instead of localhost for OCPN to receive the data.
LeoA is offline   Reply With Quote
Old 04-07-2015, 07:27   #188
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: New rtlsdr Plugin

Since there is no serial com port showing I have tried the following:

HDSR LoA 0161,950,000 Freq Mgr
Tune 0161,949, 000 EXTIO
Hold cursor over line -88.4 db to -101 db


OpenCPN Connection Settings
Tried UDP and TCP
Address: 127.0.0.1
Port: 101101
In, None, Out, None
Priority 1
Input Accept only sentences
Output Transmit only sentences


Also tried TCP and UDP
Address: 127.0.0.1
Port: 15555
In, None, Out, None
Priority 1
Input Accept only sentences
Output Transmit only sentences
rgleason is offline   Reply With Quote
Old 04-07-2015, 07:29   #189
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: New rtlsdr Plugin

LeoA, can you give me the link for what you downloaded?
Also what do you see under Device Manager use [Windows key] + X to get there.
Then select Device Manager.

Where is the USB RTL Dongle showing up? and what drivers?

Thanks.
rgleason is offline   Reply With Quote
Old 04-07-2015, 07:47   #190
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: New rtlsdr Plugin

I am using SDR#(Sharp) and aismon software to get AIS info to OCPN. It seemed to me that it is easier to understand and get working. I installed the zadig drivers and my rtl stick shows up as bulk-in,Interface under Universal Serial Bus Devices in Device Manager.

I downloaded rtl_ais_win_v0.1 zip from https://github.com/dgiardini/rtl-sdr...eases/tag/v0.1 piluso posted this link a few posts up.

You have to put the rtl stick into the same usbslot each time or install the zadig drivers for each port
LeoA is offline   Reply With Quote
Old 04-07-2015, 08:17   #191
Registered User

Join Date: Aug 2014
Location: Argentina
Boat: H20
Posts: 62
Re: New rtlsdr Plugin

Quote:
the program would not run without pthreadgc2.dll file in rtl_ais folder. I also had to set the host as 127.0.0.1 instead of localhost
Thanks Leo, it's fixed now.
I'm sorry I can't help with Win8, I'm still using XP in the MS world
piluso is offline   Reply With Quote
Old 04-07-2015, 08:32   #192
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: New rtlsdr Plugin

Windows 8.1 Irulu intel atom tablet
The rtlsdr plugin will not run rtl_fm from inside of OCPN. When enable box is ticked, it will start rtl_fm and aisdecoder, but then will stop rtl_fm. Addind rtl_fm.exe to the additional args box, rtl_fm does not stop, but no data is received. Running rtl_fm and aisdecoder in command prompt has no errors but also no data is received. Running rtl_ais from command prompt, I receive a base station target located 8 miles away and also occasional tugboat targets from about 6 miles away. This is not quite as good as reception as with SDR#. These tests are with a NooElec R820T2 stick and the small antenna that came with it. I have 2 of these NooElec rtl-sdr sticks and the other has no reception with the small antenna. I will test more on the boat with my 8' vhf antenna tomorrow.
LeoA is offline   Reply With Quote
Old 04-07-2015, 10:30   #193
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: New rtlsdr Plugin

Is this plugin version for Opencpn 4.0 or 4.1.602? Thanks.

Quote:
I downloaded rtl_ais_win_v0.1 zip from https://github.com/dgiardini/rtl-sdr...eases/tag/v0.1 piluso posted this link a few posts up.
Re driver > Properties > Events >
Two most recent events after deleting the driver.
---
Device USB\VID_0BDA&PID_2838\00000001 was configured.
Driver Name: oem101.inf
Class Guid: {88BAE032-5A81-49F0-BC3D-A4FF138216D6}
Driver Date: 06/18/2013
---
Device USB\VID_0BDA&PID_2838\00000001 was started.
Driver Name: oem101.inf
Class Guid: {88BAE032-5A81-49F0-BC3D-A4FF138216D6}
Service: WinUSB
====

Device Manager Details shows:
EventData
DeviceInstanceId USB\VID_0BDA&PID_2838\00000001
DriverName oem101.inf
ClassGuid {88BAE032-5A81-49F0-BC3D-A4FF138216D6}
ServiceName WinUSB
LowerFilters
UpperFilters
Problem 0x0
Status 0x0
rgleason is offline   Reply With Quote
Old 04-07-2015, 10:33   #194
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: New rtlsdr Plugin

I'm using it in 4.1.602

Sent from my XT1031 using Cruisers Sailing Forum mobile app
LeoA is offline   Reply With Quote
Old 04-07-2015, 10:34   #195
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 175
Images: 1
Send a message via Skype™ to sbfreddie
Re: New rtlsdr Plugin

Quote:
Using device 0: Generic RTL2832U OEM
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sd
r.rules
Failed to open rtlsdr device #0.
What does this mean? Does anyone know what I must do to fix it?

Rick:
I think you are missing something in your dev rules file. In my build script for OpenCPN, the script puts all this stuff in the rules file:

Code:
cecho "${BIGREEN}Now creating and populating the udev rules file for the rtl-sdr dongle....."
echo "Now creating and populating the udev rules file for the rtl-sdr dongle....." >> ${SRCDIR}/Prep_make.log

touch ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# original RTL2832U vid/pid (hama nano, for example)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0bda\", ATTRS{idProduct}==\"2832\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# RTL2832U OEM vid/pid, e.g. ezcap EzTV668 (E4000), Newsky TV28T (E4000/R820T) etc." >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0bda\", ATTRS{idProduct}==\"2838\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# DigitalNow Quad DVB-T PCI-E card (4x FC0012?)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0413\", ATTRS{idProduct}==\"6680\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Leadtek WinFast DTV Dongle mini D (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0413\", ATTRS{idProduct}==\"6f0f\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Genius TVGo DVB-T03 USB dongle (Ver. B)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0458\", ATTRS{idProduct}==\"707f\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec Cinergy T Stick Black (rev 1) (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00a9\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec NOXON rev 1 (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00b3\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec Deutschlandradio DAB Stick (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00b4\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec NOXON DAB Stick - Radio Energy (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00b5\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec Media Broadcast DAB Stick (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00b7\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec BR DAB Stick (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00b8\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec WDR DAB Stick (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00b9\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec MuellerVerlag DAB Stick (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00c0\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec Fraunhofer DAB Stick (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00c6\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec Cinergy T Stick RC (Rev.3) (E4000)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00d3\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec T Stick PLUS (E4000)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00d7\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Terratec NOXON rev 2 (E4000)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"0ccd\", ATTRS{idProduct}==\"00e0\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# PixelView PV-DT235U(RN) (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1554\", ATTRS{idProduct}==\"5020\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Astrometa DVB-T/DVB-T2 (R828D)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"15f4\", ATTRS{idProduct}==\"0131\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Compro Videomate U620F (E4000)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"185b\", ATTRS{idProduct}==\"0620\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Compro Videomate U650F (E4000)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"185b\", ATTRS{idProduct}==\"0650\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Compro Videomate U680F (E4000)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"185b\", ATTRS{idProduct}==\"0680\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# GIGABYTE GT-U7300 (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d393\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# DIKOM USB-DVBT HD" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d394\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Peak 102569AGPK (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d395\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# KWorld KW-UB450-T USB DVB-T Pico TV (TUA9001)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d397\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Zaapa ZT-MINDVBZP (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d398\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# SVEON STV20 DVB-T USB & FM (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d39d\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Twintech UT-40 (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d3a4\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# ASUS U3100MINI_PLUS_V2 (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d3a8\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# SVEON STV27 DVB-T USB & FM (FC0013)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d3af\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# SVEON STV21 DVB-T USB & FM" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1b80\", ATTRS{idProduct}==\"d3b0\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Dexatek DK DVB-T Dongle (Logilink VG0002A) (FC2580)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1d19\", ATTRS{idProduct}==\"1101\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Dexatek DK DVB-T Dongle (MSI DigiVox mini II V3.0)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1d19\", ATTRS{idProduct}==\"1102\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Dexatek DK 5217 DVB-T Dongle (FC2580)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1d19\", ATTRS{idProduct}==\"1103\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# MSI DigiVox Micro HD (FC2580)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1d19\", ATTRS{idProduct}==\"1104\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Sweex DVB-T USB (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1f4d\", ATTRS{idProduct}==\"a803\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# GTek T803 (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1f4d\", ATTRS{idProduct}==\"b803\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# Lifeview LV5TDeluxe (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1f4d\", ATTRS{idProduct}==\"c803\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# MyGica TD312 (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1f4d\", ATTRS{idProduct}==\"d286\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "# PROlectrix DV107669 (FC0012)" >> ${SRCDIR}/80-rtl-sdr_udev.rules
echo "SUBSYSTEMS==\"usb\", ATTRS{idVendor}==\"1f4d\", ATTRS{idProduct}==\"d803\", MODE:=\"0666\"" >> ${SRCDIR}/80-rtl-sdr_udev.rules

echo "" >> ${SRCDIR}/80-rtl-sdr_udev.rules

cecho "${BIGREEN}Now moving the udev file to the proper place....."
echo "Now moving the udev file to the proper place....." >> ${SRCDIR}/Prep_make.log
sudo mv ${SRCDIR}/80-rtl-sdr_udev.rules /etc/udev/rules.d/80-rtl-sdr_udev.rules

cecho "${BIGREEN}Now changing the group of the udev file....."
echo "Now changing ownership of the udev file....." >> ${SRCDIR}/Prep_make.log
sudo chown root /etc/udev/rules.d/80-rtl-sdr_udev.rules

cecho "${BIGREEN}Now changing the group of the udev file....."
echo "Now changing ownership of the udev file....." >> ${SRCDIR}/Prep_make.log
sudo chgrp root /etc/udev/rules.d/80-rtl-sdr_udev.rules

cecho "${BIGREEN}Now lets restart udev....."
echo "Now lets restart udev....." >> ${SRCDIR}/Prep_make.log
sudo killall -HUP udevd
sudo udevadm control --reload-rules
You might try something along this line to fix this problem.

Thanks,
Freddie
sbfreddie is offline   Reply With Quote
Reply


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
Logbook Konni for OpenCPN konni OpenCPN 1128 15-05-2022 11:25
OpenCPN Release Candidate Version 3.1.1411 Released bdbcat OpenCPN 48 24-02-2013 06:59
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


All times are GMT -7. The time now is 23:43.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.