#
✕ nick:povik
#asahi · 2021-10-26 10:58
povikin the second part there is for example already a driver for a similar speaker-amp/codec IC in linux
#asahi · 2021-10-26 10:57
povikand then the codec part, where another IC part on the circuit board takes those samples from the digital interace and creates an analog signal from them
#asahi · 2021-10-26 10:57
povikthe SoC part, where you have to convince a peripheral to take the samples from memory and put them onto a serial digital interface
#asahi · 2021-10-26 10:57
povikwell you have two parts of the problem
#asahi · 2021-10-26 10:54
povikso that the driver is a bit more universal
#asahi · 2021-10-26 10:54
poviknsklaus_: ^^ essentialy i am trying to figure out where do these numbers come from
#asahi · 2021-10-26 10:53
povikhttps://github.com/povik/linux/blob/c5ba8405e38f4c3b584a0f40672d002d7cea8a03/sound/soc/apple/pcm.c#L87
#asahi · 2021-10-26 10:51
povikso that's why i don't jump onto the linux driver just yet
#asahi · 2021-10-26 10:50
povikbut i am trying to understand what the mmio pokes do at the moment
#asahi · 2021-10-26 10:50
poviknothing stops me from doing the same mmio pokes in the linux driver right now and get a driver for the headphone port
#asahi · 2021-10-26 10:49
poviki have a m1n1 python script which outputs audio on the headphone port
#asahi · 2021-10-26 10:49
povikit snhouldn't be too difficult
#asahi · 2021-10-26 10:49
poviknsklaus_: sure, i have the time, am happy to answer
#asahi · 2021-10-26 10:30
povikbut watching this and the -dev channel is probably the best source to see if there's any progress
#asahi · 2021-10-26 10:30
poviknsklaus_: well i do have a github account and github.com/povik/linux is where i post the driver as-is
#asahi · 2021-10-21 10:13
povikanyone knows what's that?
#asahi · 2021-10-21 10:13
povik compatible = [biosensor,mesa]
#asahi · 2021-10-21 10:13
poviklook what's on spi2
#asahi · 2021-10-21 10:11
povikwhat's that, sn012776 driving the speakers on macbook pro
#asahi · 2021-10-18 15:13
povikj_ey: no! all your attention will be -dev now
#asahi · 2021-10-18 15:13
povikalyssa: bye bye
#asahi · 2021-10-18 15:11
povikwhy not
#asahi · 2021-10-18 12:37
povikalyssa: i know, i took reboot from you actually
#asahi · 2021-10-18 08:16
povikmaz: yeah. i had an opposite reaction, i wanted more of it!
#asahi · 2021-10-18 08:14
povikalthough i have a working prototype of audio_jack.py :-p
#asahi · 2021-10-18 08:13
povikno other output devices will be there
#asahi · 2021-10-18 08:13
povikgreat, let me know how it goes. expect only the speaker on mac mini working
#asahi · 2021-10-18 08:09
povik(maybe)
#asahi · 2021-10-18 08:09
povikbut i was first to call it frankenstein!
#asahi · 2021-10-18 08:08
poviki used the same words to describe pipcet's kernel, maybe you mixed that up
#asahi · 2021-10-18 07:43
povik^ this is .config i am building audio-w-dcp with
#asahi · 2021-10-18 07:42
povikGlanzmann: https://paste.gg/p/anonymous/d5bd6a26da064f23856c0d335b386a63
#asahi · 2021-10-18 07:40
poviklet me upload my .config somewhere
#asahi · 2021-10-18 07:40
povikthere's also branch audio-w-dcp with some version of the DCP driver merged into it
#asahi · 2021-10-18 07:39
povikGlanzmann: you can get it from https://github.com/povik/linux/tree/asahi/audio
#asahi · 2021-10-17 21:26
povik(other than the obvious places :-p)
#asahi · 2021-10-17 21:26
povikor is there somewhere i can look?
#asahi · 2021-10-17 21:25
poviksven: are the sleep commands and etc. documented somewhere?
#asahi · 2021-10-17 21:25
povikalyssa: i don't necessarily disagree. but if did work, i would probably enable it
#asahi · 2021-10-17 21:18
povikj_ey: yeah
#asahi · 2021-10-17 21:17
povikj_ey: yeah
#asahi · 2021-10-17 21:17
povikit would be useful by being a linux kernel with minimal userspace appended to m1n1 and fixed in the m1's boot policy
#asahi · 2021-10-17 21:17
povikwell depends on what features and DT nodes i enable in the interim kernel
#asahi · 2021-10-17 21:14
povikj_ey: https://github.com/povik/nixos-on-odroid-n2
#asahi · 2021-10-17 21:14
poviksven: petitboot is effectively an kexec-based bootloader
#asahi · 2021-10-17 21:14
povikand haven't yet dropped the idea of making it work here also
#asahi · 2021-10-17 21:14
poviki have already made NixOS play nicely with petitboot on another arm64 board
#asahi · 2021-10-17 21:13
povikpetitboot
#asahi · 2021-10-17 21:09
poviknvme is important in my use case as you can guess
#asahi · 2021-10-17 21:08
povikdarn, was afraid that is the case

plus ›