Hide Forgot
Description of problem: RTL-SDR was not compiled with auto-remove of driver turned on. Steps to Reproduce: 1. Unplug RTL device. 2. Plug in RTL device. 3. Run gqrx or some other program that uses an RTL-SDR. Actual results: Gets an error message: 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. Expected results: No error. Additional info: This can be fixed by using -DDETACH_KERNEL_DRIVER=ON with CMake, or --enable-driver-detach with autotools.
Hmm, it should be already compiled in: -- Building with kernel driver detaching enabled And IIRC it always worked for me.
I retried on f23 and it worked as expected: Detached kernel driver Found Rafael Micro R820T tuner Exact sample rate is: 1500000,014901 Hz Reattached kernel driver
Funny. It works for me now, too. I wonder if I was running it as a different user or something.