On Fri, Jan 17, 2014 at 7:55 PM, Nikos Balkanas nikos.balkanas@eyeonix.comwrote:
I need to manipulate the tuners bandpass behavior. I have exported 2 more functions from librtlsdr, rtlsdr_set_filter_bw and rtlsdr_get_filter_bw and change the channel filter. However, when I use them I get libusb error(-22) **UNKNOWN ERROR**. I have tried bracketing the call with start/stop i2c repeater and disable/enable channel to no avail :-( It errs both when setting filter to 5.5 Mhz (max) and to 2.1 Mhz (min). What is going on? What other context should I provide for it to work
I was barking up the wrong tree. Error was -EINVAL from librtlsdr. I was passing the wrong filter argument and librtlsdr was complaining about it :-( Fixed it, added a couple of i2c repeaters, and it works like a charm ;-)
TIA, Nikos