Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide AUDIOPHONICS RaspDAC Mini Kit - I-Sabre ES9038Q2M
Okay, so I think I made switching SPDIF/I2S with lirc finally work. It would have worked from the very begining, but I haven`t spotted one very important thing. Brainlessly I`ve been pasteing:

begin
prog = irexec
button = KEY_MENU
config = if amixer sget -c 1 'I2S/SPDIF Select' | grep Item0: | grep -q I2S;then amixer sset -c 1  'I2S/SPDIF Select' SPDIF; else amixer sset -c 1  'I2S/SPDIF Select' I2S; fi
end

to my lircrc file. In Putty I have applied command "irexec" which (after pushing button responsible for switching) showed that the device is wrong. All I had to do was to make only a few changes in those lines - changing "-c 1" to "-c 0":

begin
prog = irexec
button = KEY_MENU
config = if amixer sget -c 0 'I2S/SPDIF Select' | grep Item0: | grep -q I2S;then amixer sset -c 0  'I2S/SPDIF Select' SPDIF; else amixer sset -c 0  'I2S/SPDIF Select' I2S; fi
end

Everything works fine now Smile
Reply


Messages In This Thread
RE: AUDIOPHONICS RaspDAC Mini Kit - I-Sabre ES9038Q2M - by jackobtone - 12-30-2020, 12:33 PM

Forum Jump: