<div dir="ltr">I have been unable to get basic tuning functionality out of my E4000 on my new laptop, in Ubuntu Precise. I'm running 64-bit Precise with the Osmocom drivers installed via the GNU Radio setup script. When I attempt to use the RTL device in Linux, the following occurs:<div>

<br></div><div>"</div><div style>$ rtl_test</div><div><div>Found 1 device(s):</div><div>  0:  ezcap USB 2.0 DVB-T/DAB/FM dongle</div><div><br></div><div>Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle</div><div>Found Elonics E4000 tuner</div>

<div>Supported gain values (14): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0 21.5 24.0 29.0 34.0 42.0 </div><div>Reading samples in async mode...</div><div>cb transfer status: 1, canceling...</div><div><br></div><div>Library error 0, exiting...</div>

<div>Segmentation fault (core dumped)</div></div><div>"</div><div><br></div><div style>When I run the system in GDB and request a backtrace, this is all I get:</div><div style><br></div><div style>"</div><div style>

<div>Program received signal SIGSEGV, Segmentation fault.</div><div>0x00007ffff6ed42e5 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0</div><div>(gdb) bt</div><div>#0  0x00007ffff6ed42e5 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0</div>

<div>#1  0x00007ffff6ed447f in libusb_close () from /lib/x86_64-linux-gnu/libusb-1.0.so.0</div><div>#2  0x00007ffff7bc51a9 in rtlsdr_close () from /usr/local/lib/librtlsdr.so.0</div><div>#3  0x0000000000401322 in main ()</div>

<div>"</div><div><br></div><div style>So there is apparently some issue with libusb. This machine has four USB 3.0 ports, and I've tried using all four of them. There's no hub, but nor are there any USB 2.0 ports to try.</div>

<div style><br></div><div style>Here's the relevant output of usb-devices:</div><div style><br></div><div style>"</div><div style><div>T:  Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480 MxCh= 0</div><div>
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1</div>
<div>P:  Vendor=0bda ProdID=2838 Rev=01.00</div><div>S:  Manufacturer=Realtek</div><div>S:  Product=RTL2838UHIDIR</div><div>S:  SerialNumber=00000947</div><div>C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA</div><div>I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)</div>

<div>I:  If#= 1 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)</div><div>"</div></div><div style><br></div><div style>Note that I have had easy success using the dongle in 64-bit Windows 7 (through the Zadig-installed drivers and SDRSharp), as well as in the same version of Ubuntu installed on another laptop (an older HP Envy). So I know the dongle works, and I know it theoretically can work with the Osmocom drivers, albeit in a different machine.</div>

<div style><br></div><div style>Any ideas? Thanks in advance.</div><div style><br></div><div style>Ethan</div></div></div>