rtl-sdr port (was: New driver opportunity - rtl2832u)

Torfinn Ingolfsen torfinn.ingolfsen at getmail.no
Sun Jan 20 18:21:16 UTC 2013


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 at 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 at kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root at kg-v2# usbconfig -u 1 -a 3
ugen1.3: <RTL2838UHIDIR Realtek> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
root at 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 at 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 at getmail.no>


More information about the freebsd-multimedia mailing list