TN.Frank Posted July 30, 2015 Share Posted July 30, 2015 It's been a few months since I last played with my RTL-SDR and since then I've moved to Ubuntu MATE and IIRC it was working under Ubuntu MATE but now it's not working. I get this 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. usb_claim_interface error -6 FATAL: Failed to open rtlsdr device. Trying to fill up 1 missing channel(s) with null source(s). This is being done to prevent the application from crashing due to gnuradio bug #528. terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::math::rounding_error> >' what(): Error in function boost::math::round<f>(f): Value -inf can not be represented in the target integer type. Aborted Not really sure what's going on. I'd like to figure it out so I can get it working again. Any ideas? Thanks. Quote Link to comment Share on other sites More sharing options...
Rkiver Posted July 30, 2015 Share Posted July 30, 2015 Obvious question, does it work on any other computer, specifically running another OS? Quote Link to comment Share on other sites More sharing options...
TN.Frank Posted July 30, 2015 Author Share Posted July 30, 2015 I've only got the one laptop so I can't answer that question. I may have to live boot into my Kali DVD and see if it'll work under Kali. Quote Link to comment Share on other sites More sharing options...
Xcellerator Posted July 30, 2015 Share Posted July 30, 2015 It looks like Ubuntu is automatically loading the builtin kernel module for the dvb tuner. Try running sudo rmmod dvb_usb_rtl28xxu and see if it works. It it does, then you can make the change permanent (after reboot) by creating "rtlsdr.conf" in "/etc/modprobe.d" and put blacklist dvb_usb_rtl28xxu in it. Hope that helps! Quote Link to comment Share on other sites More sharing options...
cooper Posted July 30, 2015 Share Posted July 30, 2015 Kernel driver is active, or device is claimed by second instance of librtlsdr. This is what's going on. The rtl-sdr device is claimed by another program already. So what you should do is try and find the program that might be responsible. Take a long, hard look at the output of ps and check its man page for some sensible options. I normally go for 'ps -faux'. If there's nothing in that list that you think or know to be using the device, go for the first suggestion - a kernel driver that claimed the device. Run 'lsmod' to see if any bad kernel modules got loaded and are now getting in the way. You can remove them with 'rmmod' but be careful you know for a fact you don't need that module or you'll end up needing to reboot. If you still can't figure it out, remove the device and re-insert it. The program using the device should either stop, crash or lock up. Even when it locks up and keeps a hold of the now absent device, when you re-insert it the USB stack should create a new device node so when you start your sdr program again it should now find it. Quote Link to comment Share on other sites More sharing options...
TN.Frank Posted July 30, 2015 Author Share Posted July 30, 2015 (edited) Thanks for the info guys. I'll give all of it a try and see if I can get it working. Edit for addtional info. The "sudo rmmod dvb_usb_rtl28xxu" worked to get it up and running. Guess I just need to blacklist it by by creating "rtlsdr.conf" in "/etc/modprobe.d" and putting "blacklist dvb_usb_rtl28xxu" in it. Thanks again guys. Edited July 30, 2015 by TN.Frank Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.