Commit Graph

454 Commits

Author SHA1 Message Date
c79775f4b6 only enable auto-ds switching if ds mode from a UI is 0 V1.3 2023-08-27 16:04:35 +12:00
ef7651cc92 follow keenerd and don't stop the i2c repeater on tuner gain/freq change. Fixes slow tune/gain changes on AMD devices apparently 2023-08-27 15:12:55 +12:00
7b16cfbbe1 Update README V1.2 2023-08-25 15:04:42 +12:00
75c3628210 Update README 2023-08-25 15:03:38 +12:00
f77ece2b3f Update README 2023-08-25 15:02:54 +12:00
c272882844 Update README 2023-08-25 15:01:53 +12:00
e870f508c8 Merge branch 'master' into next 2023-08-25 14:54:52 +12:00
18954dac9e add toggle test function for tuner register debugging purposes 2023-08-25 14:43:50 +12:00
bb5c047fa1 remove unecessary function 2023-08-25 14:31:20 +12:00
f3673e7df0 add direct sampling to rtl_sdr 2023-08-24 23:15:45 +12:00
3662ef4324 remove unneeded code 2023-08-24 01:19:22 +12:00
d80421b537 l-band lock optimizations 2023-08-24 01:02:16 +12:00
2f87dd0130 add force bias tee via EEPROM 2023-08-24 00:49:45 +12:00
1b2dcbf1be improve auto ds, and limit to R820T dongles only 2023-08-24 00:10:05 +12:00
0979750e9e add auto enable direct sampling when tuned below 28.8 MHz 2023-08-23 23:34:39 +12:00
65c8e96bb2 add -D direct sampling flag to rtl_tcp 2023-08-23 22:40:21 +12:00
8426cbe3f0 add offset tuning bias tee hack 2023-08-23 22:23:58 +12:00
d0dd9837ad align with osmocom changes 2023-08-23 15:44:28 +12:00
936fd51358 remove debug output 2023-08-23 15:40:02 +12:00
1261fbb285 add rtl-sdr blog v4 support 2023-08-23 00:34:08 +02:00
ba387da714 fix clang compiler issue, fix compiler warnings, tidy up 2023-08-21 15:16:24 +12:00
2ed800b05a Update README 2023-06-08 22:25:17 +12:00
70805d02eb minor changes to make testing easier V1.1 2023-06-08 22:20:41 +12:00
b8be1be937 add missing code + make standard r828d work 2023-05-19 01:38:38 +12:00
7700ec324d various changes
tidy up code, add manufacturer/model test for r828d, tuner hack testing
2023-05-19 00:38:05 +12:00
2a568c7948 revert change, fixed in hardware 2023-05-16 14:52:27 +12:00
c62238d98a temp fix for r828D init fail 2023-05-13 21:48:43 +12:00
a72e764bec add notch control, tidy up 2023-05-11 22:45:45 +12:00
855d3c51c4 Merge branch 'master' of https://github.com/rtlsdrblog/rtl-sdr-blog 2023-05-11 00:05:33 +12:00
7f52beefb4 Fix freq calculation 2023-05-11 00:05:18 +12:00
cd236acdc5 Update README 2023-05-10 22:58:27 +12:00
803bfc6420 Update README 2023-05-10 22:54:37 +12:00
098721d96b Remove unneeded timeout 2023-05-10 18:41:05 +12:00
acb0b5cd2a Merge pull request #13 from BatchDrake/feature/xfer-completion
lib: Fix race condition after cancellation of USB transfers
2023-05-10 18:12:00 +12:00
d9a7631208 Update .gitignore 2023-05-10 18:09:25 +12:00
a9780ca32b changes for new r828d dongles 2023-05-10 18:09:07 +12:00
48ea060ae2 Fix bias tee flag (needs no arguments) 2022-12-28 16:00:09 +13:00
a879241b99 Update README 2022-12-20 00:28:40 +13:00
242043cf0a Update README 2022-12-19 16:17:29 +13:00
fb18b21566 Update README 2022-12-19 16:16:24 +13:00
142325a93c Fix signal handler from getting stuck in an endless loop
The signal handler for SIGINT/TERM/QUIT and, importantly, SIGPIPE tries
to write an informational message to stderr. When however stderr is
redirected to a closed pipe, this will cause (another) SIGPIPE, and in
turn the signal handler will get called again, and again and again.

Since we intend to exit rtl_fm anyways, we can just ignore this signal.
2022-12-17 21:18:49 +01:00
c16a86b269 lib: Fix race condition after cancellation of USB transfers 2022-02-01 15:52:52 +01:00
5e73f90f1d lib: Stop applying workaround for libusb < 1.0.9
Librtlsdr has a workaround for libusb versions that lack
libusb_handle_events_timeout_completed, which was added in version 1.0.9
(released 2012-04-02). The workaround is always applied unless the
HAVE_LIBUSB_HANDLE_EVENTS_TIMEOUT_COMPLETED macro is set, but the cmake
code that sets this macro was removed in
849f8efca4. As a result, the workaround is
now always applied. This results in an extra 1-second delay whenever a
GNU Radio flowgraph containing an RTL-SDR block is stopped, which makes
operations like switching between demodulators in Gqrx annoyingly slow.

To solve this problem, I've simply removed the workaround, as it should
no longer be needed.

I wonder if perhaps the workaround recently applied in
2659e2df31 might stem from the same bug.
2022-01-19 17:59:16 +01:00
2659e2df31 lib: force wait state after cancel of usb transfer
..and before handling usb events

This avoids an occasional crash when closing the device on Windows.
Also see https://github.com/libusb/libusb/issues/1043.
2022-01-08 20:57:02 +01:00
d770add42e Fix minGW build
MinGW-w64 ships all Windows SDK headers as lowercase, which prevents
cross-compiling this code from Linux.
2021-09-11 19:09:17 +02:00
a4eab76c8c rtl_fm: add a new option to select 2nd direct sampling mode 2021-08-18 23:14:10 +02:00
3163b8817f rtl_tcp: put new DEFAULT_* constants in defines
Fix failures with some GCC versions:
  /usr/src/packages/BUILD/src/rtl_tcp.c:90:24: error: initializer element is not constant
   static int llbuf_num = DEFAULT_MAX_NUM_BUFFERS;

Fixes: 641c22 ("rtl_tcp: Extracted some constants out of printf strings")
Change-Id: Ia9e18d4c22d957f561dcdaf2657bb6d201374375
2021-08-18 10:32:10 +02:00
641c221fab rtl_tcp: Extracted some constants out of printf strings
The help output contained constants that should print values
based on code constants and not be hardcoded into the print strings.
2021-08-17 23:39:17 +02:00
031a044e31 Update README 2021-03-29 11:45:24 +13:00
b0fc1e1077 Update README 2021-03-29 11:45:04 +13:00