Hi folks,
something wasn't quite right with current git master of rtl-sdr, since
it wouldn't detect the Fitipower FC0012 tuner on a couple (dozen) of my
dongles.
So, I had a quick git-bisect session that basically went:
git checkout master
git bisect start
[build]
[connect dongle]
build/src/rtl_eeprom | grep "Found Fitipower"
then git bisect good
else git bisect bad
[disconnect dongle]
jump back to build, rinse, repeat
turns out, when you _initialize_ the dongle with an older version, it
works, even with the newer revisions (hence my un- and replugging
exercises).
The (reproducibly) offending commit is the GPO/GPD register swap in
ba64a74 : librtlsdr.c, l. 570,
- rtlsdr_write_reg(dev, SYSB, GPO, r & ~gpio, 1);
+ rtlsdr_write_reg(dev, SYSB, GPD, r & ~gpio, 1);
Now, that commit's msg mentions
http://lea.hamradio.si/~s57uuu/mischam/rtlsdr/ports.html
and I don't want to break their application, but I can't get my dongles
to run :(
How to proceed from here? I'm not quite sure what I'd break if I just
reverted that commit; _my_ R820T dongle continues to work if I revert,
but I'm sure this commit didn't come out of thin air.
Best regards,
Marcus