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