libera/#maemo-leste/ Tuesday, 2023-12-26

sicelooh, this is read only. maybe likely after all?00:00
arno11unrealistic imo00:01
arno11testing sd is tricky, too much parameters involved imo00:07
arno11but again, dd seems pretty accurate compared to other 'safe' tools00:11
tmlindpushed out updated droid4-kexecboot images with battery charging and oops while trying to kexec fixed: https://github.com/tmlind/droid4-kexecboot/commits/master06:10
tmlindwe no only umount kernel partition in kexecboot if kexec to the new kernel fails, see https://github.com/tmlind/buildroot/commits/mapphone-kexecboot-2017.1106:11
tmlinduvos: i did not see the kexecboot up and down keys swapped issue with d4 at least, can you please check with the new images?06:14
freemangordonarno11: I think you didn't do proper experiment:08:20
freemangordon1. start OMP and verify tehre is sound08:21
freemangordon2. close OMP08:21
freemangordon3. call the device and do not pick-up (just hang-up)08:21
freemangordon4. close sphone08:21
freemangordon5. start OMP and check if tehre is sound08:21
freemangordonoh, and in few minutes it recovers :)08:45
freemangordonyeah, the issue is not specific to omp08:58
freemangordonmplayer and gst-launch also do not work08:58
freemangordonmpv as well08:59
freemangordonyeah, ok, after a phone call all sounds are suspended for several minutes09:03
freemangordonswitching profiles from pavucontrol is ok09:13
freemangordonso either sphone does something wrong or someone else09:14
freemangordonWizzup: why? https://github.com/maemo-leste/hildon-connectivity-meta/commit/fd2394e8a63bbc73f0cf5d946db7b247ed3c5e3a09:17
tmlindfreemangordon: voice calls currently change the routing in the kernel driver, maybe that's the issue?09:24
tmlindfor mapphone devices that is09:25
freemangordonok, switching profile in pavucontrol hifi->call->hifi recovers it09:25
freemangordontmlind: could be, but what to check?09:26
freemangordonyes, confirmed09:27
freemangordondunno what sphone is doing, but it breaks sound until I do hifi->call->hifi or until some (unknown) timeout expiores09:27
freemangordontmlind: there is no voice call active09:28
freemangordonjust calling the device (wihtout pick-up) is enough to break all other sounds09:28
tmlindhmm ok, maybe see sound/soc/codecs/motmdm.c for the tdm (time divsion multiplexing) stuff09:28
tmlindsounds like something is not getting restored after a voice call?09:29
freemangordonagain, sphone just plays ringing sound without switching profiles (iiuc)\09:29
freemangordonthere is no voice call :)09:29
arno11freemangordon: i just did exactly what you said and still absolutely no troubles09:29
tmlindyeah but the kernel driver changes routing based on the modem notification09:29
freemangordonlike, I am calling the device, but just hang09:29
freemangordontmlind: ah09:30
freemangordonarno11: yeah, seems like issue with d4 only09:30
tmlindyup incoming call, kernel driver activates the modem tdm09:30
freemangordontmlind: do you use voice calls on your d4?09:30
freemangordonlike, could you confirm that?09:30
freemangordonBTW, by "sound not work" I mean it just pauses the process trying to do playback09:31
tmlindyup i don't use much other audio though09:31
tmlindfreemangordon: see motmdm_voice_get_state()09:31
freemangordonwait09:31
freemangordonneed some tme to find kernel source :)09:31
tmlindmotmdm_enable_primary_dai() gets called on incoming call, and then motmdm_disable_primary_dai() should get called after the call09:32
freemangordonbut it is not?09:32
tmlindmaybe there's some missing handling in motmdm_voice_get_state() if incoming call is not answered?09:33
tmlindother than disconnected or call failed09:33
freemangordonhmm, lemme pick-up09:34
tmlindyup that's a good test :)09:34
freemangordonyeah, seems that's it :)09:35
freemangordonif I pick-up the call there is no issue it seems09:35
tmlindok nice, enable n_gsm debug via /sys and see what the missing message might be in dmesg09:35
tmlindmodprobe n_gsm debug=0xff09:36
tmlindthe missing variant likely is something "1,0,0" like, maybe "1,0,1" as that's missing09:38
freemangordontmlind: https://pastebin.com/wKmWKi0u09:40
freemangordonseems like 1,0,0 is processed09:41
freemangordon"[46624.579315] VOICE CALL 0"09:44
freemangordonno issue there09:44
freemangordonIIUC09:44
tmlindthat's after you don't answer but hangup?09:48
freemangordonyes09:48
tmlindso is the failing test case just don't even hang up just let it ring?09:49
freemangordonno, I hang-up09:50
freemangordonand there is no sound afterworkd09:51
tmlindok09:51
freemangordonbut it seems there is more that one way it breaks09:51
freemangordon1st variant - there is no sound at all, switching the profiles in pavucontrol fixes it09:51
freemangordon2nd variant - touch sounds work, but no media sounds09:52
freemangordonlike, gstreamer, mplayer, mpv, etc09:52
tmlindsounds like sound/soc/codecs/motmdm.c maybe not restoring state completely?09:53
freemangordonperhaps09:54
freemangordonbut how to test?09:54
freemangordonalsactl?09:54
tmlindor actually mcbsp tdm configuration09:54
tmlindyeah alsactl diff before and after?09:54
freemangordon[47095.422180] abe-clkctrl:0030:0: failed to disable09:54
freemangordonis that ok?09:54
freemangordon[44018.005493] omap-mcbsp 40126000.mcbsp: RX Frame Sync Error!09:55
freemangordonand https://pastebin.com/swB6YmK609:56
freemangordonI guess none of those are to blame, but still09:56
tmlindthe clkctrl errors are ok for devices that have autoclocking capability enabled09:56
tmlindthe rx frame sync could be some race in the mcbsp.c configuration for the bus09:56
tmlindlike if during a voice call alsa tweaks some settings too?09:57
tmlindsound/soc/ti/omap-mcbsp.c that is, the set_tdm_slot() changes the settings for mcbsp for voice call09:59
tmlindhmm yeah no idea where the %V comes from..10:00
freemangordonbut those should not be the reason for the issue10:00
freemangordonright?10:00
tmlindright, sounds like you have this reproducable10:01
freemangordonyes10:01
freemangordonhappens every time10:01
freemangordonok, I see nothing suspicious in alsamixer10:02
freemangordonmaybe we have issues in both pulseaudio and the driver :)10:03
freemangordonoh, maybe the frequency is changed10:04
tmlindso in omap-mcbsp.c we set up multiple dais because of the tdm, maybe that's racy between the voice call and audio dais10:06
freemangordonok, starting mafw-gst-renderer makes gst produce no sound :)10:07
freemangordonthat's total mess10:07
freemangordonok, restarting pulseaudio makes it work again :(10:34
freemangordontmlind: arno11: if anyone has an idea wtf is going on: https://pastebin.com/10:44
freemangordonthis is what happens on hangup10:44
arno11plz update the link :P10:48
freemangordonugh: "You have exceeded the maximum size of 512 kilobytes per Paste."10:49
freemangordonarno11: https://pastebin.com/PTsEpNkt10:50
freemangordonarno11: "I: [alsa-sink-40124000.mcbsp-dai0-cpcap-hifi cpcap-hifi-0] alsa-sink.c:  Scheduling delay of 0.56 ms > 0.25 ms, you might want to investigate  this to improve latency..." repeats till ethernity10:51
freemangordonwith various values for "delay of 0.xx ms"10:51
freemangordontmlind: ^^^10:51
arno11freemangordon: could you plz have a look in daemon.conf and check what's the default resample method ?11:00
freemangordonarno11: /etc/pulse/daemon.conf?11:01
arno11yes11:01
freemangordonnothing in there11:01
arno11wow11:02
freemangordonarno11: https://pastebin.com/5x1UneUK11:02
arno11ah speex-float-111:03
freemangordonyeah, but isn't that commented out?11:03
freemangordonwe have ; at the beginning of the line11:03
arno11yes so that's the default value11:04
freemangordonok11:04
arno11so i think we must try to switch to speex-fixed-211:05
arno11and use 48000hz as default sample rate11:05
freemangordonI think it does already11:05
freemangordonI: [pulseaudio] resampler.c: Speex appears to be compiled with  --enable-fixed-point. Switching to a fixed-point resampler because it  should be faster.11:06
freemangordonD: [pulseaudio] resampler.c:   rate 24000 -> 48000 (method speex-fixed-1)11:06
arno11yes so that's why we should switch to fixed resampler by default11:06
freemangordonI think the issue happens after "Mhmm, actually there is nothing to rewind."11:07
freemangordonthen it spits hundreds of those messages per seconfd11:07
arno11ok but according to errors, something is wrong with the sink, then source-sink synchro is bad then we have latency issues.11:13
arno11then everything goes wrong11:14
arno11i think we should try a basic loopback to see if it works11:14
freemangordonI must admit I have no clue about PA11:18
freemangordonso, if you want me to try something in particular, I can do it11:19
freemangordonbut that's all :)11:19
arno11and definitely check resampling stuff (it could crash PA)11:19
arno11ah ok11:19
arno11i have to go now but will be available in 1h11:19
freemangordonok11:19
freemangordonmaybe in the evening11:20
arno11yes if you want11:20
freemangordonyep11:20
arno11ok11:20
Wizzupfreemangordon: just synced devel, I think for some pkg we didn't have kernel headers at the time12:12
Wizzupfreemangordon: we can revert and see if things break again12:15
freemangordonWizzup: you mean this? https://github.com/maemo-leste/hildon-connectivity-meta/commit/fd2394e8a63bbc73f0cf5d946db7b247ed3c5e3a12:37
Wizzuphmh13:00
freemangordonI think this shall be reverted13:01
rafael2khey, which piece of software does the opengl magic, rotation control, etc?13:12
rafael2kneed yelp13:14
rafael2kthe lock screen works beatifully13:14
freemangordonhildon-desktop13:16
freemangordonwhich uses clutter13:16
freemangordonto do gl stuff13:16
freemangordonit takes the resolution from xrandr13:16
rafael2kthis one right: https://github.com/maemo-leste/hildon-desktop13:49
rafael2kbut xrandr is giving correct resolution...13:49
rafael2kif there a way to get the stdout of it?13:50
rafael2kI'll take a look, will try to understand why it is wrong13:58
freemangordon rafael2k: yes, you can14:35
freemangordon/usr/sbin/dsmetool -k /usr/bin/hildon-desktop, to stop it14:35
freemangordonand then use maemo-summoner to start /usr/bin/hildon-desktop.launch14:36
freemangordonsend SIGUSR1 to it to enable debug output14:37
freemangordonmaybe you'll need G_MESSAGES_DEBUG=all when you start it14:37
arno11Wizzup: (just to understand) you moved all stuff from devel to stable, right ?17:11
Wizzupmosly everything17:12
Wizzupmostly17:12
arno11ok. that's 2 different kernels in use, how it works for droid4linux stuff ?17:13
Wizzupwhat do you mean with 2 different kernels in use17:14
arno11devel is 6.1.47 and stable is 6.1.9, no ?17:15
arno11*6.1.6717:15
Wizzuphttps://maedevu.maemo.org/pkgweb/search?q=linux-image-omap17:16
Wizzupdevel is Version: 6.1.67.1-1+m717:16
Wizzuplooks like stable is still Version: 6.1.8.0-1+m717:16
arno11yes17:16
Wizzuphm, yeah, so maybe I didn't do that somehow17:16
Wizzuprepodiff doesn't mention it17:16
Wizzupweird17:16
arno11ah17:16
Wizzup$ python3 repodiff.py chimaera-devel chimaera -t newer -f source17:16
WizzupPackages in chimaera-devel that are newer than chimaera17:16
Wizzupcharge-mode 1.3.1+m7 (> 1.2.6+m7 )17:16
Wizzuppython-mafw 0.2+m7.1 (> 0.2+m7 )17:16
Wizzupsphone 0.8.0+m7 (> 0.7.5+m7 )17:16
Wizzuphildon-connectivity-meta 1.10+m7.1 (> 1.10+m7 )17:16
Wizzupxorg-server 2:1.20.11.4-1+m7 (> 2:1.20.11.2-1+m7.1 )17:16
Wizzupwill debug a bit later17:16
arno11ok17:17
arno11on fresh img stable is 6.1.9 btw17:18
arno11freemangordon: your kernel is 6.1.67 on your d4 ?17:23
freemangordonъес17:43
freemangordonoops17:43
freemangordonarno11: yes17:43
arno11ok cool because 6.1.y stuff has been merged with 6.1.67, not with 6.1.8 (or 9) so i suppose we'll have troubles with stable17:45
freemangordonumm, can;t parse17:45
freemangordon6.1.y is upstream branch17:45
freemangordonwe do our patches on top17:45
freemangordonso, why should we have troubles?17:46
freemangordonah, you mean because stable is on older kernel?17:46
arno11no newer kernel17:46
freemangordonwell, Wizzup said will debug later17:47
freemangordonI guess he'll fix that17:47
arno11yep17:47
freemangordondo you have som etime now to try to debug PA issues?17:47
arno11yes i think17:47
freemangordonok, what do you want me to do?17:48
arno11i think we can try to simulate a call with a loopback to see if it works17:49
freemangordonbut why call?17:49
arno11arecord -c 2 -r 24000 -f S16_LE - | aplay -17:49
freemangordonI don't pick-up the call17:49
arno11with voicecall profile enable in pavucontrol17:50
freemangordonok, but it is not enabled when the issue happens17:50
arno11anyway17:50
freemangordonok17:50
freemangordonwill try17:50
freemangordonfor how long?17:52
arno11if you talk, you should hear your voice in speaker with around 1sec latency17:52
arno11just try few seconds to test if sound works17:53
freemangordonno17:53
freemangordonI hear nothing17:53
arno11ah17:53
arno11try with 44100 instead of 2400017:54
freemangordonummm17:54
freemangordonwait17:54
freemangordonit works with hifi profile17:54
freemangordonbut not with call17:54
arno11oh17:54
arno11so ucm has troubles lol17:54
freemangordonbut phone calls work17:55
arno11ok17:55
freemangordonlemme try with 4410017:55
arno11ok17:55
freemangordonnope17:56
freemangordonlemme try phone call to confirm17:56
arno11ok17:56
freemangordonumm, no17:58
arno11what is weird is that your mic works with hifi profile and apparently not with voicecall17:59
freemangordonok, I stoppped pulseaudio and started it from the shell, could that be the reason?17:59
arno11i doubt18:00
freemangordonok, now music plays18:00
arno11could you check during a call, in alsamixer, if mic is activated ?18:01
freemangordonok18:01
arno11and speaker/earphone18:01
freemangordon3 mics are enabled18:02
arno11ok18:02
freemangordonMic1, Mic2 and Call18:02
arno11and speaker/earphone ?18:02
freemangordonCall is enabled18:03
freemangordonHiFi is enabled18:03
freemangordonand Voice is enabled18:03
freemangordonwell, sliders are > 0 (around 30-40)18:03
freemangordonnot sure if they are enabled really18:03
arno11ok let me check in ucm18:04
freemangordonshall I rollback the kernel?18:06
arno11nope18:06
arno11could you check (using hifi profile) if mics are still enabled during music playback18:08
freemangordonall mics ar at 018:09
arno11ok18:09
arno11so how is it possible to do a loopback using the hifi profile...weird18:10
freemangordonI see microphone when hifi profile is enabled18:11
arno11you mean activated ?18:11
freemangordonyes18:12
freemangordondo you want me to do some pa dump?18:12
arno11no i think the problem is with ucm18:12
arno11because what you see is a bit different that what ucm is supposed to do on mapphone18:13
freemangordonhttps://pastebin.com/c1xEQ2P518:13
arno11plz check files/folders in /usr/share/alsa/ucm218:14
freemangordonumm, why do we have earpiece in hifi profile?18:16
freemangordonhttps://github.com/maemo-leste/leste-config/blob/master/leste-config-mapphone/usr/share/alsa/ucm2/Mapphone_Audio/HiFi.conf.leste#L5018:16
freemangordonarno11: what do you want me to check there?18:16
arno11i just want to check if ucm path is still correct18:17
freemangordon/usr/share/alsa/ucm2/Mapphone_Audio18:18
arno11for hifi profile and earpiece, i don't know18:18
freemangordonso the above dir contains 3 files and 3 links18:18
arno11ok path is correct18:18
freemangordonfiles are dated 15 of December18:19
freemangordonok, shall I reboot the device to check it behaves the same on fresh boot?18:19
arno11yes18:20
freemangordonok18:20
freemangordonon fresh boot it works18:24
freemangordonlemme try loopback18:24
arno11ok18:24
arno11loopback is supposed to not work with hifi profile)18:25
arno11only with voicecall18:25
freemangordonno18:25
freemangordonit does not work with call profie18:26
arno11wtf18:26
arno11and works with hifi i suppose18:26
freemangordonnope18:26
freemangordonnow it does not work at all18:27
arno11ah18:27
arno11and real calls ?18:27
freemangordonthats' after a phone call18:27
arno11ah ok18:27
freemangordoncall worked18:27
arno11ok18:27
arno11and if you switch profile twice, it works ?18:27
freemangordonit?18:27
arno11i mean voicecall to hifi to voicecall18:28
freemangordonunderrun!!! (at least 16000.183 ms long)18:28
arno11for loopback18:28
freemangordonthis is the result from loopback18:28
arno11wow18:29
freemangordonand after a timeout it started to work18:29
freemangordonnow loopback works with hifi18:29
freemangordonlemme switch to call18:29
arno11ok18:29
freemangordonnope18:30
freemangordonI guess I should hear loopback from the earpiece, right?18:30
arno11yes18:31
freemangordonnotheing18:31
freemangordon*nothing18:31
arno11are you ok to modify daemon.conf a bit ?18:31
freemangordonsure18:31
freemangordonI can modify it as much as you tell me to :)18:32
arno11ok :) so plz replace 44100 default sample rate by 4800018:32
arno11and the contrary for alternate sample rate18:33
arno11i mean exchange the 2 values18:33
freemangordonok18:33
arno11and replace speex-float-1 by speex-fixed-218:34
arno11then you need to reboot18:34
freemangordoncan I restart pulseaudio instead?18:35
freemangordonno difference18:37
freemangordonarno11: I think the approach is wrong18:38
freemangordonafaik d4 does not route mic through cpu when in call18:38
freemangordonthe modem does some magic instead18:38
freemangordonand mic is routed directly to the modedm18:38
freemangordon*modem18:38
Wizzupyes18:39
Wizzupwell the modem doesn't do magic, the board does18:39
WizzupI think18:39
freemangordonwell...18:39
freemangordonstill18:39
arno11ok but how could it be enable during a loopback18:39
freemangordonwe can;t18:39
freemangordonbecause it does not go through cpu18:39
arno11so something is really wrong18:39
freemangordonarno11: agree, but the issue is with fifi profile18:40
freemangordon*hifi18:40
arno11yes so ucm is involved18:40
freemangordonbut not only it seems18:40
arno11and the high latency means something is wrong with PA too18:40
freemangordonmodem driver does some things as well18:40
arno11yes18:41
freemangordonPA could just wait for some kernel event18:41
freemangordonwhich never comes18:41
arno11indeed18:41
arno11plz reboot, i really want to see if errors are different with different daemon.conf parameters18:43
freemangordonarno11: wait, please explain a bit what are you trying to achieve18:44
freemangordonwe dont; have issues with the calls it seems18:45
arno11according to errors, something is wrong with sink  when you hangup18:45
freemangordonwhch sink?18:45
freemangordon*which18:45
arno11then we have resampling errors and high latency18:46
arno11for sink, no idea18:46
freemangordonIIUC, what happens is: after hangup, sphone creates notification that seems to be played over voice profile18:47
arno11ok18:47
freemangordonbut voice profile is not really enabled18:47
arno11so ucm sucks18:48
arno11but why18:48
freemangordonnot really, it is the kernel that calls motmdm_enable_primary_dai()18:48
arno11ah yes18:48
freemangordonsee what tmlind said ^^^18:48
freemangordonso, PA thinks HiFi profile is enabled18:48
freemangordonbut in reality it is some frankenstein profile18:49
arno11kind of lol18:49
arno11with no d4 around, that's not easy to help you :(18:50
freemangordontmlind: why motmdm has to do what it does, in terms of  motmdm_enable_primary_dai()/   motmdm_disable_primary_dai()?18:50
freemangordonlike, on incomming call, motmdm_enable_primary_dai() is called unconditionally, but we want ringing through the speaker18:51
freemangordonisn;t there some conflict?18:51
freemangordonlike, why shall we call enable on  "1,4,0"?18:53
arno11but why a conflict now and not few days/weeks ago ?18:55
arno11what has been changed recently ?18:55
freemangordonare you sure there was no issue back then?18:55
arno11nope18:56
freemangordonwe have mafw/OMP from few weeks18:56
arno11we must ask d4 users :)18:56
freemangordonWizzup: said there is no issue18:56
arno11and PA user mode18:56
freemangordonthat should make no diff18:56
arno11indeed18:56
freemangordonI will rather try to not enable dai on incomming call18:57
freemangordonbut after it is connected18:57
arno11maybe you should rollback the kernel afterall, just to be sure19:06
freemangordonwill wait for tmlind first :)19:07
tmlindfreemangordon: i think for voice calls the modem is the mcbsp bus master rather than the soc clocking the bus19:09
freemangordontmlind: ok, but what will happen if we call motmdm_enable_primary_dai() and then someone tries to play audio?19:10
freemangordonbecause that's what happens on call reject, IIUC19:11
freemangordonbrb, dinner19:11
tmlindi think one of the two soc audio dais works voice or hifi, one gets disabled, might be worth tracing what android does there19:11
sicelomay i briefly interrupt you gentlemen - what are the values of EVICGABS in https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/blob/7a12f6bbc91e372a4aa0bc1344531dca7239a016/tests/input-accel-capture.ioctl and how could I generate/find them myself?19:12
sicelo*EVIOCGABS19:12
siceloi need them because upstream wants tests for the N900's proximity sensor/switch support in iio-sensor-proxy, and i don't really have a clue how to do it :-P19:14
tmlindfreemangordon: i think hifi should still be functional during a voice call, see https://lkml.org/lkml/2018/3/27/122519:15
freemangordonhmm, ok, so we have 2 independent DAIs19:26
freemangordontmlind: ok, but enable/disable reprogram master DAI20:34
freemangordonso that must affect hifi profile, no?20:35
freemangordonit is still functional, just with wrong frequency20:35
tmlindhmm should not affect hifi, they're on separate mcbsp controllers20:36
tmlindunless there's a bug somewhere20:37
tmlindmaybe a bug in the cpcap driver that touches wrong registers affecting also hifi?20:38
freemangordonsnd_soc_dai_set_sysclk(ddata->master_dai, 1, 19200000,  SND_SOC_CLOCK_OUT); in enable and  snd_soc_dai_set_sysclk(ddata->master_dai, 0, 26000000, SND_SOC_CLOCK_OUT); in disable20:38
freemangordonthis does not affect hifi profile?20:38
freemangordonalso, is it ok that clk_ids differ?20:39
freemangordonI am shooting in the dark, but still :)20:40
tmlindshould not affect hifi but maybe i'm wrong, when a voice call is active we set the modem to be the bus master, then change back after the call20:46
freemangordonbut, at the point of "incomming call', there is still no call20:46
tmlindyeah i guess it could be changed a bit later20:46
freemangordonI am going to try it20:47
tmlindok20:47
freemangordonand do not enable on 1,4,020:47
tmlindalso see the dts files for mcbsp and cpcap20:48
freemangordonhmm, why?20:48
tmlindhifi and voice are separate instances at mcbsp and and cpcap dtsi20:48
freemangordonok, but what I see in dmesg is:20:49
freemangordonmot-mdm6600-codec 4806a000.serial:modem:audio-codec@2: Master DAI is cpcap-codec.020:49
freemangordonanyway, let me try the modified driver20:49
tmlindok could be the audio driver is structured wrong if some parts are not separate20:50
tmlindfor voice and hifi20:50
freemangordontmlind: this https://pastebin.com/Q5ZRMwMn fixes the issue21:00
freemangordonand for the first time I heard "missed call notification" sound21:00
freemangordonno idea what the conclusion would be, but to me we have issue in the modem driver21:01
freemangordonalso, why kernel enables the dai and not userspace through some also control?21:01
freemangordon*alsa control21:02
freemangordonisn't that supposed to be part of ucm?21:05
freemangordonah, where is uvos21:05
freemangordonok, I think what happens here is that kernel changes dai frequencies and/or rate behind PA's back21:17
tmlindfreemangordon: ok great. sure could be alsa too, not sure where though, ofono maybe? not sure if ofono knows anythign about alsa21:17
freemangordonit is sphone that switches the profiles21:17
freemangordonbut only after you pick-up the call21:17
freemangordonnot on reject21:17
tmlindnot generic enough imo, there could be other phone clients like a command line one in ofono21:18
freemangordonand immediately after the reject sphone issues "missed call" notification21:18
freemangordonwhich hits the still reprogrammed for call $something21:18
tmlindmight be worth checking if there's some standard way of doing this nowadays21:19
freemangordonall this are wild guesses ofc21:19
freemangordonbut my gut feeling tells me I am rgiht21:19
freemangordon*right21:19
tmlindsure, just don't make it limited to sphone21:20
freemangordonah, sure21:20
freemangordonI am not blaming sphone here21:20
freemangordonit just triggers the bug21:20
tmlindright, but what i'm talking about is alsa controlling the tdm stuff21:20
freemangordonok, I admit it is out of my area of expertise21:21
freemangordonI know what TDM is, but tht's all :)21:21
tmlindso all the phone using clients would have to implement alsa controls and some knowledge of the modem?21:21
freemangordonah, I see21:21
tmlindmaybe ofono or modemmanager whatever have already sorted this issue out21:21
freemangordonhow to check?21:22
tmlindgrep alsa21:22
tmlind:)21:22
freemangordonheh21:22
tmlindin ofono and modemmanager21:22
tmlindanyways, it's time for ttyl here, later21:23
freemangordonlater21:23
siceloafaik both ofono and modemmanager have chosen to leave the audio alone, so unlikely to be them21:24
siceloofono does provide a CallAudio interface, but that's just a notification for an audio client to start handling routing.21:25
sicelo'modern' distros handle the routing via `callaudiod`21:25
siceloand i think the long-term plan/hope is for pipewire to transparently handle it21:27
freemangordonok, but isn;t ucm supposed to do that?21:28
siceloyes, callaudiod basically toggles ucm21:29
freemangordonok, so it is what sphone already does21:30
freemangordonthe point is that we ahve some driver issue here21:30
siceloi agree21:30
freemangordondriver does things without being instructed by userspace21:30
freemangordonand without letting userspace know, iiuc21:30
apoagehello, i would like to ask, trying to get runing maemo leste on droid4 by maemo leste wiki but failing to get kexec menu ... is unlocked bootloader necesary to get it runing?? since till now i had there safestrap to hijack boot process22:50
apoage ¯\_(ツ)_/¯23:01
Wizzupapoage2: hmmm23:05
Wizzupargh23:05
Wizzupapoage: check your android version23:05
Wizzupyou don't need to unlock the bootloader23:05
Wizzupcheck our wiki page on the supported versions23:05
Wizzupyou might need to upgrade/downgrdae23:05
Wizzupupgrade/downgrade23:06
Wizzupeither that or the image isn't flashed correctly to the microsd23:06
Wizzupapoage2: pls check irc log23:07
Wizzupbut check the wiki page and see if your android version is one of the supported ones23:07
Wizzupand/or check if you dd'd the image correctly23:08
Wizzup(you need to decompress it first)23:08
apoage2Wizzup: ok23:09
apoage2 Wizzup:First I would like to apologize for my irc client.. had to go to phone and it's well kind of unstable app.. the thing is I ran completely by wiki except android install script I ran manually since was on windows mashine but at first nor second droid boot there was no kexec menu.. will try different SD and complete process under Linux.. had to ask for that unlocking because I have Verizon droid 4 and it's kind of hard locked23:25
sicelono worries, and yes, there's only the Verizon Droid 4. that's what all of us have ;-)23:27
apoage2Ok so no hard stops.. thank you every one23:30
siceloand you can use https://libera.irclog.whitequark.org/maemo-leste/ to see any replies to your questions that you might have missed at any time23:30
apoage2Sicelo: thanks.. really appreciate that log23:32

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!