<html><body><div style="color:; background-color:; font-family:arial, helvetica, sans-serif;font-size:13px">> From: keenerd <keenerd@gmail.com><br><div><div> > To: "osmocom-sdr@lists.osmocom.org" <osmocom-sdr@lists.osmocom.org><br> > Cc: <br> > Sent: Sunday, December 9, 2012 12:54 PM<br> > Subject: Re: Problem under OpenBSD<br> > <br>> On 12/9/12, Alan Corey <alancorey@yahoo.com> wrote:<br>>>  Under OpenBSD 5.0 I get:<br>>>  Linking C executable rtl_test<br>>>  /usr/bin/ld: cannot find -lrt<br>>>  collect2: ld returned 1 exit status<br>>>  gmake[2]: *** [src/rtl_test] Error 1<br>>>  gmake[1]: *** [src/CMakeFiles/rtl_test.dir/all] Error 2<br>>>  gmake: *** [all] Error 2<br>> <br>> On linux, librt provides a very high precision and usually fairly<br>> accurate timer.  This is used by rtl_test to make a rough PPM error<br>> measurement.<br>> <br>> I don't
 know about OpenBSD libraries.  We can either #ifdef in support<br>> for whatever high resolution timer OpenBSD provides (similar to the<br>> OSX specific code in rtl_test) or if no such timers are provided (such<br>> as on Windows) we could #ifdef the whole thing out.<br>> <br>> I'm guessing OpenBSD does not have these timers.<br>> <br>> -Kyle<br>> http://kmkeen.com<br>><br><br>I lucked out.  The timer functions you're using are all standard under OpenBSD without loading any libraries, so I just removed the -lrt and it compiles and seems to work.  I just got the dongle in the mail today so I haven't actually seen it work yet due to other screwups, but rtl_test and everything else seem to work.  It's a NooElec R820T, serial # 13 according to the eeprom.  Came from somebody selling through Amazon.   $19.95 with a remote and a magmount antenna.  Seems to have a protection diode. 
 Strange (MC?) antenna connector, gotta extend that out of the basement somehow.  Seems well made.<br><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><br>Current configuration:<br>__________________________________________<br>Vendor ID:              0x0bda<br>Product ID:             0x2838<br>Manufacturer:           Realtek<br>Product:                RTL2838UHIDIR<br>Serial number:          00000013<br>Serial number enabled:  yes<br>IR endpoint enabled:    yes<br>Remote wakeup enabled:  no<br><br>OpenBSD dmesg says
 <br>ugen0 at uhub0 port 2 "Realtek RTL2838UHIDIR" rev 2.00/1.00 addr 2<br><br>I've got more downloading to do before I can actually hear anything on it.<br><br>  Alan<br></div> </div> </div></body></html>