linux下rtlsdr测试

这篇博客详细介绍了在Linux系统中进行rtlsdr测试的步骤,包括依赖库的安装、源码下载、编译安装及测试过程,并针对运行rtl_test -t时遇到的错误给出了解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

依赖库安装

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 ../
make
sudo make install
sudo ldconfig

测试

#查看硬件信息
rtl_test -t
#收听调频广播
rtl_fm -f 96.3e6 -M wbfm -s 2048000 -r 8000 - | aplay
#记录IQ数据(To tune to 392.0 MHz, and set the sample-rate to 1.8 MS/s)
rtl_sdr ./capture.bin -s 2.048e6 -f 91.091e6 -g 0

问题解决

如果运行 rtl_test -t 时出现如下错误:

0:  Realtek, RTL2838UHIDIR, SN: 00000001
 
Using device 0: Generic RTL2832U OEM
 
Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklis
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

-铁头娃-

谢谢

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值