Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtl-sdr dongle not detected #139

Closed
psa-jforestier opened this issue Feb 20, 2017 · 5 comments
Closed

rtl-sdr dongle not detected #139

psa-jforestier opened this issue Feb 20, 2017 · 5 comments

Comments

@psa-jforestier
Copy link

Hello Johannes. Followinf an article published on rtl-sdr.com, I tried URH and i'm facing a dongle detection problem.
I'm using a Raspberry PI3 with a RTL-SDR USB dongle (lsusb said RTL2838 DVB-T), it works fine with all the SDR tools I use (rtl_433, SDR# ect.), but I m unable to make it work with URH.
On the Edit > Options > Device window, the line with "rtl-sdr" is always diabled and cant be unabled (checkbox is grayed).
To install URH, i followed the steps indicated on the readme.md file (I tried with the Git version of URH, and the one provided by pip3.)
How do the program decide which device is enabled or not ? Where can i got some logs on how the device is detected by URH ?

@jopohl
Copy link
Owner

jopohl commented Feb 20, 2017

Hello @psa-jforestier ,
thanks for trying out URH! There are two methods for getting a device to work with URH:

  1. native backend
  2. gnuradio backend

Unfortunately, HackRF is currently the only device, which has a native backend. So you would need to install Gnuradio, to use the RTL-SDR.

I am currently working on extending the native support for more devices.

@psa-jforestier
Copy link
Author

Ok , i will try the nuradio backend (i never uses Gnuradio, so i'm a bit anxious about that ...) . Also, i will try to add support for the native rtl-sdr device by following issue #138, cause compiling rtl-sdr tools is quite easy. I ll keep you informed.

@psa-jforestier
Copy link
Author

After a first look at the URH source code, i realized that i'm really not fluent in Python, and coding a Cython wrapper to the rtl_sdr lib is out of my skills... I think coding a "rtl_tcp" wrapper will be easier : the client side (URH) need to connect via TCP to a host (can be localhost), and send command code (set frequency, set sample rate and so on) and it will receive raw IQ sample. Will have a look at this in a few days.

@wgaylord
Copy link

wgaylord commented Feb 22, 2017

Native support could be added by using https://github.com/roger-/pyrtlsdr.
A ctypes wrapper around librtlsdr that works on windows and linux.

Also I can't get it to detect my Windows GnuRadio install.
Which is usable from my python 2.7.13 install.

@jopohl
Copy link
Owner

jopohl commented Feb 24, 2017

Hey @psa-jforestier and @ChiBill ,
native support for rtl-sdr has been added with #154. Furthermore, the GnuRadio Issue will be fixed very soon by #147, so I am closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants