On 2013/04/13 13:00, Federico Schwindt wrote:
> On Sat, Apr 13, 2013 at 2:52 AM, Zoran Ivanić <z...@5mm.org> wrote:
> > On Fri, Apr 12, 2013 at 10:58:11PM +0100, Stuart Henderson wrote:
> >> I thought I'd write a port for this while I wait for my dongle to arrive
> >> and thought I'd send it out in case anyone wants to give it a try.
> >> No idea if it works on OpenBSD as-is or if it needs more work :)
> >
> > I have two dongles, with E4000 and with R820T.
> > Looks like it needs some more work:)
> > Here is quick test:
> >
> > rtl_test
> > Found 2 device(s):
> >   0:  ezcap USB 2.0 DVB-T/DAB/FM dongle
> >   1:  ezcap USB 2.0 DVB-T/DAB/FM dongle
> >
> > Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
> > usb_open error -4
> > Failed to open rtlsdr device #0.
> >
> > dmesg part:
> > ugen2 at uhub1 port 6 "Realtek RTL2838UHIDIR" rev 2.00/1.00 addr 2
> > ugen3 at uhub1 port 1 "Realtek RTL2838UHIDIR" rev 2.00/1.00 addr 3
> 
> You need to create the entries in /dev. Only ugen0 and ugen1 are
> created by default.

Updated port in http://junkpile.org/rtl-sdr.1.tgz, this prints textual
error messages if libusb_open() fails, and adds a printf for the
LIBUSB_ERROR_NO_DEVICE case as was already done for LIBUSB_ERROR_ACCESS.


Reply via email to