Anyone has tried out the 5.10-rcx kernel yet?

Ok. Is there any specific audio config needed?

@Spikerguy No. If you use VIM3. No need for any changes, the audio works normally.

I mean which configs are needed in kernel config?

@Spikerguy I think you should just have no configuration right, you can refer to our configuration

state.G12BKHADASVIM3 {
	control.1 {
		iface MIXER
		name 'TDMOUT_A Lane 0 Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 255'
		}
	}
	control.2 {
		iface MIXER
		name 'TDMOUT_A Lane 1 Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 255'
		}
	}
	control.3 {
		iface MIXER
		name 'TDMOUT_A Lane 2 Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 255'
		}
	}
	control.4 {
		iface MIXER
		name 'TDMOUT_A Lane 3 Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 255'
		}
	}
	control.5 {
		iface MIXER
		name 'TDMOUT_A Gain Enable Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 5
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access read
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.7 {
		iface PCM
		device 5
		name ELD
		value '100008006a10000100000000000000004cf45601416f58696e5975616e200907070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read volatile'
			type BYTES
			count 128
		}
	}
	control.8 {
		iface MIXER
		name 'FRDDR_A SRC 1 EN Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'FRDDR_A SRC 2 EN Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'FRDDR_A SRC 3 EN Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'FRDDR_A SINK 1 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.12 {
		iface MIXER
		name 'FRDDR_A SINK 2 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.13 {
		iface MIXER
		name 'FRDDR_A SINK 3 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.14 {
		iface MIXER
		name 'FRDDR_B SRC 1 EN Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'FRDDR_B SRC 2 EN Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'FRDDR_B SRC 3 EN Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'FRDDR_B SINK 1 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.18 {
		iface MIXER
		name 'FRDDR_B SINK 2 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.19 {
		iface MIXER
		name 'FRDDR_B SINK 3 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.20 {
		iface MIXER
		name 'FRDDR_C SRC 1 EN Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.21 {
		iface MIXER
		name 'FRDDR_C SRC 2 EN Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'FRDDR_C SRC 3 EN Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'FRDDR_C SINK 1 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.24 {
		iface MIXER
		name 'FRDDR_C SINK 2 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.25 {
		iface MIXER
		name 'FRDDR_C SINK 3 SEL'
		value 'OUT 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'OUT 0'
			item.1 'OUT 1'
			item.2 'OUT 2'
			item.3 'OUT 3'
			item.4 'OUT 4'
			item.5 'OUT 5'
			item.6 'OUT 6'
			item.7 'OUT 7'
		}
	}
	control.26 {
		iface MIXER
		name 'TOHDMITX I2S SRC'
		value 'I2S A'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'I2S A'
			item.1 'I2S B'
			item.2 'I2S C'
		}
	}
	control.27 {
		iface MIXER
		name 'TOHDMITX Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'TOHDMITX SPDIF SRC'
		value 'SPDIF A'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'SPDIF A'
			item.1 'SPDIF B'
		}
	}
	control.29 {
		iface MIXER
		name 'TDMOUT_A SRC SEL'
		value 'IN 0'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'IN 0'
			item.1 'IN 1'
			item.2 'IN 2'
		}
	}
}

2 Likes

Yes seems to work fine after using khadas config so I assume we have been missing CONFIG_RESET_MESON_AUDIO_ARB

Recompiling our linux-rc with our config and with CONFIG_RESET_MESON_AUDIO_AR enabled.

Update: Yes CONFIG_RESET_MESON_AUDIO_AR was missing for us since long time. Finally I have audio on mainline kernels :smiley:

3 Likes

@Spikerguy Have you confirmed that the wifi of VIM3L is normal? All the board wifi functions are normal, except for VIM3L, I haven’t found the reason.

I cannot seem to get it to boot on mainline kernel.

I will try it over this weekend I hope it will work this time.

1 Like

@Spikerguy Hope that will be good news, if you need our help, you can feedback here

3 Likes

Hi! I updated to 5.10-rc6 yesteday, and started seeing a bunch of warnings in dmesg:

[   19.048728]  fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0

By reading this thread it seems like the problem is related to sound/alsa. Any idea how to solve it?

Here is my alsa-info output.

And here’s the output of aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: G12BKHADASVIM3 [G12B-KHADAS-VIM3], device 0: fe.dai-link-0 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: G12BKHADASVIM3 [G12B-KHADAS-VIM3], device 1: fe.dai-link-1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: G12BKHADASVIM3 [G12B-KHADAS-VIM3], device 2: fe.dai-link-2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

@Marco The sourd card work fine with 5.10-rc6 , you can ignore this message

Hi Frank!

Sounds good (heh)

but is there a way to make the warning disappear? It is spamming over the serial console. So far I uninstalled pulseaudio to get rid of it.

@Marco You can remove this part in dts and rebuild the image

see LibreELEC.tv/soundconfig at amlogic · chewitt/LibreELEC.tv · GitHub

1 Like