Rafael Diniz

Results 177 comments of Rafael Diniz

Hi @sbeckman ! Thanks for your wonderful work! The logic seems right, but I don't understand how rx_gain changes just the radio rx ALSA control instead of both radio rx...

I really love the wm8731 tbh. Alsa provides individual left/right controls which are easily usable for automatic gain adjustment. I'm implementing this code right now. Soon I can share an...

Hi @sbeckman! Thanks for the anwser. There is API, as I mentioned. Instead of using, for example, ``` snd_mixer_selem_set_playback_volume_all() ``` use ``` snd_mixer_selem_set_playback_volume() ``` with the channel set as parameter...

Hi Farhan. The only thing that could be better, is that the pins chosen for the second i2c are not pins that can act as a hardware i2c controller (Both...

> Steve, At the moment, we don't have a candidate replacement for the WM8731. It took me almost 6 months to get it to work. The main trouble with this...

I implemented per channel alsa mixer calls. For the reference (eg. this is the call to set speaker volume): https://github.com/Rhizomatica/hermes-net/blob/3f87abf81e594034471ee9834eb8eabc8504f960/trx_v3-userland/sbitx_alsa.c#L247

Just as a side note, I'm maintaining the WiringPi code (with support for armhf and arm64) as long as sbitx uses it. Here is the code: https://github.com/Rhizomatica/WiringPi RichNeese, as an...

I re-wrote all the GPIO code using gpiolib here: https://github.com/Rhizomatica/sbitx-core/tree/gpiolib i2c is also done using libi2c and kernel-mode i2c bit-banging.

WiringPi is now maintained again. No point of moving away from it.

I agree this is good solution. For less code verbosity, an atomic variable and spinlock could be used too. G8KIG, could you make a PR? I could review it.