<div dir="ltr"><div>Hello,</div><div><br></div>It's great that it's solved.<div><br></div><div>Sorry, I've already tried to rmmod that module on my Pi, and it didn't freeze. </div><div>Anyway, sometimes replugging the device has frozen my desktop PC (maybe while loading the corresponding module).</div>

<div><br></div><div>73!<br><br></div><div>Andras, HA7ILM</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>Now it works!!!</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>The procedure is to:</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><br></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>1. add the line:  blacklist dvb_usb_rtl28xxu  into the file /etc/modprobe.d/raspi-blacklist.conf</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>2. reboot</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><br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">Many thanks!</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">A question: there is a way to start "rtp_tcp" in silent mode (without messages on the terminal)?</div>

<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">Thanks!</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></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><div><br></div></font></span><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">

  <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:10pt"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt">

<div class="im"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold">Da:</span></b> András Retzler <<a href="mailto:retzlerandras@gmail.com" target="_blank">retzlerandras@gmail.com</a>><br>

 <b><span style="font-weight:bold">A:</span></b> IZ8MBW Fabio <<a href="mailto:iz8mbw@yahoo.it" target="_blank">iz8mbw@yahoo.it</a>>; <a href="mailto:osmocom-sdr@lists.osmocom.org" target="_blank">osmocom-sdr@lists.osmocom.org</a> <br>

 <b><span style="font-weight:bold">Inviato:</span></b> Lunedě 23 Dicembre 2013 13:46<br> <b><span style="font-weight:bold">Oggetto:</span></b> Re: RTL2832U on Raspberry Pi<br> </font> </div> </div><div><br><div><div class="h5">

<div><div><div dir="ltr">Hi Fabio,<div><br clear="none"></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 clear="none"></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 clear="none"></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 clear="none"></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 clear="none"></span></div></div><div><br clear="none"><br clear="none">

<div>

2013/12/23 IZ8MBW Fabio <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:iz8mbw@yahoo.it" target="_blank">iz8mbw@yahoo.it</a>></span><br clear="none"><div><blockquote 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 rel="nofollow" shape="rect" 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 clear="none"></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 clear="none"></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 clear="none"></div><div style="background-color:transparent">Using device 0: Generic RTL2832U OEM</div><div style="background-color:transparent"><br clear="none"></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 clear="none"></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 clear="none"></div><div><br clear="none"></div><div><span style="font-size:10pt">This is my lsmod:</span><br clear="none"></div><div><br clear="none"></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 clear="none"></div><div><br clear="none"></div><div>This is a portion of
 /var/log/messages</div></div><div><span style="font-size:10pt"><br clear="none"></span></div><div><span style="font-size:10pt">.</span></div><div><span style="font-size:10pt">.</span><br clear="none"></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 rel="nofollow" shape="rect">[   10.489768</a>] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)</div><div>Dec 23 13:15:06 raspberrypi kernel: <a rel="nofollow" shape="rect">[   10.929880</a>] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)</div>



<div>.</div><div>.</div><div>.</div></div><div><br clear="none"></div><div>Any idea to how to solve?</div><div>Many thanks!!</div><div><br clear="none"></div><div></div><div> </div><div>73</div><span><font color="#888888"></font></span><div>

Fabio, IZ8MBW</div>

<div><a rel="nofollow" shape="rect" href="http://www.iz8mbw.net/" target="_blank">www.iz8mbw.net</a></div><div><br clear="none"></div></div></div></blockquote></div></div><br clear="none"></div></div></div><br><br></div>

</div></div> </div> </div> </blockquote><div></div>   </div></div></blockquote></div><br></div>