Projects
osmocom:nightly
rtl-sdr
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 502
View file
rtl-sdr_0.6.dsc -> rtl-sdr_2.0.0.202311022026.dsc
Changed
@@ -2,7 +2,7 @@ Source: rtl-sdr Binary: librtlsdr-dev, librtlsdr0, rtl-sdr Architecture: any -Version: 0.6 +Version: 2.0.0.202311022026 Maintainer: A. Maitland Bottoms <bottoms@debian.org> Homepage: http://sdr.osmocom.org/trac/wiki/rtl-sdr Standards-Version: 4.1.4 @@ -14,8 +14,8 @@ librtlsdr0 deb libs optional arch=any rtl-sdr deb comm optional arch=any Checksums-Sha1: - f47e2b2470d00323e30f8aa5df55e790c02c208f 108812 rtl-sdr_0.6.tar.xz + 14c5570adb3c266db92e5ebd03a0a3b704dde2b9 108964 rtl-sdr_2.0.0.202311022026.tar.xz Checksums-Sha256: - e20f5e14102c3bff009f8afa44aeabb077a6aeeb8f7445090998acd7248c2e49 108812 rtl-sdr_0.6.tar.xz + 2270f90d0808e9e81659e05d71d4ac43383581a04348b09c87bd0e48a3b6a633 108964 rtl-sdr_2.0.0.202311022026.tar.xz Files: - a347c89599019c32ec18266c144fdc00 108812 rtl-sdr_0.6.tar.xz + 47ab6314d5b992e6fbf03af57256b774 108964 rtl-sdr_2.0.0.202311022026.tar.xz
View file
rtl-sdr_0.6.tar.xz/.tarball-version -> rtl-sdr_2.0.0.202311022026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -0.5.4.46-1261.202311012026 +2.0.0.202311022026
View file
rtl-sdr_0.6.tar.xz/CMakeLists.txt -> rtl-sdr_2.0.0.202311022026.tar.xz/CMakeLists.txt
Changed
@@ -41,9 +41,9 @@ include(CMakePackageConfigHelpers) # Set the version information here -set(VERSION_INFO_MAJOR_VERSION 0) # increment major on api compatibility changes -set(VERSION_INFO_MINOR_VERSION 6) # increment minor on feature-level changes -set(VERSION_INFO_PATCH_VERSION git) # increment patch for bug fixes and docs +set(VERSION_INFO_MAJOR_VERSION 2) # increment major on api compatibility changes +set(VERSION_INFO_MINOR_VERSION 0) # increment minor on feature-level changes +set(VERSION_INFO_PATCH_VERSION 0) # increment patch for bug fixes and docs include(Version) # setup version info ########################################################################
View file
rtl-sdr_0.6.tar.xz/debian/changelog -> rtl-sdr_2.0.0.202311022026.tar.xz/debian/changelog
Changed
@@ -1,3 +1,9 @@ +rtl-sdr (2.0.0.202311022026) unstable; urgency=medium + + * Automatically generated changelog entry for building the Osmocom nightly feed + + -- Osmocom OBS scripts <info@osmocom.org> Thu, 02 Nov 2023 20:27:05 +0000 + rtl-sdr (0.6) unstable; urgency=medium * New upstream release
View file
rtl-sdr_0.6.tar.xz/debian/control -> rtl-sdr_2.0.0.202311022026.tar.xz/debian/control
Changed
@@ -17,7 +17,7 @@ Section: libdevel Architecture: any Pre-Depends: ${misc:Pre-Depends} -Depends: osmocom-nightly (= 202311012026), librtlsdr0 (= ${binary:Version}), +Depends: osmocom-nightly (= 202311022026), librtlsdr0 (= ${binary:Version}), libusb-1.0-0-dev !kfreebsd-any, libusb2-dev kfreebsd-any, ${misc:Depends} @@ -31,7 +31,7 @@ Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} -Depends: osmocom-nightly (= 202311012026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202311022026), ${misc:Depends}, ${shlibs:Depends} Multi-Arch: same Description: Software defined radio receiver for Realtek RTL2832U (library) rtl-sdr is a software defined radio (SDR) receiver software for certain @@ -41,7 +41,7 @@ Package: rtl-sdr Architecture: any -Depends: osmocom-nightly (= 202311012026), librtlsdr0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202311022026), librtlsdr0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Software defined radio receiver for Realtek RTL2832U (tools) rtl-sdr is a software defined radio (SDR) receiver software for certain low-cost DVB-T/DAB(+) USB dongles based on the Realtek RTL2832U chip.
View file
rtl-sdr_0.6.tar.xz/include/rtlsdr_i2c.h -> rtl-sdr_2.0.0.202311022026.tar.xz/include/rtlsdr_i2c.h
Changed
@@ -2,6 +2,7 @@ #define __I2C_H int rtlsdr_check_dongle_model(void *dev, char *manufact_check, char *product_check); +int rtlsdr_set_bias_tee_gpio(void *dev, int gpio, int on); uint32_t rtlsdr_get_tuner_clock(void *dev); int rtlsdr_i2c_write_fn(void *dev, uint8_t addr, uint8_t *buf, int len); int rtlsdr_i2c_read_fn(void *dev, uint8_t addr, uint8_t *buf, int len);
View file
rtl-sdr_0.6.tar.xz/src/rtl_sdr.c -> rtl-sdr_2.0.0.202311022026.tar.xz/src/rtl_sdr.c
Changed
@@ -55,6 +55,7 @@ "\t-b output_block_size (default: 16 * 16384)\n" "\t-n number of samples to read (default: 0, infinite)\n" "\t-S force sync output (default: async)\n" + "\t-D enable direct sampling (default: off)\n" "\tfilename (a '-' dumps samples to stdout)\n\n"); exit(1); } @@ -113,6 +114,7 @@ int r, opt; int gain = 0; int ppm_error = 0; + int direct_sampling = 0; int sync_mode = 0; FILE *file; uint8_t *buffer; @@ -122,7 +124,7 @@ uint32_t samp_rate = DEFAULT_SAMPLE_RATE; uint32_t out_block_size = DEFAULT_BUF_LENGTH; - while ((opt = getopt(argc, argv, "d:f:g:s:b:n:p:S")) != -1) { + while ((opt = getopt(argc, argv, "d:f:g:s:b:n:p:SD")) != -1) { switch (opt) { case 'd': dev_index = verbose_device_search(optarg); @@ -149,6 +151,9 @@ case 'S': sync_mode = 1; break; + case 'D': + direct_sampling = 1; + break; default: usage(); break; @@ -198,6 +203,11 @@ #else SetConsoleCtrlHandler( (PHANDLER_ROUTINE) sighandler, TRUE ); #endif + + /* Set direct sampling */ + if (direct_sampling) + verbose_direct_sampling(dev, 2); + /* Set the sample rate */ verbose_set_sample_rate(dev, samp_rate);
View file
rtl-sdr_0.6.tar.xz/src/rtl_tcp.c -> rtl-sdr_2.0.0.202311022026.tar.xz/src/rtl_tcp.c
Changed
@@ -105,6 +105,7 @@ printf("\t-d device index (default: 0)\n"); printf("\t-P ppm_error (default: 0)\n"); printf("\t-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)\n"); + printf("\t-D enable direct sampling (default: off)\n"); exit(1); } @@ -385,7 +386,7 @@ struct sockaddr_storage local, remote; struct addrinfo *ai; struct addrinfo *aiHead; - struct addrinfo hints; + struct addrinfo hints = { 0 }; char hostinfoNI_MAXHOST; char portinfoNI_MAXSERV; char remhostinfoNI_MAXHOST; @@ -396,6 +397,7 @@ int dev_given = 0; int gain = 0; int ppm_error = 0; + int direct_sampling = 0; struct llist *curelem,*prev; pthread_attr_t attr; void *status; @@ -413,7 +415,7 @@ struct sigaction sigact, sigign; #endif - while ((opt = getopt(argc, argv, "a:p:f:g:s:b:n:d:P:T")) != -1) { + while ((opt = getopt(argc, argv, "a:p:f:g:s:b:n:d:P:TD")) != -1) { switch (opt) { case 'd': dev_index = verbose_device_search(optarg); @@ -446,6 +448,9 @@ case 'T': enable_biastee = 1; break; + case 'D': + direct_sampling = 1; + break; default: usage(); break; @@ -482,6 +487,10 @@ SetConsoleCtrlHandler( (PHANDLER_ROUTINE) sighandler, TRUE ); #endif + /* Set direct sampling */ + if (direct_sampling) + verbose_direct_sampling(dev, 2); + /* Set the tuner error */ verbose_ppm_set(dev, ppm_error); @@ -562,7 +571,7 @@ setsockopt(listensocket, SOL_SOCKET, SO_REUSEADDR, (char *)&r, sizeof(int)); setsockopt(listensocket, SOL_SOCKET, SO_LINGER, (char *)&ling, sizeof(ling)); - if (bind(listensocket, (struct sockaddr *)&local, sizeof(local))) + if (bind(listensocket, (struct sockaddr *)&local, aiHead->ai_addrlen)) fprintf(stderr, "rtl_tcp bind error: %s", strerror(errno)); else break;
View file
rtl-sdr_0.6.tar.xz/src/tuner_r82xx.c -> rtl-sdr_2.0.0.202311022026.tar.xz/src/tuner_r82xx.c
Changed
@@ -1154,6 +1154,12 @@ if (rc < 0) goto err; + /* Control upconverter GPIO switch on newer batches */ + rc = rtlsdr_set_bias_tee_gpio(priv->rtl_dev, 5, !cable_2_in); + + if (rc < 0) + goto err; + /* activate cable 1 (VHF input) */ cable_1_in = (band == VHF) ? 0x40 : 0x00; rc = r82xx_write_reg_mask(priv, 0x05, cable_1_in, 0x40);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.