libera/#maemo-leste/ Monday, 2024-07-08

freemangordonugh, got it working, the only missing piece was stream format08:04
freemangordonWizzup: any idea why we have capture and playback streams on voice? what are they used for?08:08
arno11freemangordon: cool, btw how did you add the stream format ? directly in the dtsi ?10:58
arno11(just out of curiosity)10:58
uvosfreemangordon: you mean the streams in pa?10:59
uvosbecause pa has no concept of configurations not being assoicated with a stream10:59
uvosso you can not create any usecase configuration not associated with a stream10:59
uvosessentally the same problem as dapm just in userspace11:00
fmg_d4stream format can't be set iiuc11:10
fmg_d4i hacked the port formatin the code11:10
fmg_d4but will try to find the proper way to set it through dt11:11
uvosso by stream you ment the hw streams ie the voide dai in cpcap not pa's streams?11:12
fmg_d4yes11:12
fmg_d4hi!11:12
fmg_d4ater on I will need your help to make that work prperly11:13
fmg_d4but, i have calls workin on 6.611:14
fmg_d4with all hacks removed11:14
fmg_d4besides i2s i set on voice dai11:15
fmg_d4argh, my d4 kbd is next to useless11:15
uvoswhats wrong with it?11:15
fmg_d4it misses 10% of the presses11:16
uvosnice, its pretty unlikely i will be of any use given my knowlage of alsa but i will try. Hw wise the voice dai essentally just needs us to enable it and clock it11:16
uvosotherwise its inidpendant from cpu11:16
uvosofc i dont know how to do this properly in alsa otherwise we would not be here11:16
uvosill try and catch up on the backscroll later11:16
fmg_d4you will, as I have no idea why do we need voice capture dai stram, for example11:17
fmg_d4thanks11:17
uvosfmg_d4: regarding broken d4 keyboard11:17
uvosi had one of those too11:17
fmg_d4will ping you when I am back home from work11:17
uvosi carefully pealed it back and cleaned the contacts11:17
fmg_d4so it is hw issue?11:18
uvosnever had usual units miss keypresses (besides there was a kernel bug at some point)11:18
uvosbut the kernel bug was solved long ago11:19
uvosnever had problems after that11:19
fmg_d4i was thinking it is design issue11:19
fmg_d4i see11:19
uvoshmm no something is wrong with that unit :P11:19
fmg_d4ok11:19
uvosd4s keyboard is usually really good11:19
fmg_d4will clean it up11:20
fmg_d4or, it might self-heal now i am going to use it regularly :)11:20
uvoshelps to masage it11:20
uvosif you leave a d4 for a long time sometims some keys dont work at all11:21
fmg_d4yeah, makes snse11:21
uvosin this case just pressing down hard and wiggeling on eatch key helps11:21
inkyfolks, so i wrote code which detects the screen rotation.15:31
inkybut when  i press my program, maemo would rotate the screen back.15:32
inkyso i need also to tell maemo to not switch back to landspace with my app.15:32
sicelohildon application?15:40
Wizzupfreemangordon: amazing @ working15:40
inkywell, no, just pascal/lazarus app. i can detect that the screen got rotated and which are the new dimensions by xrandr library.15:40
inkybut then i need to tell hildon to not rotate my app back to landscape.15:41
inkywhen i switch to it.15:41
siceloone option is to hildonize it15:44
Wizzupyou need to set the atom yup15:44
Wizzupif you use gtk2, there is a way to do it from libhildon, if you use qt, you can use setproperty15:44
inkyyes i think i will try to call x11 functions to set xatom.15:45
Wizzuppretty sure lazarus uses gtk2 but ok :D15:46
inkyyes it uses gtk2.15:46
inkyit has gtk3 but i use gtk2, and it is default.15:46
inkyso i need to make a wrapper to libhildon i guess. which function?15:47
inkybtw Wizzup i use my comics-daily app every day, and i installed it as debian package, because i am able to build debian package. as soon as jenkins has it i will build it there.15:47
WizzupI think fpc could maybe just generate these for you for libhildon15:48
Wizzupok, well, I am in the middle of a renovation so I don't think the build server works atm15:48
inkythere is a tool, yes. i'll try to use it.15:48
Wizzupbut I do plan o fix it tonight or tomorrow15:48
Wizzuph2pas iirc15:48
inkyaha.15:48
inkyty!15:48
freemangordonWizzup: uvos: any idea what https://github.com/NotKit/android_kernel_motorola_omap4-common/blob/hybris-11.0/sound/soc/codecs/cpcap.c#L2478 is vs https://github.com/NotKit/android_kernel_motorola_omap4-common/blob/hybris-11.0/sound/soc/codecs/cpcap.c#L247816:35
freemangordonwhat is Voice Playback vs Voice Capture vs incall-playback vs incall-capture16:36
freemangordonVoice PB/CAP is for microphone or?16:37
arno11freemangordon: playback is for earpiece/speaker and capture for microphone (at least in PA, alsa, ucm, cmtspeech).19:02
arno11(but maybe your question is different or more tricky)19:03
Wizzupfreemangordon: sorry, still doing renovation things, but home on wednesday, do you still need an answer to the question21:09
freemangordonWizzup: yes, I need all teh info I can get21:32
freemangordonarno11: ok, but does this mean that both streams are active during call?21:33
WizzupI will have to check with what we currently have, but I think voice capture is for cpu recording21:38
freemangordonok. do you know what all those https://github.com/NotKit/android_kernel_motorola_omap4-common/blob/hybris-11.0/sound/soc/codecs/cpcap.c#L2430 are about?21:40
Wizzupno, that seems to be from android, I don't know quite exactly, but with the names I can guess what some of them are for21:41
Wizzupheh fmaudio playback21:42
freemangordonyes, it is andoid21:43
freemangordonbut I can;t guess some of them21:43
freemangordonlike, what is BPVoice?21:44
Wizzupnot sure to be honest21:47
freemangordonas I think we want those too21:48
Wizzupyeah, ultimately having bluetooth work would be nice21:48
Wizzupassuming it is bluetooth21:48
freemangordonno, bluetooth is BT21:48
freemangordonthere is "cpcap bt-call" and "cpcap bt"21:49
Wizzupok21:49
freemangordonWizzup: do you know where internal mic is connected? to baseband or to cpcap?21:50
Wizzupsorry, I don't really have the answer, I can only guess21:52
WizzupI think it might be both, but I would guess cpcap21:52
freemangordonlets see if uvos has more info21:53
Wizzupbut this is really great progress still :)21:54
freemangordonright21:54
freemangordonhmm, BPVoice could be BasebandProcessorVoice21:58
freemangordonwhatever is that supposed to mesan21:58
Wizzupmaybe direct routing or something22:05
Wizzupor maybe it's lte?22:05
Wizzupthe droid4 has a lte modem for in the us22:05
freemangordonah, right22:05
freemangordonyeah, that would make sens22:05
freemangordone22:05
arno11freemangordon: yes both streams are probably active during call (even for voice recording)22:14
freemangordonhmm, 6.6 does not seem to boot with flat battery22:38
Wizzuphow flat and what charger? is that different from 6.1?22:39
Wizzupin my experience you need to replug charger (maybe this is a thing of the past) when booting to get it to see it22:39
freemangordonyes, the same charger/cable22:39
Wizzupfrom kexec I mean22:39
freemangordondoes not help22:39
freemangordonit just hang in very early stage22:40
freemangordonoh, now it booted, weird22:40
freemangordonon 5th attempt perhaps22:40
uvosfreemangordon: the lte dose not and can not do voice23:40
uvosits not whats up here23:40
Wizzuphmm23:40
uvosso there are two things, the configuration of the cpcap side of the voice dai which needs to be configured by the cpu for modem operation23:41
uvosand the path used to record audio from the modem to the cpu23:42
uvosgoing by the names Voice Playback/Capture should be the voice dai on cpcap connected to the modem (see the cpcap datasheet)23:43
uvosand incall-playback/incall-capture is the modem <-> cpu interface used for call recording or possibly also audio injection into the call stream, atho android dosent do the latter, and i never got any of this to work on mainline despite trying some23:45
uvoshttps://apps.fcc.gov/eas/GetApplicationAttachment.html?id=158056423:56
uvosntw23:56
uvosbtw23:56
uvosLTE Band 13,  VOIP only23:56
uvosno suprise23:56
uvosbut yes the modem dose NOT support volte and its voice operation is used purly via the cpu doing voip23:57
uvosalso lol https://apps.fcc.gov/eas/GetApplicationAttachment.html?id=158052223:58
uvosthats not a droid4 inductive charging door23:58
uvosthats a bionic door23:58
uvosupps23:58

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