<p dir="ltr">This message looks coming from libusb. Maybe you check that lib source to understand what error code 5 stands for....</p>
<p dir="ltr">Have you tried to run app as root ?<br></p>
<div class="gmail_quote">Le 6 oct. 2013 22:34, "Dan" <<a href="mailto:yo3ggx@gmail.com">yo3ggx@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi all,<br>
    <br>
    I have compiled and installed rtl-sdr on CentOS 6 following
    instructions.<br>
    Everything compiles without errors, but:<br>
    - when I run rtl_test I get the following errors:<br>
    Found 1 device(s):<br>
      0:  ezcap USB 2.0 DVB-T/DAB/FM dongle<br>
    <br>
    Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle<br>
    Found Rafael Micro R820T tuner<br>
    Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4
    15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6
    40.2 42.1 43.4 43.9 44.5 48.0 49.6 <br>
    <br>
    Info: This tool will continuously read from the device, and report
    if<br>
    samples get lost. If you observe no further output, everything is
    fine.<br>
    <font face="Courier New, Courier, monospace"><br>
      Reading samples in async mode...<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      <br>
      Library error 0, exiting...<br>
    </font><br>
    If I run rtl_tcp I get the following errors when the client tries to
    connect:<br>
    <font face="Courier New">Found 1 device(s).<br>
      Found Rafael Micro R820T tuner<br>
      Using ezcap USB 2.0 DVB-T/DAB/FM dongle<br>
      Tuned to 100000000 Hz.<br>
      listening...<br>
      Use the device argument 'rtl_tcp=<a href="http://192.168.33.99:8767" target="_blank">192.168.33.99:8767</a>' in OsmoSDR
      (gr-osmosdr) source<br>
      to receive samples in GRC and control rtl_tcp parameters
      (frequency, gain, ...).<br>
      client accepted!<br>
      set freq 145000000<br>
      cb transfer status: 5, canceling...<br>
      cb transfer status: 5, canceling...<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      set sample rate 1024000<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      set freq correction 4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      rtlsdr_demod_write_reg failed with -4<br>
      rtlsdr_demod_read_reg failed with -4<br>
      worker cond timeout<br>
      Signal caught, exiting!<br>
      comm recv bye<br>
      Signal caught, exiting!<br>
      all threads dead..<br>
      listening...</font><br>
    <br>
    <br>
    The same client connects without errors to another rtl_tcp instance
    on a Windows 7 computer, with the same module.<br>
    <br>
    Any help is greatly appreciated.<br>
    <br>
    Thanks,<br>
    Dan
  </div>

</blockquote></div>