je1ocvの日記: rtl-sdrでのカーネルの問題
日記 by
je1ocv
表の記事を見て、SDRをもう一度やってみようかなと思い、Ubuntu13.10でrtl-sdrをコンパイルしてインストールしたのだけど、USBドングルが使えなかった問題についてのメモ。
以下、rtl_testコマンドの結果。
$ sudo rtl_test
Found 1 device(s):
0: Generic, RTL2832U, SN: 77771111153705700
Using device 0: Generic RTL2832U
Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklist the kernel module
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.
usb_claim_interface error -6
Failed to open rtlsdr device #0.
とりあえずdvb_usb_rtl28xxuをロードしない状態にすればいいようなのでいろいろ探ってみた結果、
sudo modprobe -r dvb_usb_rtl28xxu
というコマンドで普通に動くようになりましたとさ。めでたしめでたし。
rtl-sdrでのカーネルの問題 More ログイン