Can't turn off iqaudio-dac-overlay

I built my own IR receiver and I turned on GPIO support to use it. While testing I saw that I had a soundcard overlay enabled. Turns out, it turns on automatically for me when I enable LIRC GPIO support. I’ve tried turning it off a half dozen times now and it’s always back on when I go to check.

Edit: This may not be lirc gpio related. I don’t seem to be able to turn off iqaudio-dac-overlay no matter what I do.

Can you paste a copy of your /boot/config.txt ?

osmc@osmc:~$ cat /boot/config.txt 
gpu_mem_1024=64
gpu_mem_256=64
gpu_mem_512=64
over_voltage=0
force_turbo=0
over_voltage_sdram=0
core_freq=450
initial_turbo=0
start_x=1
max_usb_current=1
sdtv_aspect=1
disable_overscan=1
arm_freq=900
sdram_freq=450
dtoverlay=iqaudio-dacplus-overlay
hdmi_ignore_cec_init=1

osmc@osmc:/boot$ ls -al|grep config.txt
-rwxr-xr-x  1 root root     272 May  7 05:20 config.txt

I’m not sure if changes to the soundcare overlay in OSMC Settings should reflect immediately in config.txt, but they’re not.

Something went very, very wrong with my OSMC install so I had to re-install. No sound card overlay now, will let you know if the problem reoccurs.

For the record, the config.txt SHOULD be getting edited when the Pi Settings window is closed. If it happens again, switch on debugging and reproduce the issue. There is a tonne of info dropped into the logs that will indicate what the problem is.