Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup - only build ampliphase binary | Felix Erckenbrecht | 2022-03-25 | 9 | -2453/+6 |
| | |||||
* | Merge branch 'master' into ampliphase: Get lib updates and other fixes | Felix Erckenbrecht | 2022-03-25 | 2 | -17/+26 |
|\ | |||||
| * | lib: revert implementing RGB233 mode | Steve Markgraf | 2020-06-02 | 1 | -19/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will soon have support for a palette mode, which can replicate the RGB233 mode if required, or any custom arrangement of bits per color. Furthermore, the RGB233 mode did not work correctly in this state, as we did not implement swapping of the 32 bit words. This reverts the following commits: 58de0a5bccb6648ee3372643517ea51b3ab5b523 3f44f8fc224c6b0b45a824109619f993e0b87552 b82303f44fc8388817306235a673e0bfa671dd3f | ||||
| * | lib: fix hang on exit | Steve Markgraf | 2020-05-26 | 1 | -0/+3 |
| | | | | | | | | | | As the sample worker thread might still be waiting for a buffer, we need to wake it up first before trying to join. | ||||
| * | lib: reuse hint message when zero-copy buffer alloc fails | Steve Markgraf | 2020-05-26 | 1 | -8/+9 |
| | | |||||
| * | lib: implement enabling RGB332 mode | Sergey Alirzaev | 2020-05-19 | 1 | -7/+19 |
| | | | | | | | | | | | | | | I've decided to provide a separate pointer for a raw buffer in case the library user comes up with a non-RGB332 use case that avoids byte rearrangement (and copying should be replaced with pulling from the user's pointer in this case) | ||||
| * | lib: fall back to iface 1 in case iface 0 altsetting 1 fails | Steve Markgraf | 2020-01-26 | 1 | -2/+7 |
| | | | | | | | | | | | | | | Some people on the mailing list reported that with older kernels setting interface 0 altsetting 1 does not work, fall back to the old behavior in this case for now, while still investigating the root cause of this problem. | ||||
| * | lib: use interface 0 altsetting 1 instead of interface 1 | Steve Markgraf | 2020-01-19 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | This makes osmo-fl2k work again with Linux 5.5.0-rc6 or later, as the FL2000 shares the endpoints for interface 0 and 1, which is forbidden by the USB spec and the Kernel will not ignore this anymore. See: https://marc.info/?l=linux-usb&m=157944230213296&w=2 | ||||
| * | fix compiler warnings | Steve Markgraf | 2020-01-19 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | warning: absolute value function ‘fabsf’ given an argument of type ‘double’ but has parameter of type ‘float’ which may cause truncation of value warning: ‘__builtin_strncpy’ specified bound 64 equals destination size | ||||
* | | Bugfix: Dont modulate twice | Felix Erckenbrecht | 2022-03-24 | 1 | -3/+3 |
| | | |||||
* | | Improve usage message | Felix Erckenbrecht | 2022-03-24 | 1 | -1/+3 |
| | | |||||
* | | Updates & corrections for usage info | Felix Erckenbrecht | 2022-03-24 | 1 | -4/+5 |
| | | |||||
* | | Add missing parameter: modulation index | Felix Erckenbrecht | 2022-03-24 | 1 | -4/+8 |
| | | |||||
* | | ran 'correct indentation' | Felix Erckenbrecht | 2022-03-24 | 1 | -293/+293 |
| | | |||||
* | | Work in progress: Refactor IQ mod to Ampliphase mod | Felix Erckenbrecht | 2022-03-24 | 1 | -86/+209 |
| | | |||||
* | | Print messages to stdout | Felix Erckenbrecht | 2022-02-09 | 1 | -3/+5 |
| | | |||||
* | | Add 'ignore eof' option | Felix Erckenbrecht | 2022-02-09 | 1 | -1/+9 |
| | | |||||
* | | Implement swap I/Q option | Felix Erckenbrecht | 2020-07-31 | 1 | -11/+19 |
| | | |||||
* | | Turn double to float | Felix Erckenbrecht | 2020-07-31 | 1 | -23/+24 |
| | | |||||
* | | Use previous amplitude as start and slope towards actual amplitude | Felix Erckenbrecht | 2020-07-31 | 1 | -2/+2 |
| | | |||||
* | | Bugfix: allocate correct amount of memory | Felix Erckenbrecht | 2020-07-31 | 1 | -2/+2 |
| | | |||||
* | | Set default samplerate to 96 MS/s | Felix Erckenbrecht | 2020-07-31 | 1 | -2/+2 |
| | | |||||
* | | Make shared variable volatile | Felix Erckenbrecht | 2020-07-31 | 1 | -1/+2 |
| | | |||||
* | | Remove unused option | Felix Erckenbrecht | 2020-07-31 | 1 | -1/+1 |
| | | |||||
* | | Lock mutex before calling cond_wait or cond_signal | Felix Erckenbrecht | 2020-07-31 | 1 | -0/+8 |
| | | |||||
* | | Refactor rename mutex | Felix Erckenbrecht | 2020-07-31 | 1 | -3/+3 |
| | | |||||
* | | Bugfix: Fixed typo that lead to I-baseband sample being used twice and Q not ↵ | Felix Erckenbrecht | 2020-07-26 | 1 | -1/+1 |
| | | | | | | | | at all | ||||
* | | Implement proper amplitude scaling by 1/sqrt(2) to achieve correct amplitude | Felix Erckenbrecht | 2020-07-26 | 1 | -5/+5 |
| | | |||||
* | | Refactor AM modulator into IQ modulator (work in progress) | Felix Erckenbrecht | 2020-07-26 | 2 | -83/+91 |
| | | |||||
* | | fl2k_am working | Felix Erckenbrecht | 2020-04-18 | 2 | -1/+509 |
| | | |||||
* | | Bugfix: Generate proper baseband - code was shifted by one bit | Felix Erckenbrecht | 2019-11-24 | 1 | -2/+4 |
| | | |||||
* | | Rename mutexes | Felix Erckenbrecht | 2019-11-02 | 1 | -9/+4 |
| | | |||||
* | | Precalculate baseband samples | Felix Erckenbrecht | 2019-11-02 | 1 | -1/+1 |
| | | |||||
* | | Precalculate baseband samples | Felix Erckenbrecht | 2019-11-02 | 1 | -35/+57 |
| | | |||||
* | | Include garage door opener (12 Bit code) | Felix Erckenbrecht | 2019-11-02 | 2 | -1/+536 |
| | | |||||
* | | Rename delta_freq to deviation | Felix Erckenbrecht | 2019-11-01 | 1 | -3/+3 |
|/ | |||||
* | fl2k_tcp: don't free buffer while lib still uses it | Steve Markgraf | 2019-08-26 | 1 | -1/+1 |
| | | | | | This sometimes caused a segfault when terminating fl2k_tcp. | ||||
* | improve exit handling on device removal | Steve Markgraf | 2019-08-26 | 5 | -11/+35 |
| | |||||
* | lib: wait for sample worker thread before freeing buffers | Steve Markgraf | 2019-08-25 | 1 | -0/+2 |
| | | | | | | | This fixes a segfault when exiting, as sometimes it occured that the USB worker thread completed before the sample worker thread, and the buffers the latter was still accessing had already been freed. | ||||
* | fl2k_file: check read return value before repeating | Steve Markgraf | 2019-08-25 | 1 | -1/+1 |
| | | | | | In case of a FIFO that has been closed or a 0 byte file this will otherwise lead to an endless loop. | ||||
* | fl2k_fm: make inline functions static | Steve Markgraf | 2019-08-25 | 1 | -7/+7 |
| | | | | | Otherwise the linker will complain when building with -DCMAKE_BUILD_TYPE=Debug | ||||
* | lib: Add workaround for Linux usbfs mmap() bug | Steve Markgraf | 2018-10-07 | 1 | -2/+17 |
| | | | | | | | | | | | | 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> | ||||
* | lib: add I2C support | Steve Markgraf | 2018-06-17 | 1 | -0/+101 |
| | | | | | | | Note that the FL2000 only supports I2C transfers with a fixed length of 4 bytes. Signed-off-by: Steve Markgraf <steve@steve-m.de> | ||||
* | fix sleep durations on Windows | Steve Markgraf | 2018-06-17 | 4 | -39/+24 |
| | | | | Signed-off-by: Steve Markgraf <steve@steve-m.de> | ||||
* | enable multiarch build by means of GNUInstallDirs | Thorsten Alteholz | 2018-06-03 | 1 | -2/+4 |
| | | | | This patch is taken from the osmo-fl2k debian package. | ||||
* | libusb-1.0.22 deprecated libusb_set_debug() with libusb_set_option() | Harald Welte | 2018-06-03 | 1 | -0/+4 |
| | | | | | | | | | | | This avoids the following compiler warnings when using more recent versions of libusb: src/libosmo-fl2k.c:384:2: warning: ‘libusb_set_debug’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(dev->ctx, 3); ^~~~~~~~~~~~~~~~ Details can be found at https://github.com/libusb/libusb/commit/539f22e2fd916558d11ab9a66f10f461c5593168 | ||||
* | fl2k_file: support reading from stdin | Steve Markgraf | 2018-05-23 | 1 | -4/+11 |
| | | | | | | Thanks to Ted Yapo for reporting. Signed-off-by: Steve Markgraf <steve@steve-m.de> | ||||
* | lib: update output on zero-copy allocation | Steve Markgraf | 2018-05-01 | 1 | -2/+3 |
| | | | | Signed-off-by: Steve Markgraf <steve@steve-m.de> | ||||
* | lib: free zero-copy buffers in case of error | Steve Markgraf | 2018-05-01 | 1 | -4/+17 |
| | | | | Signed-off-by: Steve Markgraf <steve@steve-m.de> | ||||
* | fl2k_fm: add missing help text for stereo and rds | Steve Markgraf | 2018-04-27 | 1 | -0/+2 |
| | | | | Signed-off-by: Steve Markgraf <steve@steve-m.de> |