¿ªÔÆÌåÓý

Re: #sBitx WM8731 Codec #sBitx


 

Mark,
This is a lingering problem. I too don't know the answer. My safe assumption is to always blame our own code rather than the driver.
Next time, it lands in that funk, I will run aplay and arecord to see if they are showing the same problem.
- f

On Mon, Sep 4, 2023, 1:06 PM Mark Erbaugh <mark.election@...> wrote:

This is the kind of feedback I am looking for. Thanks.

My thinking was that the WM8731 is only used by the sBitx software, so it doesn¡¯t need to be part of the OS.

FWIW, I think the battery backed RTC should be setting the system clock, so it¡¯s time would be available to all programs, and I have modified my RPi configuration accordingly.

I am assuming that if you had a user space driver for the WM 8731, you could load the standard BCM audio driver in config.txt (dtparam=audio=on) and use other audio outputs on the RPi, for example the AV or HDMI jacks for stereo output (for dual receive or output from other programs). It also might allow the code to properly initialize the codec. I have seen times where the receiver appears dead or receives multiple copies of the same signals that are not where the radio is tuned, and a reboot or power cycle fixes it. I am assuming that the linux driver did not properly reset the codec.

Speaking of that, is there a way to reset the codec in those situations other than a reboot or power cycle?
--
73,
Mark, N8ME

Join [email protected] to automatically receive all group messages.