Commit Graph

400 Commits

Author SHA1 Message Date
rtlsdrblog
7700ec324d various changes
tidy up code, add manufacturer/model test for r828d, tuner hack testing
2023-05-19 00:38:05 +12:00
rtlsdrblog
2a568c7948 revert change, fixed in hardware 2023-05-16 14:52:27 +12:00
rtlsdrblog
c62238d98a temp fix for r828D init fail 2023-05-13 21:48:43 +12:00
rtlsdrblog
a72e764bec add notch control, tidy up 2023-05-11 22:45:45 +12:00
rtlsdrblog
855d3c51c4 Merge branch 'master' of https://github.com/rtlsdrblog/rtl-sdr-blog 2023-05-11 00:05:33 +12:00
rtlsdrblog
7f52beefb4 Fix freq calculation 2023-05-11 00:05:18 +12:00
rtlsdrblog
cd236acdc5
Update README 2023-05-10 22:58:27 +12:00
rtlsdrblog
803bfc6420
Update README 2023-05-10 22:54:37 +12:00
rtlsdrblog
098721d96b Remove unneeded timeout 2023-05-10 18:41:05 +12:00
rtlsdrblog
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
krakenrf
d9a7631208 Update .gitignore 2023-05-10 18:09:25 +12:00
krakenrf
a9780ca32b changes for new r828d dongles 2023-05-10 18:09:07 +12:00
rtlsdrblog
48ea060ae2
Fix bias tee flag (needs no arguments) 2022-12-28 16:00:09 +13:00
rtlsdrblog
a879241b99
Update README 2022-12-20 00:28:40 +13:00
rtlsdrblog
242043cf0a
Update README 2022-12-19 16:17:29 +13:00
rtlsdrblog
fb18b21566
Update README 2022-12-19 16:16:24 +13:00
Gonzalo José Carracedo Carballal
c16a86b269 lib: Fix race condition after cancellation of USB transfers 2022-02-01 15:52:52 +01:00
rtlsdrblog
031a044e31
Update README 2021-03-29 11:45:24 +13:00
rtlsdrblog
b0fc1e1077
Update README 2021-03-29 11:45:04 +13:00
rtlsdrblog
98106d8057
Update README 2020-03-17 15:50:56 +13:00
rtlsdrblog
664781736d
Update README 2020-03-15 12:01:31 +13:00
rtlsdrblog
dc6dd6ae47
Update README 2020-01-22 12:07:52 +13:00
rtlsdrblog
c36500ddc9
Update README 2019-12-31 12:59:53 +13:00
rtlsdrblog
3380a12520
Update README 2019-12-20 20:14:38 +13:00
rtlsdrblog
5d87307bf3
Update README 2019-12-20 20:13:56 +13:00
rtlsdrblog
82b7ab5213
Update README 2019-12-20 17:44:50 +13:00
rtlsdrblog
c868a614cb Remove build folder 2019-11-01 18:37:57 +13:00
rtlsdrblog
dd0759fc52
Update README 2019-11-01 18:28:17 +13:00
rtlsdrblog
0293c8de9f
Update README 2019-11-01 18:21:23 +13:00
rtlsdrblog
47dc55765b
Update README 2019-11-01 18:15:47 +13:00
rtlsdrblog
31ad06018f
Update README 2019-11-01 17:36:54 +13:00
rtlsdrblog
4ff1c4f74f
Enable EEPROM to force direct sampling mode
Re-purpose remote-enabled EEPROM flag to determine if direct sampling mode should be forced ON. Useful for apps that don't have any direct sampling mode settings in their GUI.
2019-11-01 17:34:12 +13:00
rtlsdrblog
4f6c1b2e98
Enable EEPROM to force direct sampling mode
Re-purpose remote-enabled EEPROM flag to determine if direct sampling mode should be forced ON. Useful for apps that don't have any direct sampling mode settings in their GUI.
2019-11-01 17:33:14 +13:00
rtlsdrblog
8a3d6a919f
offset tuning -> bias tee hack
Use the offset tuning button to enable the bias tee on the V3. Offset tuning is not used for the R820T so this is okay and allows us to toggle the bias tee on software that hasn't implemented specific bias tee controls.
2019-11-01 15:42:27 +13:00
rtlsdrblog
6f9efc9343 lband opts 2019-10-18 06:55:36 +01:00
rtlsdrblog
9b900be7c6 fix EEPROM always on bias tee 2019-10-18 05:10:08 +01:00
rtlsdrblog
65ea7235bc add rtl_biast, add biast EEPROM hack 2019-10-17 13:18:24 +01:00
rtlsdrblog
9d3d8a5faf direct sampling added to rtl_tcp 2019-10-11 13:23:38 +01:00
rtlsdrblog
775daa821f
Merge pull request #1 from blinick/wip_rtltcp_ringbuf
Wip rtltcp ringbuf
2019-10-11 19:48:13 +13:00
rtlsdrblog
f26bf11bbd
Max VCO currents
Better L-Band locks
2019-10-11 15:06:50 +13:00
Steve Markgraf
81833a1cf6 lib: disable usbfs zero-copy support by default
Although we added a detection mechanism for the presence of the Kernel
bug earlier, reading from the incorrectly mapped memory might cause a
bus error on some ARM systems.

With the overall performance benefit being rather minimal for the
data rates of rtl-sdr, disable zero-copy by default.
2019-07-16 23:49:48 +02:00
Steve Markgraf
be1d1206bf lib: fix memory leak in rtlsdr_open()
Thanks to Vincent Perrier for reporting the bug.
2019-07-16 23:31:31 +02:00
Oliver Smith
7f2ae12548 contrib/jenkins.sh: run "make maintainer-clean"
Related: OS#3047
Signed-off-by: Oliver Smith <osmith@sysmocom.de>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2019-07-16 23:19:46 +02:00
Stephen Blinick
da0c8ea073 Clean out stale data in ring buffer when client disconnects. 2019-02-10 15:23:42 -07:00
Stephen Blinick
d0e7dcde04 Perf: Replace rtl_tcp linked list with ring buffer
Removed the linked list structure, locking, and malloc/free on each USB callback.
Replaced it with a non blocking ring buffer for performance.  This resulted
in a large performance improvement when using an Raspberry Pi or Raspberry Pi Zero W
as a rtl_tcp server.  The sample rate could be doubled and instead of wired ethernet
wifi could be used.  Frequnecy change lag was reduced greatly also.

Signed-off-by: Stephen Blinick <stephen@stesoft.com>
2019-02-10 10:20:48 -07:00
Steve Markgraf
f68bb2fa77 lib: Add workaround for Linux usbfs mmap() bug
The Linux Kernel has a bug on ARM/ARM64 systems where the USB CMA
memory is incorrectly mapped to userspace, breaking zerocopy.

When the Kernel allocates the memory, it clears it with memset().
If the mapping worked correctly, we should have zeroed out buffers,
if it doesn't, we get random Kernel memory. We now check for this,
and fall back to buffers in userspace if that's the case.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2018-10-07 01:25:07 +02:00
Steve Markgraf
c4452b6d5a change version to 0.6git
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2018-10-07 01:00:49 +02:00
Steve Markgraf
1f0eafe604 change version to 0.6.0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2018-08-26 14:54:51 +02:00
David Woodhouse
9047eef701 Fix inline functions to use 'static inline'
With just 'inline', if the compiler decides not to inline them, it isn't
required to emit them at all. For some targets with -Os that is causing
build failures, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86360.

Perhaps we might consider using '__attribute__((always_inline))' for
GCC builds, but 'static inline' is a good start.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2018-07-03 23:59:01 +02:00
Harald Welte
8a26abaf79 Add Debian packaging information
This allows (among others) to build rtl-sdr nightly packages
for a variety of distributions as part of the network:osmocom:nightly
builds
2018-06-03 15:19:53 +02:00