Hi,
I have installed a Hifiberry DAC+ DSP on a Raspberry 4 running OSMC. I also installed the dsptoolkit and i can control the volume through amixer or alsamixer.
I would like to control the hardware volume with a rf remote (not the hifiberry one). I plan to unmap the volume keys from Kodi and use the remote control amixer instead. I know I will lose the software volume control from tools like Yatse :)
My goal is to connect my TV Toslink output to the board input and control both Kodi and TV volume from a remote.
I looked for asound configuration files in a HifiberryOs installation to copy but i found severals files and I don't know what does what :) I'm not a Linux specialist so reading asound files is quite a challenge.
Is there a simple way to map the remote volume keys directly to the Hifiberry card outside of HifiberryOS ?
I found some exemples but I'm not sure if they are OK. They didn't work when I tried them :
pcm.volume {
type hw
card 0
}
ctl.volume {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "volume"
}
ctl.!default {
type hw
card 0
}
Thanks for any response !
Cheers, Yannick !