Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 19:21:04 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: rtl-sdr port (was: New driver opportunity - rtl2832u)
Message-ID:  <20130120192104.87a818529a6e3fdda8c15b61@getmail.no>
In-Reply-To: <20120824120445.M89236@martymac.org>
References:  <20120824120445.M89236@martymac.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
I see that rtl-sdr is in the ports tree now. :-)
Yesterday I got a Newsky TV28T[1] stick.
Now I wonder what the best way to test it would be?

I've done this:
tingo@kg-v2$ uname -a
FreeBSD kg-v2.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #6: Fri Apr 27 23:50:55 CEST 2012     root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root@kg-v2# usbconfig -u 1 -a 3
ugen1.3: <RTL2838UHIDIR Realtek> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
root@kg-v2# rtl_test -t
Found 1 device(s):
  0:  ezcap USB 2.0 DVB-T/DAB/FM dongle

Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 
No E4000 tuner found, aborting.
(undertandable)
How high a samplerate should this be able to do?
I'm still losing samples here:
root@kg-v2# rtl_test -s 1.3e6
Found 1 device(s):
  0:  ezcap USB 2.0 DVB-T/DAB/FM dongle

Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 
Exact sample rate is: 1300000.021524 Hz
Reading samples in async mode...
lost at least 188 bytes
lost at least 16 bytes
lost at least 112 bytes
^CSignal caught, exiting!

User cancel, exiting...
What would be the best way to test rtl_fm? sox?

References:
1) http://www.nooelec.com/store/software-defined-radio/sdr-receivers/tv28tv2.html
-- 
Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130120192104.87a818529a6e3fdda8c15b61>