<div dir="ltr">Hi Fabio,<div><br></div><div>I think you should run the following <span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13.63636302947998px">before running any rtl_* commands:</span></div>
<div><font face="courier new, monospace">sudo rmmod <span style="font-size:13.63636302947998px">dvb_usb_rtl28xxu</span></font></div><div><br></div><div>You may also blacklist the dvb_usb_rtl28xxu kernel module, so it won't load when you plug in the RTL device.</div>
<div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13.63636302947998px"><br></span></div><div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13.63636302947998px">73!</span></div>
<div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13.63636302947998px"><br></span></div><div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13.63636302947998px">Andras, HA7ILM</span></div>
<div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13.63636302947998px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/12/23 IZ8MBW Fabio <span dir="ltr"><<a href="mailto:iz8mbw@yahoo.it" target="_blank">iz8mbw@yahoo.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><div><span>Hi.</span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span>I'm trying to install OSMOSdr on a Raspberry Pi.</span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span>I'm following this guide: </span><a href="http://www.hamradioscience.com/raspberry-pi-as-remote-server-for-rtl2832u-sdr/" style="font-size:10pt" target="_blank">http://www.hamradioscience.com/raspberry-pi-as-remote-server-for-rtl2832u-sdr/</a></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
After installing I try to test the RTL2832 USB SDR but I have this error:</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br></div><div style="background-color:transparent">root@raspberrypi:~/rtl2832/rtl-sdr/build# rtl_test</div><div style="background-color:transparent">Found 1 device(s):</div><div style="background-color:transparent"> 0: Generic RTL2832U OEM</div>
<div style="background-color:transparent"><br></div><div style="background-color:transparent">Using device 0: Generic RTL2832U OEM</div><div style="background-color:transparent"><br></div><div style="background-color:transparent">
Kernel driver is active, or device is claimed by second instance of librtlsdr.</div><div style="background-color:transparent">In the first case, please either detach or blacklist the kernel module</div><div style="background-color:transparent">
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.</div><div style="background-color:transparent"><br></div><div style="background-color:transparent">usb_claim_interface error -6</div><div style="background-color:transparent">
Failed to open rtlsdr device #0.</div><div><br></div><div><br></div><div><span style="font-size:10pt">This is my lsmod:</span><br></div><div><br></div><div><div>root@raspberrypi:~# lsmod</div><div>Module Size Used by</div>
<div>tun
18459 2</div><div>i2c_dev 5557 0</div><div>w1_therm 2921 0</div><div>w1_gpio 2363 0</div><div>wire 24832 2 w1_gpio,w1_therm</div><div>
cn 4783 1 wire</div><div>snd_bcm2835 16165 0</div><div>evdev 9419 1</div><div>r820t 16279 1</div><div>rtl2832 8020 1</div><div>snd_soc_bcm2708_i2s 5474
0</div><div>regmap_mmio 2806 1 snd_soc_bcm2708_i2s</div><div>dvb_usb_rtl28xxu 14333 0</div><div>dvb_usb_v2 14860 1 dvb_usb_rtl28xxu</div><div>rc_core 16313 3 dvb_usb_rtl28xxu,dvb_usb_v2</div>
<div>rtl2830 7378 1 dvb_usb_rtl28xxu</div><div>snd_soc_core 131268 1 snd_soc_bcm2708_i2s</div><div>dvb_core 92797 3 rtl2830,rtl2832,dvb_usb_v2</div><div>regmap_spi 1897 1 snd_soc_core</div>
<div>snd_pcm 81593 2 snd_bcm2835,snd_soc_core</div><div>snd_page_alloc 5156 1
snd_pcm</div><div>regmap_i2c 1645 1 snd_soc_core</div><div>snd_compress 8076 1 snd_soc_core</div><div>snd_seq 53769 0</div><div>snd_timer 20133 2 snd_pcm,snd_seq</div>
<div>snd_seq_device 6473 1 snd_seq</div><div>leds_gpio 2059 0</div><div>led_class 3688 1 leds_gpio</div><div>snd 61291 7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress</div>
<div>i2c_bcm2708 3949 0</div><div><br></div><div><br></div><div>This is a portion of
/var/log/messages</div></div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">.</span></div><div><span style="font-size:10pt">.</span><br></div><div>.</div><div><div>Dec 23 13:15:06 raspberrypi kernel: [ 2.369348] usb 1-1: new high-speed USB device number 2 using dwc_otg</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 2.377867] Indeed it is in host mode hprt0 = 00001101</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 2.387121] devtmpfs: mounted</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 2.399736] Freeing unused kernel memory: 144K (c0572000 - c0596000)</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 2.590087] usb 1-1: New USB device found, idVendor=0424, idProduct=9512</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 2.599431] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0</div>
<div>Dec 23 13:15:06 raspberrypi
kernel: [ 2.609377] hub 1-1:1.0: USB hub found</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 2.615786] hub 1-1:1.0: 3 ports detected</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 2.899604] usb 1-1.1: new high-speed USB device number 3 using dwc_otg</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 3.009979] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 3.018605] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 3.047105] smsc95xx v1.0.4</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 3.124437] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:30:43:fd</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 3.229549] usb 1-1.3: new high-speed USB device number 4 using
dwc_otg</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 3.352535] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=2838</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 3.365766] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 3.375070] usb 1-1.3: Product: RTL2838UHIDIR</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 3.381218] usb 1-1.3: Manufacturer: Realtek</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 3.391654] usb 1-1.3: SerialNumber: 00000001</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 5.123693] bcm2708_i2c_init_pinmode(0,0)</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 5.249498] bcm2708_i2c_init_pinmode(0,1)</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 5.255625] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)</div>
<div>Dec 23
13:15:06 raspberrypi kernel: [ 5.468627] bcm2708_i2c_init_pinmode(1,2)</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 5.545257] bcm2708_i2c_init_pinmode(1,3)</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 5.614064] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 6.451707] usb 1-1.3: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 6.510309] usbcore: registered new interface driver dvb_usb_rtl28xxu</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 6.552127] usb 1-1.3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 6.575184] DVB: registering new adapter (Realtek RTL2832U reference design)</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [
6.614879] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 6.639092] usb 1-1.3: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 6.693199] r820t 2-001a: creating new instance</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 6.721703] r820t 2-001a: Rafael Micro r820t successfully identified</div><div>
Dec 23 13:15:06 raspberrypi kernel: [ 6.744416] Registered IR keymap rc-empty</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [ 6.755520] input: Realtek RTL2832U reference design as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/rc/rc0/input0</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 6.785036] rc0: Realtek RTL2832U reference design as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/rc/rc0</div>
<div>Dec 23 13:15:06 raspberrypi kernel: [
6.808934] usb 1-1.3: dvb_usb_v2: schedule remote query interval to 400 msecs</div><div>Dec 23 13:15:06 raspberrypi kernel: [ 6.840041] usb 1-1.3: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected</div>
<div>Dec 23 13:15:06 raspberrypi kernel: <a href="tel:%5B%20%C2%A0%2010.489768" value="+3610489768" target="_blank">[ 10.489768</a>] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)</div><div>Dec 23 13:15:06 raspberrypi kernel: <a href="tel:%5B%20%C2%A0%2010.929880" value="+3610929880" target="_blank">[ 10.929880</a>] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)</div>
<div>.</div><div>.</div><div>.</div></div><div><br></div><div>Any idea to how to solve?</div><div>Many thanks!!</div><div><br></div><div></div><div> </div><div>73</div><span class="HOEnZb"><font color="#888888"><div>Fabio, IZ8MBW</div>
<div><a href="http://www.iz8mbw.net" target="_blank">www.iz8mbw.net</a></div><div><br></div></font></span></div></div></blockquote></div><br></div>