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
valdikss has quit [Quit: Bye!]
valdikss has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
camus has quit [Quit: camus]
camus has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
chewitt has quit [Ping timeout: 256 seconds]
chewitt has joined #linux-amlogic
chewitt has quit [Ping timeout: 250 seconds]
buzzmarshall has quit [Quit: Konversation terminated!]
Karyon has quit [Quit: Good bye]
Karyon_ has joined #linux-amlogic
elastic_dog has quit [Ping timeout: 245 seconds]
tolszak has joined #linux-amlogic
elastic_dog has joined #linux-amlogic
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #linux-amlogic
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #linux-amlogic
<tolszak> narmstrong: USB works, there are a few issues though: https://termbin.com/99o7
<tolszak> One crash
<tolszak> and one is that my usb stick is not detected until I replug it (see end of dmesg)
<tolszak> I mean when I plug in the power into odroid and usb stick is plugged in it is not detected
GNUtoo has quit [Remote host closed the connection]
<tolszak> when I replug it - it is detected
<tolszak> when I reboot from command line it is still detected
GNUtoo has joined #linux-amlogic
<tolszak> I wonder if it is related to this crash
<narmstrong> This is weird because there is a hub in between
<tolszak> Keyboard dongle works straight away
<tolszak> every time
<narmstrong> For the crash, the audio gadget fails, i’ll disable it
<narmstrong> Is is an usb3 dongle ?
<tolszak> Yes
<tolszak> I will try usb 2 one
<tolszak> Different one works
<tolszak> it is also 3.0
<tolszak> Perhaps the stick became unstable somehow, forget about it
<tolszak> I will let you know if it behaves ok on intel board or something
<tolszak> Thank you so much for help with USB stack, now I will try finally to setup audio
<tolszak> Perhaps I can submit a patch to meta meson
<tolszak> how would you like it to be implemented?
<tolszak> ON ubuntu there is a function that set's the mixer up on first startup
<tolszak> but on yocto we know what machine we are on so perhaps we should just provide a conf/state file for it right?
<tolszak> narmstrong: There is no crash on vanilla amlogic-image-sato just a lot: [ 11.659606] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
<tolszak> So probably one of my conf enabled audio gadget
<narmstrong> tolszak: i’ll push the fix for usb
<narmstrong> tolszak: if you setup and dump the alsa state I can simply add it to alsa-state files
<tolszak> tolszak: don't we need cards in /ust/share/alsa/cards
<tolszak> narmstrong: ^
<narmstrong> Yes cards is also needed, I’ll also add it
<tolszak> narmstrong: I will make a pull request on github, is it ok?
<narmstrong> If you want you can submit a PR, not sure if I have time to do this until next week
<narmstrong> tolszak: yes sure no problem
<tolszak> narmstrong: No worries, I'm ok to have it locally for testing. It can be merged in even a few months
<tolszak> Any idea how to fix:
<tolszak> [ 10.507160][ T449] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
<tolszak> [ 10.508630][ T449] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
<narmstrong> This needs the alsa mixer setup
<tolszak> Ah ok
<tolszak> Thanks
<tolszak> amlogic-s400 has board.conf in meta-meson
<tolszak> should something like that be done for n2?
<tolszak> also should cards go to alsa-state package?
camus has quit [Quit: camus]
<tolszak> narmstrong: can't make the sound work. aplay -l https://termbin.com/f50d , /etc/asound.conf: https://termbin.com/yuhi , /var/lib/alsa/asound.state: https://termbin.com/f511l
<tolszak> 5.16
<narmstrong> tolszak: this should be added to alsa-lib
<tolszak> narmstrong: I;ve noticed that on libreelec /proc/asound/cards contains axg-sound-card as Odroid-N2 while on te image built from meta-meson doesn't
<tolszak> Will test this patch
<narmstrong> what gives /proc/asound/cards ?
<tolszak> 0 [ODROIDN2 ]: ODROID-N2
<tolszak> ODROID-N2
<tolszak> I will apply thepatch and test again thanks
<narmstrong> ok a patch is missing, a recent change exposes the name as axg-sound-card instead of ODROID-N2
<tolszak> narmstrong: Ah right chewitt mentioned it the other day
<tolszak> narmstrong: Will find this patch
Karyon_ is now known as Karyon
chewitt has joined #linux-amlogic
<tolszak> narmstrong: Got it already, thanks
jernej has joined #linux-amlogic
<narmstrong> tolszak: I pushed the USB config fix on all branches, and pushed the alsa patch on master & honister https://github.com/superna9999/meta-meson/commit/5e4c92f52e7ec2c8a50ff31ad1db1a5b950bd71e
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
<tolszak> narmstrong: Sound works over hdmi
<tolszak> We need 3 patches in alsa-lib
<tolszak> those from libreelec
<tolszak> also libreelec doesn't seem to use asound.state
<tolszak> Close to make it work thous. I will submit patch on MOnday
<narmstrong> Good !
tolszak has quit [Ping timeout: 252 seconds]
vagrantc has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
chewitt has joined #linux-amlogic
jernej has quit [Ping timeout: 256 seconds]
warpme___ has quit [Quit: Connection closed for inactivity]
glaroque has quit [Quit: Connection closed for inactivity]