kik / sdr-tv

RTL2832U NTSC viewer
64 stars 27 forks source link

USING MINI DIGITAL TV STICK RTL2832U 820T2 & SDR ON GNRC #2

Open aecs18 opened 6 years ago

aecs18 commented 6 years ago

Good afternoon everyone.

I write here to see if any of you know that installation errors I may have had to use the r820t2 in gnu radio companion.I'm trying to make an FM receiver and other analog TV receiver but when running the program does not receive any type of signal and the view errors, I have: devices not supported. I believe that this is some driver to be installed but I don't know where or how.

The steps that I have followed for installation (Ubuntu 16.04 LTS) have been:

  1. Install gnuradio.
  2. Install Xenial Xerius specifications (it is supposed to do I need for my version of Ubuntu).
  3. Install specifications of gr-osmosdr to enable some features of the chip.

The Stick comes with a CD but i do not know how to install it since, according to the specifications only works for WXP, 2000, Vista, 7 and 8; and it is something that it seems strange to me since I have seen videos where they use this same model of stick to carry out projects in Gnuradio on Ubuntu.

Please, if any of you know that i need to install It would serve as much help as I am a novice programmer and i need to resolve this problem for my project.

FFY00 commented 6 years ago

You probably need to use Zadig to update the driver.

aecs18 commented 6 years ago

But I am working on Ubuntu 16.04 LTS. I understood Zadig is a Windows application.

Don't you know another one for Linux/Ubuntu?

Thanks.

FFY00 commented 6 years ago

Oh sorry, I read this on the phone and I was a bit distracted. Probably got confused when you started talking about the CD. Did you blacklist the default driver provided by the kernel?

This should work

sudo modprobe -r dvb_usb_rtl28xxu
aecs18 commented 6 years ago

Hello again my friend.

Well, I tried with that code and after I made: rtl-test -t and after i made this: rtl_fm -f 89.2e6 -M wbfm -s 200000 -r 48000 - | aplay -r 48k -f S16_LE

Now, I can listen the radio FM but trying to work with GNRC is still impossible because it always said the same message: "FATAL: No supported devices found to pick from". I don't know what else to do.

Thanks for your help.

FFY00 commented 6 years ago

Maybe you still need to install the udev rules? I am not sure.

Try running this inside the rtl-sdr repo root.

make install-udev-rules
aecs18 commented 6 years ago

captura de pantalla de 2018-07-31 18-22-26 captura de pantalla de 2018-08-01 20-04-27 captura de pantalla de 2018-08-01 20-17-30

It says the same thing...

aecs18 commented 6 years ago

captura de pantalla de 2018-08-01 20-04-06

aecs18 commented 6 years ago

I tried with this:

sudo apt-get update sudo apt-get install git sudo apt-get install cmake sudo apt-get install build-essential sudo apt-get install libusb-1.0-0-dev

git clone git://git.osmocom.org/rtl-sdr.git cd rtl-sdr/ mkdir build cd build cmake ../ -DINSTALL_UDEV_RULES=ON make sudo make install sudo ldconfig sudo cp ../rtl-sdr.rules /etc/udev/rules.d/

Opening /etc/modprobe.d folder Creating a new file 'blacklist-rtl.conf' and add this one line: blacklist dvb_usb_rtl28xxu

rtl_test -t

I tried those commands but I do not know if I need to install something else because GNRC still says: "FATAL: No supported devices found to pick from"...

FFY00 commented 6 years ago

Did you restart after blacklisting the driver?

aecs18 commented 6 years ago

Yes, I did.

What do you think about this?: https://github.com/StampedingLonghorn/rtlsdr-script

Could that work?

FFY00 commented 6 years ago

That's weird. The script might work, give it a try.

aecs18 commented 6 years ago

captura de pantalla de 2018-08-22 00-21-05

I installed everything again using Pybombs, and it works. It was fast and easy.

Thank you very much for your help friend.

aecs18 commented 6 years ago

On the other hand...Did you make this project about TV receiver on GRC too?