LoginSignup
7
5

More than 5 years have passed since last update.

他のUSBデバイスがいるとrtlsdrがエラーになっちゃう件

Last updated at Posted at 2014-05-24

RaspberryPiでWifiのUSBドングルと、RTLデバイスを同居させたときに、rtl_testでエラーになってしまう。

$ sudo rtl_test
Found 1 device(s):
  0:  Generic, RTL2832U, SN: XXXXXXXXXXXX

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.

エラーメッセージの通り、デバイスをブラックリストに入れて、libusbが扱えるようにする。

/etc/modprobe.dにrtlsdr-blacklist.confといった感じで以下の通り作成する。

/etc/modprobe.d/rtlsdr-blacklist.conf
blacklist dvb_usb_rtl28xxu
blacklist rtl2830
blacklist dvb_usb_v2
blacklist dvb_core

あとはリブートしちゃいましょう。

7
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
5