peterm6881 has joined #Speedsaver
<peterm6881> hey gang
<sc6502> hey all
<peterm6881> let me poke Xogium
<peterm6881> just to bring you up to Speed sc6502
<peterm6881> we received the 3 Lichee Zero Dock boards
<peterm6881> Xogium is saying audio for the V3s only dropped in the mainline kernel in 5.17, by Tobias Schramm
<peterm6881> but he hasnt documented it
<peterm6881> so Xogium might struggle to configure it
<peterm6881> Xogium thinks it might need someone who understands kernel code
<peterm6881> Xogium could explain it better, but I think cake has taken priority ;)
<sc6502> OK. Perhaps the thing to look at is the delta of the commit that removed support.
<sc6502> Mmm, why am I still marked as away? I've changed from xchat to hexchat btw
<peterm6881> your away message is saying I'm busy
<sc6502> Try this option
<sc6502> yay!
<peterm6881> Somethings not right about this, I have 2 prototype V3s boards that were hand built by Marcel Thurmer, petit_miner
<peterm6881> the audio was definitely working on those..........they have an onboard speaker
<peterm6881> wait sc6502 , i used very bad language
<peterm6881> by dropped i meant arrived!
<peterm6881> which is the polar opposite of what i should have said
<sc6502> Was it one of those?
<peterm6881> yes anything that mentions codec or audio, with V3 or V3s
<peterm6881> the V3s is a V3 with 64 MBytes of RAM
<Speedsaver> Title: kernel/git/torvalds/linux.git - Linux kernel source tree (at git.kernel.org)
<peterm6881> would be my guess
<peterm6881> manjaro email account....interesting
<sc6502> For the most part, I'm only seeing additions in those commits.
<sc6502> Unless an explicit addition overrides a previously implied default we're relying on.
<sc6502> What's interesting about manjaro ?
* sc6502 finds on google it's a distro
<peterm6881> The mainline linux kernel (4.19) has support for:
<peterm6881> Ethernet
<peterm6881> USB
<peterm6881> basic SOC features
<peterm6881> parallel CSI
<peterm6881> RGB and TCON
<peterm6881> UART
<peterm6881> I²C
<peterm6881> SPI
<peterm6881> SDIO
<peterm6881> Audio
<peterm6881> LRADC0
<peterm6881> RTC
<peterm6881> Watchdog
<peterm6881> Whats not implemented:
<peterm6881> CPU frequency scaling
<peterm6881> MIPI CSI
<peterm6881> Video Engine (encoding / decoding video)
<peterm6881> i dont understand what Xogium is saying
<peterm6881> my understanding is there never was an issue with audio on that SoC
<peterm6881> sorry sc6502
<peterm6881> manjaro, arch based
<peterm6881> also, sry for all the flip flopping. We're a killer app looking for a hardware home
<peterm6881> F1C200s didnt support booting from eMMC and was too slow booting from SPI NAND, plus on the MangoPi-R3c usb otg never worked
<Xogium> eek sorry birthday visit… I'm semi here
<Xogium> so issue is, audio codec is added in SoC dtsi
<Xogium> I don't know how to configure it for lichee zero
<Xogium> there was no doc that explains how the codec has to be configured for boards based on v3s
<Xogium> so I have basically no damn idea how to make it work lol
<Xogium> hence why I think that checking kernel code is the only solution here
<sc6502> Buildroot seems rather lacking in .dts files
<peterm6881> Xogium, are you using the sun8i-v3s-licheepi-zero-dock.dts
<Xogium> not in buildroot, in kernel itself
<Xogium> I checked both of those
<Xogium> the dock and non dock
<peterm6881> im very confused, audio has worked since the board came out
<Xogium> worked *with* the vendor kernel
<peterm6881> are you saying the vendor wrote their own kernel
<peterm6881> is that , a thing...
<Xogium> I'm saying they forked linux
<Xogium> just like dfrobot and mangopi did
<sc6502> In the added section codec: codec@1c22c00 {
<sc6502> status = "disabled";
<sc6502> >
<sc6502> Is it off by default then?
<Xogium> yep
<Xogium> that has to be set to okay
<Xogium> that one I know
<Xogium> but I don't know what other properties it needs, like the audio routing
<Speedsaver> Title: [9/9] ARM: dts: sun8i: enable audio on Lichee Pi Zero Dock - Patchwork (at patchwork.kernel.org)
<peterm6881> +allwinner,audio-routing =
<peterm6881> +&codec {
<peterm6881> +"Headphone", "HP",
<peterm6881> +"Headphone", "HPCOM",
<peterm6881> +"MIC1", "Mic",
<peterm6881> +"Mic", "MBIAS";
<peterm6881> +status = "okay";
<peterm6881> +};
<Xogium> looks like this was never merged, then
<peterm6881> does this help?
<Xogium> immencely
<peterm6881> lol wow
<peterm6881> Icenowy Zheng strikes again
<Xogium> well, yeah and no, since it was never merged, far as I'm aware
<peterm6881> why would not have been merged?
<peterm6881> whats the process, that didnt happen
<sc6502> gotta go, dinner time :)
<Xogium> not sure
<Xogium> all I know is that patch was archived
<peterm6881> bye sc6502
<Xogium> seeya sc6502, sorry for not being around too much
<peterm6881> you know what I think
<peterm6881> I think Zepans decision to make Lichee Pi Zero, and then the Lichee Pi Zero Second Generation, and then proceeded to call it the Dock board, just confused the shit out of everybody
<Xogium> dunno lol
<peterm6881> although even on the original First Generation, the one without the Dock expansion, exposed the audio, on the 1.27 mm pin headers
<peterm6881> so it isnt like people couldnt use audio, from day 1
<peterm6881> and then people like Icenowy worked on it for like 5 minutes, then got bored and dropped it
<peterm6881> if a patch is archived, can it be resurrected?
<Xogium> no idea…
<Xogium> I also have no idea how to contribute patches to linux kernel
<peterm6881> that would be fun!
<Xogium> haven't bothered with that since they also ask for real name
<peterm6881> they would totally accept that patch
<peterm6881> I take it we can adopt it for now
<peterm6881> you understand wtf it is you're looking at, because I dont
<peterm6881> we should discuss with sc6502 how we could resubmit that patch, if its missing from mainline, as you say
<Xogium> it definitely wasn't accepted, I have the upstream locheepi-zero-dock.dts in my face and it isn't there
<Xogium> licheepi
<peterm6881> how bizarre
<peterm6881> why would it be archived and never adopted
<Xogium> honestly no idea
<Speedsaver> Title: [alsa-devel] [PATCH v3 9/9] ARM: sun8i: v3s: enable audio on Lichee Pi Zero Dock board (at mailman.alsa-project.org)
<peterm6881> this one has additional lines
<Xogium> huh, does it ?
<peterm6881> yeah, its from May 2017, whereas the one in patchwork.kernel.org is from February 2017
<peterm6881> The Lichee Pi Zero Dock board has an audio jack and an onboard MIC.
<peterm6881> Signed-off-by: Icenowy Zheng <icenowy at aosc.io>
<peterm6881> ---
<peterm6881> Enable them.
<peterm6881> arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts | 9 +++++++++
<peterm6881> 1 file changed, 9 insertions(+)
<peterm6881> diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
<peterm6881> index d1311098ea45..80f477738668 100644
<peterm6881> --- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
<peterm6881> +++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
<peterm6881> @@ -55,6 +55,15 @@
<peterm6881> };
<Xogium> right, but I don't see any difference ?, the lines with + beside them are the same...?
<peterm6881> };
<peterm6881>
<peterm6881> +&codec {
<peterm6881> +allwinner,audio-routing =
<peterm6881> +"Headphone", "HP",
<peterm6881> +"Headphone", "HPCOM",
<peterm6881> +"MIC1", "Mic",
<peterm6881> +"Mic", "HBIAS";
<peterm6881> +status = "okay";
<peterm6881> +};
<peterm6881> +
<peterm6881> &mmc1 {
<peterm6881> broken-cd;
<peterm6881> bus-width = <4>;
<peterm6881> --
<peterm6881> 2.12.2
<peterm6881> +
<peterm6881> &mmc1 {
<peterm6881> broken-cd;
<peterm6881> bus-width = <4>;
<peterm6881> --
<peterm6881> 2.12.2
<peterm6881> whats that stuff?
<Xogium> only the + lines matter
<Xogium> mmc1 is added already, hence why there's no + beside it
<Xogium> its the second micro sd interface
<peterm6881> as long as one of us understand it, and it aint gonna be me ;)
<Xogium> patch shows + lines
<Xogium> those are lines added
<Xogium> lines with nothing beside are not touched
<peterm6881> why do you suppose those lines are in there?
<Xogium> lines with - in front are removed
<Xogium> its to help git figure where to apply the patch
<peterm6881> hows the cake ;)
<peterm6881> Ross brought me a muffin
<peterm6881> hes gonna stay with me for a few days
<peterm6881> brb, gonna reboot into windows
<Xogium> hmm itsnice, I think. Ate half a part
<peterm6881> what kind is it? Not carrot cake I hope, I think peasants dreamed that up to avoid actually death by starvation from famine
<peterm6881> brb
peterm6881 has quit [Remote host closed the connection]
<Xogium> fruit cake
peterm6881 has joined #Speedsaver
<peterm6881> back
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver
<peterm6881> heck
peterm6881 has quit [Read error: Connection reset by peer]
peterm6881 has joined #Speedsaver
peterm6881 has quit [Read error: Connection reset by peer]