doc has joined #maemo-leste
akossh has quit [Quit: Leaving.]
Wikiwide has quit [Read error: Connection reset by peer]
Wikiwide has joined #maemo-leste
Wikiwide has quit [Ping timeout: 256 seconds]
Wikiwide has joined #maemo-leste
vectis has quit [Server closed connection]
vectis has joined #maemo-leste
tvall has quit [Server closed connection]
tvall has joined #maemo-leste
Wikiwide has quit [Remote host closed the connection]
vectis has quit [Ping timeout: 264 seconds]
joerg has quit [Ping timeout: 246 seconds]
joerg has joined #maemo-leste
LjL has quit [Ping timeout: 268 seconds]
<freemangordon> Wizzup: why do we have wpasupplicant in experimental?
ceene has joined #maemo-leste
<freemangordon> hmm, something is wrong with headers, iphb was not build on upgrade
<freemangordon> yeah, it is missing 67354aeac41b31bbedde49c74ef6297bd34b4952
fmg_d4 has quit [Ping timeout: 256 seconds]
fmg_d4 has joined #maemo-leste
<freemangordon> oh
<freemangordon> I forgot to enable audio-graph-card2
<freemangordon> in config that is :)
<freemangordon> so no sound in that kernel
Livio has joined #maemo-leste
<freemangordon> Wizzup: uvos: please enable audio-graph-card2 in config and rebuild
fmg_d4 has quit [Quit: fmg_d4]
<freemangordon> ok, my d4 idles @ ~250 mW, with accounts offline
<freemangordon> so it is not iphbd
<freemangordon> hmm, rcu_preempt?
Livio has quit [Ping timeout: 272 seconds]
<freemangordon> hmm, scratch that, seems it settled down after a while
<freemangordon> no, it is not ok
parazyd has quit [Ping timeout: 272 seconds]
parazyd has joined #maemo-leste
<freemangordon> Wizzup: headers are installed to /usr/src/linux-headers-omap instead of /usr/src/linux-headers-$kernelversion
<freemangordon> seems install_kernel_headers() takes version as second parameter
<freemangordon> I guess this shall be changed to install_kernel_headers debian/linux-headers ${version};;
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Client Quit]
akossh has joined #maemo-leste
pere has quit [Ping timeout: 256 seconds]
amunizp has joined #maemo-leste
System_Error has quit [Ping timeout: 260 seconds]
pere has joined #maemo-leste
<Wizzup> freemangordon: good catch
<Wizzup> freemangordon: wpa supp in experimental is backported version
ceene has quit [Ping timeout: 246 seconds]
Oksana has joined #maemo-leste
Daanct12 has joined #maemo-leste
arno11 has joined #maemo-leste
<freemangordon> Wizzup: uvos: another nasty bug, either in sphone or in vcm: if another side hangs-up before call is answered, ringing continues forever
<freemangordon> even if you close sphone, it does not stop
<arno11> i remember seeing that bug with vibrator in the past but never with ringtone (at least when ringtone works)
<freemangordon> well, now (on 6.6) ringtone works every time
<freemangordon> and that bug is 100% reproducible
<freemangordon> at least on d4
<freemangordon> Wizzup: did you check your d4 idle power usage?
<arno11> ok, btw i got ringtone working on 6.6 as well but stopped working after a while
<freemangordon> Wizzup: even with iphb it is twice the one on 6.1 here
<arno11> wow
<arno11> something blocks ret ?
<freemangordon> perhaps, but I don;t know how to test properly
<arno11> you can use pm script
parazyd has quit [Ping timeout: 272 seconds]
parazyd has joined #maemo-leste
<arno11> can't remember the exact name for d4, something like droid4-pm in /etc/init.d
<arno11> 'status' should show the number of ret and blockers if any
<freemangordon> thanks
<freemangordon> d=2024-07-11|t=12:43:56|i=OFF:0,RET:6561|p=270|c=98|b=none
<freemangordon> whatever that means
<arno11> seems to hit ret
<arno11> but power usage is really high
<arno11> maybe a module or a piece of hardware ?
<freemangordon> how do I know?
<arno11> good question, that's really difficult (see N900 mess with blockers lol)
<Wizzup> freemangordon: this bug is fixed, the one you mention
<Wizzup> re infinity ring
<Wizzup> freemangordon: this is not likely, but I have a droid 4 that I had on a lab psu and something inside it broke nad it has like much higher power usage than all my other droid4s
<Wizzup> I get 2-3 days on full chrage on 6.6
<Wizzup> freemangordon: shall I build current 6.6 for experimental, although I guess I need to fix header thing
<Wizzup> freemangordon: if the bug re-appeared I will see what's up
<Wizzup> 2b3faf00e071ceeb7add6827c53686e6446a25ee ("voicecallmanager: ensure we receive hangup")
<Wizzup> ^ fixes it
<freemangordon> Wizzup: is that released?
<Wizzup> I am checking
<Wizzup> I think probably not actually since the rtco logging is still broken wrt fremantle
<freemangordon> well...
<Wizzup> so yeah not released apparently
<freemangordon> could you release it?
<Wizzup> I can, but the rtcom logging is still broken ;)
<Wizzup> I'll take a look, IIRC there was/is the matrix breakage still
<freemangordon> well, my d4 was ringing for 2 hours until I got bach home :)
<freemangordon> *back
<freemangordon> Wizzup: I'll revert the kernel to see how it is with 6.1
<Wizzup> freemangordon: oof...
<freemangordon> so I doubt it is HW failure
ceene has joined #maemo-leste
<freemangordon> hmm, droid4-powermanagement checks for non-existent module names
<Wizzup> they might be blacklisted at this point
branon has quit [Server closed connection]
<Wizzup> or not built
<freemangordon> no, they are loaded, but names are with undersore and not dash ;)
<freemangordon> like phy_cpcap_usb
branon has joined #maemo-leste
<Wizzup> maybe this changed in kernels
<freemangordon> rmmod phy_cpcap_usb does not seem to help much
<freemangordon> or it does?
<freemangordon> Wizzup: coud you do:
<freemangordon> /sys/class/power_supply/battery$ while [ 1 ]; do cat power_avg; sleep 30; done
<Wizzup> on wifi, not on wifi?
<freemangordon> on wifi
<Wizzup> I can, but I get 2-3 days, which is the same as on 6.1 more or less :)
<freemangordon> through ssh session
<Wizzup> maybe it is related to audio somehow?
<Wizzup> k
<freemangordon> could be, dunno
<freemangordon> do you have phy_cpcap_usb loaded?
<Wizzup> if you build sphone locally, in case you do, also pull 0302bd946c5766d7fd808b9b2dae7a32dfa2f1a9 since it makes rtcom logging ok for vcm
<Wizzup> will check, just a moment
fmg_leste_vm has quit [Quit: fmg_leste_vm]
<freemangordon> why shall I build it locally?
<freemangordon> I am waiting for you to make a release :)
<Wizzup> to get the rtcom logging fixes
<Wizzup> uvos doesn't like the way I did them so I have to re-do it
<Wizzup> but I'll push the ringing fix at least
<Wizzup> s/push/release/
<freemangordon> ah, that's another branch I guess
<Wizzup> you can git fetch the object
<Wizzup> git fetch origin ...
<freemangordon> right
<Wizzup> in any case
<Wizzup> good news is that if you were still on that version, you should be much happier with the upcoming one
<Wizzup> that was still quite buggy
<freemangordon> hmm, seems rmmod-ing phy_cpcap_usb fixes idle usage
<Wizzup> maybe it got renamed recently?
Livio has joined #maemo-leste
<freemangordon> could be, dunno
<freemangordon> that's why I asked you to see what is your power usage and if you have that module loaded
<Wizzup> $ while [ 1 ]; do cat power_avg; sleep 30; done
<Wizzup> 1023305
<Wizzup> 250329
<Wizzup> 242813
<Wizzup> 227080
<Wizzup> 225047
<Wizzup> and then it dropped from wifi since it seems to do that with 6.6
<Wizzup> here is the rest
<Wizzup> 225047
<Wizzup> 156816
<Wizzup> 136867
<Wizzup> I do have phy_cpcap_usb loaded
<freemangordon> ok, lemme see what is usage here without wifi
<Wizzup> I don't think we block this module in modprobe.d though
<Wizzup> yeah the last two numbers are with wifi off I think
xmn has quit [Ping timeout: 256 seconds]
<freemangordon> fir me wifi is better with 6.6
<freemangordon> *for
<Wizzup> funny :)
<freemangordon> like, most of the times it connects from the first time after boot
<freemangordon> and never drops
<Wizzup> let's see if our CI can still build stuff :D
<Wizzup> freemangordon: interesting, that would be nice
<Wizzup> so we should fix the droid4 pm script, but for the record we don't block the phy_cpcap_usb per our config currently
<Wizzup> I'd have to check the logs to remember why
<freemangordon> hmm, usage from osso-xterm, with wifi off produces 182 mW at minimum
<freemangordon> going to revert the kernel to see if it makes any difffernence
<Wizzup> so I am not yet on -your- 6.6 for lack of better terms
<Wizzup> could it be that some audio path is always on
<freemangordon> Wizzup: please fix config and headers path
<freemangordon> yes, could be
<Wizzup> maybe you can check alsa dapm entries in /sys
<Wizzup> freemangordon: I will look, I think you already found the problem, right?
<freemangordon> yes, but didn;t make a fix
<Wizzup> ok
<freemangordon> where to check those dapm entries
<freemangordon> ?
<Wizzup> /build/sphone-0.9.3+m7/src/modules/contacts-evolution.c:124:53: error: 'E_CONTACT_IM_MATRIX' undeclared (first use in this function); did you mean 'E_CONTACT_IM_AIM'?
<Wizzup> 124 | query = join_query(query, e_book_query_field_test(E_CONTACT_IM_MATRIX, E_BOOK_QUERY_CONTAINS, line_id));
<Wizzup> | ^~~~~~~~~~~~~~~~~~~
<Wizzup> | E_CONTACT_IM_AIM
<Wizzup> so master *still* has this bug unfortunately
<Wizzup> that's why I didn't make the release
<Wizzup> freemangordon: sec
<freemangordon> hmm, debug is not mounted
<Wizzup> freemangordon: /sys/kernel/debug/asoc/Mapphone Audio
<freemangordon> debug is not mounted, but it should be, no?
<Wizzup> well, you will have to mojunt ot
<freemangordon> debugfs that is
<Wizzup> mount -t debugfs none /sys/kernel/debug
<freemangordon> IIRC it was automountged before
<Wizzup> or for /etc/fstab:
Oksana has quit [Remote host closed the connection]
<Wizzup> none /sys/kernel/debug debugfs defaults 0 0
Wikiwide has joined #maemo-leste
<Wizzup> I don't know if we monut it by default, it's not considered good practice from a security pov
Wikiwide has quit [Read error: Connection reset by peer]
<freemangordon> scratch that
<freemangordon> I was not root
<Wizzup> ok
<arno11> Wizzup: commenting matrix stuff (temporary) in contacts-evolution.c fixes the issue btw, at least on a local build
<arno11> iirc
<Wizzup> yes, but will uvos like it if I comment it out in the master branch temporarily? :D
<Wizzup> from my pov it looks like the libebook version he uses locally is not the same as the leste one
<Wizzup> and ours just doesn't have this other field
<arno11> for master branch: ah yes indeed...:D
<Wizzup> but the bug has been there since april
<Wizzup> iiuc
<freemangordon> Wizzup: most of dapm entries are On
<freemangordon> how to torn them off?
<Wizzup> freemangordon: I don't think they are supposed to be
<freemangordon> *turn
<Wizzup> I suspect this is the c2c change, if you're still seeing more power management
<Wizzup> what toggles/turns on the c2c?
<Wizzup> s/more power management/more power usage/
<freemangordon> no idea :D
<Wizzup> ok
<Wizzup> so I think we should build this with the fixed headers because it's still quite useful for experimental
<freemangordon> but I guess it is route in DT
<freemangordon> lemme check something
<Wizzup> the way I would imagine it would work from userspace is we switch UCM, which sets/triggers some alsa toggles in one of our codecs/cards and that should enable the route
<Wizzup> but again this is from my very naive understnading
<Wizzup> if there's nothing that triggers it either way, it's probably always on
<Wizzup> let me look at the headers issue
<Wizzup> I pushed headers fix to maemo-6.6.y
<arno11> cool
<Wizzup> freemangordon: btw, as far as I can concerned, you can take current maemo-6.6.y and rebase it to get rid of 'xxx' commit a bit later today
<Wizzup> this is a branch that we -rebase- on linux-stable nayway
mdz has joined #maemo-leste
<freemangordon> I will not have tiome to do anything later today
<freemangordon> I am traveling for few days
<freemangordon> Wizzup: what am I supposed to use to try to turn that control off?
<Wizzup> well
<Wizzup> I don't know what limitations kernel puts on you, but I suspect some alsa widget
<Wizzup> if that is the right perminology
<freemangordon> but I can;t find any that's related
<Wizzup> just a second
<Wizzup> I will try to explain what I mean
<Wizzup> so if you run alsamixer -c 0
<Wizzup> you sohuld get Mapphone Audio card
<Wizzup> and then there is an item called 'Call Output'
<Wizzup> this can be set to Handset, Headset, Speakerphone
<Wizzup> I imagine that we could have something like this that just says 'yeah we are in a call', and we could set that through UCM
<freemangordon> I think I checked and it is off
<Wizzup> well this is just an example
<freemangordon> but lemme double-check
<Wizzup> either that or something we can turn on/off, like for example the 'Earpiece' item
<Wizzup> earpiece can be off/HiFi/Voice
<freemangordon> on alsamixer everything is off
<Wizzup> but I think we need something that triggers the actual c2c to become active (well, you have it active currently of course, but ewr need to be able to toggle it)
<freemangordon> switching the ucm profile does it
<Wizzup> as far as I am concerned you can call it 'c2c toggle' and we can turn it on/off, as long as it controls dapm for this new path
Livio has quit [Ping timeout: 268 seconds]
<Wizzup> I understand, but my very naive understanding is that you added a new codec or card that has a special codec to codec routing (c2c) and this makes it active without userspace interaction, right?
<freemangordon> It is called 'Voice Call Playback'
<Wizzup> ok, and what can this be set to?
<freemangordon> how do I know/
<freemangordon> ?
<freemangordon> this is in dapm
<Wizzup> ah, not in alsamixer then
<freemangordon> no widget
<freemangordon> yes
<Wizzup> right, so I think we maybe need a widget to control it
<Wizzup> the example you followed from this other codec from 6.6, did that have a widget to control whether it was on/off?
<freemangordon> no widget
<freemangordon> it should be auto-disabled when not connected
<freemangordon> well, I think it would be better if you build/install latest 6.6 and check what has to be done
<freemangordon> as yoy have better understanding than me on asoc
<Wizzup> I will try, but I can assure you that your understanding is better than mine, but I am happy to try
<Wizzup> I don't know how kernel or userspace would know when it is connected
<Wizzup> Like, something must trigger the route to be enabled/disabled, right?
<freemangordon> yes, ucm
<Wizzup> but ucm can only control widgets
<Wizzup> and volume etc
<freemangordon> right
<Wizzup> so if there is no widget hooked up, I don't see how this can work,
<Wizzup> like, can we not have a widget called 'Call' that can just be On or Off ?
<Wizzup> which would trigger this new route to be on or off
<freemangordon> maybe it should be on the opposite
arno11 has left #maemo-leste [#maemo-leste]
<Wizzup> ok
<Wizzup> I will try
<Wizzup> I still feel like we'll need an additional widget just to enable the routes
<Wizzup> lemme grab some foob first :)
<Wizzup> freemangordon: so there is now a new link for c2c, and it is just always enabled I guess?
<freemangordon> not always
<freemangordon> there are 2 links
<freemangordon> one of them is enabled
<freemangordon> one is for capture, the other oane for playback
<freemangordon> playback one is enabled
<Wizzup> is enabled when?
<inky> is it possible to make qemu to rotate the screen?
<inky> to test rotation in qemu.
<freemangordon> Wizzup: /sys/kernel/debug/asoc/Mapphone Audio/dapm
<Wizzup> yes, the dapm stuff is purely informational, but I would imagine it should not be on normally, right
<Wizzup> inky: yes there is some dbus command on maemo wiki or our wiki to do so
<freemangordon> Wizzup: https://pastebin.com/psXJ1jbk
<inky> oh thank you!
<Wizzup> freemangordon: I see a bunch of stuff here regarding c2c https://kernel.org/doc/html/latest/sound/soc/codec-to-codec.html - but that's not in out motmdm.c or cpcap.c files, right?
<freemangordon> no, it is in our DT
<Wizzup> so the ignore_suspend or num_c2c_params, etc is all in dt?
<freemangordon> codec2codec is used by audio-grach-card2 to create c2c_params struct
<freemangordon> not exactly, it is runtime created
<freemangordon> sec
<Wizzup> ok
<Wizzup> I don't really understand how to control dapm for this, when you are in a call, I suspect the capture route dapm is also on, yes?
<freemangordon> maybe the issues is that motmdm sets .ignore_suspend
<Wizzup> could be, but I *still* don't see how kernel would know when it is in use
<Wizzup> fwiw I don't see ignore_suspend in motmdm.c
norly has quit [Server closed connection]
norly has joined #maemo-leste
<freemangordon> yeah, scratch that
<Wizzup> so I think we need to understand what controls dapm here, or rather what controls kernel to think it is in use or not
<freemangordon> I think it is the route
<Wizzup> and indeed I don't know if the additions to 'routing' that you made is correct, but mostly because I don't know enough about it
<Wizzup> ok, but what triggers the route?
<freemangordon> maybe I created a wrong route
<Wizzup> where is the route defined?
<freemangordon> activating widget in icm
<freemangordon> maybe it should be Call Playback, not Voice
<Wizzup> so that's not just a list of strings? :D
<freemangordon> lemme try it
<freemangordon> no, that's matched to widgets, but don;t ask me how
<Wizzup> ok, so it is widget, route, widget, route
<Wizzup> ?
<freemangordon> no idea
<Wizzup> heh
<freemangordon> I just created what my gut feeling told me to and it just worked :D
<freemangordon> no, really
<freemangordon> lemme try to change that
<freemangordon> oh,no it is correct
<freemangordon> motmdm_dai defines "Voice Call Playback"
<freemangordon> and we route that to EP SPK or HP
<freemangordon> that's how kernel knows
<freemangordon> IIUC
<freemangordon> lemme try to fix UCM
<freemangordon> hmm, nothing to be fixed there IIUC
<freemangordon> Wizzup: sorry, can;t grok it ATM and out of spare time
<Wizzup> ok
Livio has joined #maemo-leste
uvos__ has joined #maemo-leste
<uvos__> Wizzup: oh jeah my debian d4 has newer ebook
<uvos__> ill fix this when i get home
Daanct12 has quit [Quit: WeeChat 4.3.4]
Wikiwide has joined #maemo-leste
<Wizzup> thx
branon has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
branon has joined #maemo-leste
Livio has quit [Ping timeout: 256 seconds]
nela has quit [Server closed connection]
nela has joined #maemo-leste
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
arno11 has joined #maemo-leste
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
Wikiwide has quit [Read error: Connection reset by peer]
<arno11> Wizzup: i tried 6.6 with dts fix: it works but still got slowness after 30min. Seems something is wrong with memory because when i start a qt app after 1 min of idle, it becomes buggy
<arno11> or maybe dynamic debug causes troubles ?
<arno11> i really don't know what's going on
<arno11> i mean it is so smooth now on my device with 6.1 that it is particulary noticeable when i run 6.6
<arno11> *the slowness
mdz has quit [Remote host closed the connection]
mdz has joined #maemo-leste
<arno11> btw guys, what is the best/easiest way to monitor read/write to disk ?
<freemangordon> iostat?
mdz1 has joined #maemo-leste
mdz has quit [Ping timeout: 264 seconds]
mdz1 is now known as mdz
<arno11> ok i failed to find it but maybe it is part of another pkg
pere has quit [Ping timeout: 268 seconds]
<arno11> sysstat works (sar)
<arno11> i'll compare 6.1 and 6.6
<freemangordon> yes, iostat is part of sysstat
Wikiwide has joined #maemo-leste
sunshavi has quit [Ping timeout: 252 seconds]
sunshavi has joined #maemo-leste
ceene has quit [Remote host closed the connection]
arno11 has left #maemo-leste [#maemo-leste]
System_Error has joined #maemo-leste
pere has joined #maemo-leste
Livio has joined #maemo-leste
<Wizzup> freemangordon: what did you need enabled in config
<Wizzup> ah audio-graph-card2
uvos__ has quit [Remote host closed the connection]
<Wizzup> done, building kernel
xmn has joined #maemo-leste
<Wizzup> freemangordon: tested the kernel and yes, great, call audio is good with voicecall manager and 6.6
<Wizzup> there's just the dapm being on stuff now :)
Livio has quit [Ping timeout: 240 seconds]
Livio has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11> ah good news @call audio
<sicelo> yeah, nice sleuth work freemangordon
<sicelo> and thanks Wizzup for the vcm stuff that triggered it ;-)
arno11 has left #maemo-leste [#maemo-leste]
uvos has joined #maemo-leste
<uvos> Wizzup: you missed a tonne of changes in sphones changelog
<Wizzup> well, the tag won't work anyway since it doesn't compile
<uvos> it compile fine
<Wizzup> not in the CI it doesn't
<uvos> on newer debian
<uvos> sure
<Wizzup> ok, great, but you're in #maeom-leste
<Wizzup> I think you can just rewrite the changelog and replace the tag or make a new tag
<uvos> to late
<uvos> i dont think thats relevant since i see leste as just one platform to support
<uvos> anyhow
<uvos> should build this time
<uvos> Wizzup: chroot: failed to run command '/debootstrap/debootstrap': Exec format error
<uvos> uhh
<Wizzup> I will look in a bit
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
<Wizzup> uvos:
<Wizzup> /build/sphone-0.9.4+m7/src/modules/contacts-evolution.c:60:1: warning: 'nodiscard' attribute directive ignored [-Wattributes]
<Wizzup> 60 | {
<Wizzup> | ^
<Wizzup> /build/sphone-0.9.4+m7/src/modules/contacts-evolution.c: In function 'build_query':
<Wizzup> /build/sphone-0.9.4+m7/src/modules/contacts-evolution.c:126:2: error: expected ';' before '}' token
<Wizzup> 126 | }
<Wizzup> | ^
<Wizzup> meanwhile I will look at the arch error
Livio has quit [Ping timeout: 268 seconds]
arno11 has joined #maemo-leste
<arno11> Wizzup: is last kernel build 6.6.32.2-1 or ?
<sicelo> 6.6.36.2-1+m7 is what my d4 just updated to
<sicelo> and my first test call had perfect audio, yay
<arno11> cool :)
<arno11> i asked because i still get the iphb-dkms headers error
<arno11> with this version
<sicelo> mmm, i didn't get it, or i didn't noticie
<arno11> ah maybe
<arno11> it works with the error anyway but N900 is still a bit unstable
Livio has joined #maemo-leste
<arno11> the headers dir seems still wrong
<arno11> probably not related with the issues i see ofc
Livio has quit [Ping timeout: 264 seconds]
<Wizzup> arno11: will check after I fix this weird arch issue on build servers
<arno11> ah ok, no rush
System_Error has quit [Ping timeout: 260 seconds]
arno11 has left #maemo-leste [#maemo-leste]
<Wizzup> freemangordon: I also see an increase in power usage now with 6.6 (with the call audio changes)
<Wizzup> 18 hours instead of 2-3 days
<Wizzup> so that's all consistent at least
akossh has quit [Quit: Leaving.]
mdz has quit [Ping timeout: 260 seconds]
<uvos> is dapm simply broken?
<Wizzup> I doubt that it is broken in 6.6
<Wizzup> todays log has my and fmgs discussion on it
<Wizzup> he's using c2c and I think it's never being toggled off
<uvos> that would break dapm for that chain yes
<uvos> all the devices in that chain would then never be powerd down
<Wizzup> I mean, c2c clearly has to work with dapm somehow
<Wizzup> we just need to figure out how
<uvos> sure
<uvos> i mean i dont have time right now
<uvos> but its easy to check
<uvos> omapconf shows you what dai are active (on the omap side ofc) and debugfs shows you the snd-soc widgets and the dapm state for those
<uvos> omap dai blocks ret however so i dont think its that since fmg had some ret
<Wizzup> I think we checked dapm and saw it's active even outside of a call
<Wizzup> and it's clearly related because pm was fine before this change on 6.6
<Wizzup> I think we just need to figure out how to tell alsa/kernel to not have it on - through some widget or otherwise
<Wizzup> or maybe our routing is off
<uvos> i maen as a hack you could break the dapm chain by insterting a fake switch
<uvos> but i dont think this is the right way
<Wizzup> so I think having a switch to enable all the call bits would be a great way
<Wizzup> we could easily switch this with UCM too
<Wizzup> "Call mode" "On" / "Off"
<uvos> its not the right way to do it from alsas perpsective
<Wizzup> so what is the right way to do it for streams that bypass cpu/alsa entirely?
<uvos> dapm turns on the nodes on the route when it thinks the source is active and the route is unbroken
<uvos> the source being a dai
<uvos> i gues the kernel thinks the dai of the modem is active, we need to figure out how to make it know its not
<Wizzup> switch seems like a great way imo, since we can toggle it from userspace with ucm without having to parse AT in kernel
<Wizzup> well, -some- AT at least
<uvos> doing that is def wrong form a framework perspective
<uvos> nomater how nice it looks from userspace
<uvos> but anyhow
<Wizzup> I suppose this is relevant:
<Wizzup> Make sure to name your corresponding cpu and codec playback and capture dai names ending with “Playback” and “Capture” respectively as dapm core will link and power those dais based on the name.
<uvos> also i dont think you can shutdown cpcaps dai this way, at least thats before you could insert a switch in the chain is after the cpcap dai
<uvos> looking at alsa/snd-soc stuff allways makes me think: this is really compilcated and this lacks features i need :P
<uvos> also: i dont get how this bit works
<uvos> skill issue i gues
<Wizzup> it's not just you :)
uvos has quit [Quit: Konversation terminated!]
cockroach has joined #maemo-leste
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Client Quit]
amunizp has quit [Quit: Not sure what quit means.]