narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
Cheaterman has joined #linux-amlogic
doppo has quit [Quit: leaving]
doppo has joined #linux-amlogic
doppo has quit [Client Quit]
doppo has joined #linux-amlogic
camus has joined #linux-amlogic
Ballerburg9005 has quit [Ping timeout: 264 seconds]
camus has quit [Remote host closed the connection]
camus has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
hexdump0815 has quit [Ping timeout: 268 seconds]
hexdump0815 has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
ldevulder has joined #linux-amlogic
f_ has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
<jbrunet> xdarklight: alsa API (alsamixer/amixer) is enough on every SoC to properly set the routes. This is actually the only way to tweak alsa kcontrols.
<jbrunet> There is an infinite number of valid config which depends on the platform but also the current use-case
<jbrunet> Each SoC boots up in the reset configuration of the registers which does not provide a valid confguration on Amlogic.
<jbrunet> For example, on G12 which of the 3 Playback PCM should feed HDMI. All 3 are equally valid. You may even which to switch from one the other at runtime.
<jbrunet> This can't be handled in the kernel.
<jbrunet> Once you've got a config you are happy with, you can use 'alsactl' to save a restore the card controls (easy to automate on boot)
<jbrunet> Alsa UCM is something a bit more complicated to help libraries such as pulseaudio or pipewire figure out things automatically. I have something ongoing for it but it is not there yet.
naoki has quit [Quit: naoki]
Ballerburg9005 has joined #linux-amlogic
<f_> Hi!
<f_> <xdarklight> f_: I'd check dmesg first to see if an ALSA card shows up. I'm not aware of any other alsamixer issues
<f_> Sure.
Ballerburg9005 has quit [Ping timeout: 246 seconds]
jelly has quit [Ping timeout: 255 seconds]
jelly has joined #linux-amlogic
Ballerburg9005 has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
<f_> So I need to cut down my kernel config. Which options are needed (gxbb)?
<f_> I'd also prefer keeping the kernel image small, so using modules.
Ballerburg9005 has quit [Ping timeout: 260 seconds]
Ballerburg9005 has joined #linux-amlogic
Ballerburg9005 has quit [Ping timeout: 252 seconds]
Ballerburg9005 has joined #linux-amlogic
gabes9 has quit [Quit: The Lounge - https://thelounge.chat]
gabes9 has joined #linux-amlogic
JohnnyonF has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 252 seconds]
f_ has quit [Ping timeout: 256 seconds]
f_ has joined #linux-amlogic
vagrantc has joined #linux-amlogic
ldevulder has quit [Read error: Connection reset by peer]
<xdarklight> jbrunet: ah, thanks. so UCM is just a shortcut so you don't have to manually toggle lots of things
ldevulder has joined #linux-amlogic
<xdarklight> f_: CONFIG_SND_SOC_HDMI_CODEC, CONFIG_SND_MESON_AIU, CONFIG_SND_MESON_CARD_UTILS, CONFIG_SND_MESON_CODEC_GLUE and CONFIG_SND_MESON_GX_SOUND_CARD come to my mind
<f_> xdarklight: That's it?
<f_> These are all related to the sound. Is there anything else needed in the kernel?
<xdarklight> f_: I think only the basic toggles to enable sound (CONFIG_SOUND and CONFIG_SND). aarch64 defconfig doesn't have a lot of "common" sound symbols (only a bunch of codecs and SoC specific toggles): https://github.com/torvalds/linux/blob/master/arch/arm64/configs/defconfig#L806
<f_> Yes
<f_> But which options are required at all for the Meson GXBB SoC?
<f_> I would like to compile a kernel without anything that won't get used.
<f_> 3h of compiling is too much.
<f_> I should make my XMPP/Matrix account join this channel, now that I think about it.
f_[xmpp] has joined #linux-amlogic
<f_[xmpp]> Hi there!
<f_[xmpp]> That's from XMPP.
<f_[xmpp]> I'll check logs in the link mentionned in the topic tomorrow.
<f_[xmpp]> Bye!
ndufresne6 has joined #linux-amlogic
tomeu7 has joined #linux-amlogic
<xdarklight> f_[xmpp]: the config symbols I mentioned previously should be all. the KII Pro doesn't seem to have any special codecs (at least not listed in .dts) other than HDMI audio. other boards may need for example CONFIG_SND_SOC_SPDIF (SPDIF out) or CONFIG_SND_SOC_ES7134 (an analog codec that's soldered to some boards)
f_ has quit [Ping timeout: 260 seconds]
ndufresne6 has quit [Ping timeout: 246 seconds]
tomeu7 has quit [Ping timeout: 268 seconds]
tomeu0 has joined #linux-amlogic
lvrp16_ has joined #linux-amlogic
cyrozap_ has joined #linux-amlogic
rtp_ has joined #linux-amlogic
tomeu has quit [*.net *.split]
Lyude has quit [*.net *.split]
cyrozap has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
rtp has quit [*.net *.split]
tomeu0 is now known as tomeu
lvrp16_ is now known as lvrp16
Lyude has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
vagrantc has joined #linux-amlogic