Re: comms/rtl-sdr fix rtl_tcp
Sebastian Reitenbach <[email protected]> Tue, 4 Aug 2026 14:42:02 +0200
| Newsgroups | gmane.os.openbsd.ports |
|---|---|
| Message-ID | <CAEoLn69BrTfr7dWJ_a6H_LpdT=vex5QRh7W5G9sbhNmYbGGw5Q@mail.gmail.com> |
--000000000000f7c392065837fb5f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, yeah, this annoying frequency changing, I tested with gqrx as client and your patch definitely helps. applied. thank you, Sebastian On Tue, Aug 4, 2026 at 12:30=E2=80=AFAM SASANO Takayoshi <[email protected]= > wrote: > Hi, > > > without and with your patch, I can run rtl_sdr -a 127.0.0.1 and connect > > gqrx to it, to listen to radio. > > So what does the patch fix for you? > > > > Do you have something I could reproduce? > > 1. run "rtl_tcp -a 0.0.0.0" on OpenBSD machine > 2. run Airspy's SDRsharp on Windows machine > 3. connect rtl_tcp server from SDRsharp client and start receive > 4. change frequency on SDRsharp with up/down button (frequency number) > > same problem will occur on CubicSDR with rtl-sdr (this occur > without rtl_tcp server). > > > It looks librtlsdr's radio controlling api like rtlsdr_set_center_freq() > is blocked during rtlsdr_read_sync() is activated. > > (maybe libusb's control transfer is blocked whle bulk transfer is running= ) > > Regards, > -- > SASANO Takayoshi (JG1UAA) <[email protected]> > --=20 https://buzzdeee.reitenba.ch --000000000000f7c392065837fb5f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi,</div><div><br></div><div>yeah, this annoying freq= uency changing, I tested with gqrx as client and your patch definitely help= s.</div><div><br></div><div>applied.</div><div><br></div><div>thank you,</d= iv><div>Sebastian</div></div><br><div class=3D"gmail_quote gmail_quote_cont= ainer"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 4, 2026 at 12:30= =E2=80=AFAM SASANO Takayoshi <<a href=3D"mailto:[email protected]">uaa@m= x5.nisiq.net</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex">Hi,<br> <br> > without and with your patch, I can run rtl_sdr -a 127.0.0.1 and connec= t<br> > gqrx to it, to listen to radio.<br> > So what does the patch fix for you?<br> > <br> > Do you have something I could reproduce?<br> <br> 1. run "rtl_tcp -a 0.0.0.0" on OpenBSD machine<br> 2. run Airspy's SDRsharp on Windows machine<br> 3. connect rtl_tcp server from SDRsharp client and start receive<br> 4. change frequency on SDRsharp with up/down button (frequency number)<br> <br> same problem will occur on CubicSDR with rtl-sdr (this occur<br> without rtl_tcp server).<br> <br> <br> It looks librtlsdr's radio controlling api like rtlsdr_set_center_freq(= )<br> is blocked during rtlsdr_read_sync() is activated.<br> <br> (maybe libusb's control transfer is blocked whle bulk transfer is runni= ng)<br> <br> Regards,<br> -- <br> SASANO Takayoshi (JG1UAA) <<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>><br> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr"><a href=3D"https://buzzdeee.reitenba.ch" target=3D"_blank">h= ttps://buzzdeee.reitenba.ch</a></div></div> --000000000000f7c392065837fb5f--