Age | Commit message (Collapse) | Author | Files | Lines |
|
When building for 4A, switch to new gstreamer-based ALSA output for
the RTL-SDR backend, and the Kingfisher backend now uses a gstreamer
pipeline for its loopback to either an ALSA or Pulse sink depending
on 4A or not. Using gstreamer instead of direct ALSA output has the
benefit of transparently handling resampling to the M3ULCB hardware's
required 48 KHz sample rate for the RTL-SDR backend.
Change-Id: I2bfbf924927bb461cce88b04aba0e626f8d71215
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
To avoid the GPL licensed code in rtl_fm.c making all of the binding
GPL, rework things to wrap it with a simple standalone helper
executable that is driven via stdin/stdout. While this could
potentially be done by running the original unmodified rtl_fm utility
itself, it would be impossible to implement scanning with that
approach without some compromising of playback latency and quality.
The current helper implementation is simple enough that replacing it
with an alternate one should be relatively straightforward if that is
desired.
Change-Id: If83b834da3999f5807d1453524ae72b1c3559c90
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Make Kingfisher support unconditional to move all platform
detection to run-time. This fixes the issue of violating the
application build workflow with the SDK. Additionally, the
Kingfisher detection has been improved with an added check
for the Si4689 device-tree node to differentiate from a
regular M3ULCB, and the Kingfisher output has been fixed for
recent BSP changes.
Change-Id: I28e18a065385205aefec974079b0a9c2d31059b6
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Change-Id: Ic5130850f76db94d86fb94e904ac5f985cf0aa30
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The Si4689 radio chip I2C bus number has shifted from i2c-11 to i2c-12.
This updates I2C bus number in SI scripts accordingly.
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
|
|
Add conditionally compilable support for the Si4689 radio on the
M3ULCB Kingfisher infotainment board. The codebase has been
refactored to allow multiple radio implementations, and when
Kingfisher support is enabled, the binding will first look for a
USB RTL-SDR adapter, then fallback to the Kingfisher Si4689 if
one is not found. This allows easily switching to a RTL-SDR
adapter if this initial Kingfisher support encounters issues.
The back end implementation relies on a patched version of the
"si_ctl" utility from Cogent Embedded's Kingfisher BSP changes.
The modifications to it add FM band plan selection and scanning
threshold tweaking for poor radio environments. Audio output is
achieved by looping the radio's PulseAudio source to the
appropriate sink depending on 4A or non-4A operation. For 4A
compatibility, the PulseAudio source is created if it does not
exist, which currently is the case due to PulseAudio's udev
module being disabled when 4A is enabled.
Additionally, the FM band plan for Japan has been corrected to go
to 95 MHz, and a README.md file has been added documenting the
optional configuration that can be done via /etc/xdg/AGL.conf for
band plan selection and scanning sensitivity.
Change-Id: I204906fed741d917fc3b8be962deadb4e59989db
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
|
|
Qmake is no longer used for building this service so remove
a lone .pro file
Change-Id: I984b0225d965a3163f920a2397988021bb8b4b44
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
The returned value was presumed to be garbage.
Change-Id: I72997d267139cc89f5dd5d325fc0512f44859b90
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The check now return a status instead of exiting the
process.
Change-Id: I70bdeb4e4b3848a0c5e743a13aecec3ed8f98600
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Recent testing found that the verbs no longer work now with the
AFB_SESSION_CHECK flag set on them and the binding split out to be
standalone from the app. Since the radio does not really need the
concept of a session, switch to AFB_SESSION_NONE to get things
working, rather than add the extra infrastructure to enable session
support.
Change-Id: I9c022eaf7a18a1094b9afb7c6bddf1a8ebc9e875
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Update structures and function calls to afm binding framework
version 2 specs
Bug-AGL: SPEC-835
Change-Id: Ie9198c4fe035e2267a1098fac7995b60e65809ec
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Switch from qmake build system to cmake avoiding the unneeded
dependency of qt
Bug-AGL: SPEC-834
Change-Id: Ifcf43b8ebadf723ec0131beda7d96f705083a1c2
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Radio binding is now standalone so the qmake build scripts need
to be updated to reflect that
Bug-AGL: SPEC-832
Change-Id: Iab9cd5d18536e416d22d91c492ef489159a62d0d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|