FM radio not working
Normally on Volla devices this would be https://github.com/HelloVolla/ubuntu-touch-beta-tests/issues/158 (FM radio only works with a special application
) but in this cases it appears the app (https://github.com/JamiKettunen/fmradio-volla/tree/focal) will need further changes to work on the X23.
At least sudo chmod 666 /dev/fm
(or perhaps change group in udev rules) is required due to permission issue accessing it, but also the audio switching logic in https://github.com/JamiKettunen/fmradio-volla/blob/focal/plugins/MediatekRadio/MediatekRadio.cpp#L80 will need to be more flexible.
Currently the following is emitted in journalctl --user -f
if FM radio activation is attempted:
Jul 27 10:48:25 ubuntu-phablet aa-exec[5404]: No source found by this name or index.
Jul 27 10:48:26 ubuntu-phablet pulseaudio[2777]: No such source.
Jul 27 10:48:26 ubuntu-phablet pulseaudio[2777]: Failed to load module "module-loopback" (argument: "source=source.droid sink=sink.primary_output"): initialization failed.
Jul 27 10:48:26 ubuntu-phablet aa-exec[5406]: Failure: Module initialization failed
Jul 27 10:48:26 ubuntu-phablet aa-exec[5412]: Failed to get source information: No such entity
On X23 the input source appears to be called source.primary_input
(instead of source.droid
like on previous models) but the input-fm_tuner
port isn't listed under any source in pactl list
, but just under the droid_card.primary
which is a problem if we want to activate it...
Also most likely related: #7