5
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

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

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

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

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
5
Help us understand the problem. What are the problem?