libera/#maemo-leste/ Tuesday, 2022-05-10

uvos__buZz: whats wrong with openlara?00:20
uvos__i accually finished the game on device00:21
uvos__so works fine here00:21
buZzare you using hildon?00:23
uvos__yeah00:23
uvos__its fine and fullscreen00:24
Wizzupuvos__: btw, any comment on the speakerphone issue?00:24
Wizzupas in I'm trying to figure out what to write so I can test that it works for me00:24
uvos__Wizzup: hmm?00:24
buZzits not fullscreen here, nor even visually correct00:24
uvos__buZz: you have to disable shadows00:24
uvos__this is a pvr bug00:24
uvos__otherwise its visually correct00:24
uvos__and its fullscreen for me00:24
buZzi mean, i dont even get any menu00:24
buZzits fully distorted00:24
uvos__you dont get the 3d icons right?00:25
uvos__the 2d text should be fine00:25
buZz1 moment, i'll show you00:25
uvos__Wizzup: you just have to write the route you want to use00:26
uvos__you can use registers as set when a audio file is playing via whatever route you want00:26
uvos__then place a call and write the register back to that state00:26
Wizzupuvos__: I don't think I know how00:30
Wizzupoh, hm...00:30
Wizzupso does that make earpiece work for calls too?00:30
Wizzup(because you wrote 'whatever route you want')00:30
uvos__yes00:30
uvos__also headphones00:31
uvos__whatever you want00:31
Wizzuphmm00:31
Wizzupso how many registers do I have to look at, not just the one you mention then?00:31
uvos__just the one really00:32
uvos__unless you also want to use a different mic00:32
Wizzupso 0824 ?00:35
uvos__if thats the resiter i mentioned00:36
uvos__i dont know it by heart :P00:36
uvos__buZz: openlara still works fine here00:37
buZzstill uploading;  https://youtu.be/2Yz9uKNaVsI00:37
buZz1m remaining00:37
buZzuvos__: maybe something weird about the more recent images then?00:38
uvos__no idea00:38
uvos__try this00:38
uvos__open the game00:38
buZzhttps://www.youtube.com/watch?v=2Yz9uKNaVsI00:38
uvos__once the menu music is playing go right right00:38
buZzi cant launch it through hildon00:38
uvos__enter00:38
buZzthe files arent in the location it expect perhaps?00:39
uvos__right they are supposed to go into ~/.openlara00:39
uvos__hmm thats interesing00:39
buZzah, no idea where i could see that :P00:40
uvos__you cant00:40
uvos__its not documented00:40
Wizzupit'd be good to have wiki pages for every extras pkg00:40
Wizzup( https://leste.maemo.org/Extras )00:40
Wizzupuvos__: https://github.com/maemo-leste/bugtracker/issues/584#issuecomment-1120241298 looks like it00:41
buZzwell, or make it selfdocumenting? like a popup on failure 'files should go in X'00:41
uvos__buZz: well ist a upstream issue00:41
uvos__reall00:41
uvos__upstream isent documented00:41
uvos__is the problem00:41
uvos__anyhow00:42
uvos__that looks really screwed up00:42
uvos__never seen that00:42
buZzhmhm00:42
buZzyeah no idea00:42
uvos__interestingly it also worked fine for freemangordon00:42
buZzi dont think many ppl install new images too often :P00:42
uvos__i doubt its that00:42
buZzgotta say i -am- tempted to grab maemo-leste-1.0-armhf-droid4-20220508.img.xz  ;)00:43
Wizzupmaybe the gl-in-gles lib is installed?00:43
WizzupI forget the name00:43
buZzgl4es? shouldnt be00:43
Wizzupok00:43
buZzlets see00:43
buZzyeah its not installed00:44
uvos__buZz: http://uvos.xyz/maserati/settings00:45
uvos__put that into .openlara00:45
uvos__(and all your files)00:45
uvos__launch via hildon00:45
uvos__also00:45
uvos__nvm00:46
uvos__we just synced devel so you have the new sdl for sure00:46
buZzok lets see00:47
buZznow it works :)00:47
uvos__hmm00:48
uvos__hmmmm00:48
uvos__but why00:48
buZzwait, actually, the entire game is untexturemapped?00:49
buZzeh00:49
uvos__huh?00:49
uvos__no00:49
uvos__its fully textured00:49
uvos__you must be missing files if its not00:49
Wizzupwe do have https://leste.maemo.org/Category:Extras00:49
buZzyeah i guess00:51
buZzhttps://i.imgur.com/65VApYB.jpeg00:52
uvos__http://uvos.xyz/maserati/screenshots/openlara.png00:53
uvos__thas how its supposed to look00:53
buZz:)00:54
uvos__ buZz00:54
uvos__ah this is pvr bug00:54
uvos__go into settings00:54
uvos__and turn of shadows00:54
uvos__the shader is broken on pvr00:54
buZzhow do i leave the game without Esc?00:54
uvos__its tab00:54
uvos__not esc00:54
buZzhm, tab does nothing?00:55
uvos__hmm maybe i changed it to tab00:55
uvos__em then you have to use the power menu00:55
uvos__and change the key to tab00:56
uvos__before going into game next time :P00:56
buZzehh00:56
buZzno idea what you mean, there's no config option for 'escaping'00:56
uvos__Inventory00:57
uvos__escape usaly brings up the inventory00:57
uvos__while at i set shadows to low and filtering to medium00:57
buZzahhhh ok, now with details all tuned down i can get a game :P00:57
uvos__buZz: the default control sheme is poorly suited for just thumbs00:58
uvos__but this is quite playable:00:59
uvos__http://uvos.xyz/maserati/screenshots/olkeys.png00:59
buZzoooo i can trigger openlara into that distorted mode, i think01:01
buZzpress the 'home' key , and go back to openlara01:01
buZzdo that 1-2 times? and it'll be distorted, at least here01:02
uvos__this works fine here01:02
uvos__thats wierd01:02
uvos__yeah i can do that as often as i want01:02
buZzweird, even switch to a different program?01:03
uvos__yeah01:03
uvos__its choppy/slow01:03
uvos__but it renders fine01:03
Wizzupuvos: I think we could use dbus-scripts to toggle audio routes as a hack via regs, to test how reliably that works02:06
Wizzupdbus-scripts can just act on ofono picking up / hanging up02:06
buZzWizzup: so i still have the same issues of 'instant failure on gprs connect' which does leave wwan3 fully configured but without IP or route02:07
buZzi've been able to get into 'have a ip but no route' just once, cant seem to find how i got there02:07
Wizzupso no ip and no route just means that icd2 doesn't make the iface up02:23
Wizzuphave you tried to connect again using the interface when wwan3 is up with ofono?02:23
Wizzupand again -please- use mdbus to check02:23
buZzWizzup: well, it disappears from icd2 UI when i connect to it, as mentioned before03:28
buZzrestarting icd2 brings it back03:29
buZzorg.ofono.AllowedAccessPoints.GetAllowedAccessPoints , returns just ([],)03:37
buZzahh, finally03:41
buZzorg.ofono.ConnectionContext.GetProperties does show route and dns03:41
buZzand ip even, as static??03:41
WizzupbuZz: I never had it not come back10:45
WizzupbuZz: yes, ofono takes care of getting the ip, so it's always 'static' in that sense10:46
buZzi'm really tempted to just try that new image, maybe something went wrong during build when diskspace was so low?10:53
Wizzuppossible.11:00
buZzbacking up now11:00
buZzput the 20220508 image on a new sd card now11:26
Wizzupuvos: register 0824 doesn't seem to change if I play music on speakerphone11:30
Wizzupuvos__: many other registers change11:32
buZzdid https://github.com/pavelmachek/welcome-leste/ move to somewhere? i wanted to fix some typos in the text ;)11:50
WizzupI don't think that's the one11:50
Wizzuphttps://github.com/maemo-leste/salutem11:50
Wizzupthat's the one11:50
Wizzupuvos__: so there's like 20 registers that are different even with just earpiece vs speakerphone it looks like11:51
buZzah ty11:51
buZz * Copyright (c) 2021 Carl Phlipp Klemm.11:52
buZzi think that name is even a typo?11:52
WizzupI don't think so11:52
Wizzupoh yes it is missing an i11:52
lelbuzztiaan opened a pull request: https://github.com/maemo-leste/salutem/pull/1 (Salutem.html had some typos)11:54
buZzjust did the user facing stuff, carl can fix his own name :P11:55
Wizzupmaybe just fix it up anyway?11:55
buZzhehe11:55
buZzhmm, window is 800x600?11:58
buZzi guess doesnt matter really ,  https://github.com/buzztiaan/salutem/blob/master/mainwindow.ui11:58
Wizzupit will get resized yeah11:59
Wizzupplease feel free to make any other improvements11:59
buZzi noticed the welcome-leste was able to resize SD directly :)12:00
Wizzupyeah, not sure which is better.12:01
Wizzupwe went for this in any case12:01
lelbuzztiaan opened a pull request: https://github.com/maemo-leste/salutem/pull/2 (Many typos in uvos' name, and some more layouting for the README)12:04
buZzooo interesting12:06
buZzalready this 20220508 image behaves differently ; when booting the 20220410 with a charger connected, it wont start charging until you remove&replug it12:09
buZz20220508 seems to be fine with it12:09
buZzalthough, this might be because i moved to -devel ?12:09
buZzalright, what was the bundle to install for making it a phone? :D12:11
WizzupI'd appreciate if you could spend some of the time documenting this - it's hildon-connectivity-mobile12:13
buZzhmmm, 20220508 @ droid4 doesnt seem to have the decent keyboard :( (with the OK layer)12:28
Wizzuphmm12:29
Wizzupcould be a first boot thing maybe?12:29
buZzi rebooted a bunch of times now, nogo12:40
Wizzuphm, ok, will have to check.12:41
buZzcan i do the hildon-connectivity-mobile without -devel too? guess not super useful?12:41
uvos__buZz: its me12:44
uvos__everything is a typo12:44
uvos__:P12:44
uvos__Wizzup: just the register i mentioned and one other is relevant12:44
uvos__all others are different12:44
uvos__but on purpose12:44
uvos__othe one other is the mic amp12:44
uvos__but it should work by just seting the output reg correctly12:45
Wizzupuvos__: so the register you mentioned is always 0 it seems12:45
uvos__yes12:45
uvos__all amps are off12:45
WizzupI mean when playing12:45
uvos__when in phone mode12:45
uvos__no12:45
uvos__that cant be right12:45
Wizzuphttps://github.com/maemo-leste/bugtracker/issues/584#issuecomment-112217192712:45
Wizzupthat is made like so:12:45
Wizzupcat /sys/kernel/debug/regmap/spi0.0/registers > registerlogs/headset-unplugged.txt12:45
uvos__you must messure while actively playing12:46
uvos__like not just the profile set12:46
Wizzupyeah, that's with mpv playing and me hearing it12:46
Wizzup(apart from the one file where nothing is playing)12:46
uvos__Wizzup: ok im not at home right now12:46
uvos__ill check my notes when i am12:46
uvos__maybe its the wrong register12:46
Wizzupgreat, ty12:46
buZzfyi, hildon-connectivity-mobile isnt installable without -devel12:58
Wizzupyes13:00
Wizzupthat is on purpose13:00
buZzok :)13:00
Wizzupyou've probably noticed it's not quite ... end user ready13:00
buZzwell, its is -in- the not-devel13:00
buZzhehe13:00
buZzalright, -mobile is installed on this -devel, lets reboot and see13:46
WizzupbuZz: I will be afk for a bit jfyi13:46
buZznp, hf \o13:46
buZzis libicd-network-ofono not needed? its not installed now14:07
* buZz installs and reboots14:09
buZzright, that does help14:13
buZzseems to be similarly broken as 20220410 after all the setup , meh15:01
WizzupIt's weird, it just works for me really.15:02
Wizzupmaybe there's some step you're missing15:02
Wizzupit's hard to debug without getting much info though:)15:02
buZzyeah i think it might just be my simcard?15:05
WizzupI don't think so.15:06
buZzwhat do you have on > 03:37:18 < buZz> org.ofono.AllowedAccessPoints.GetAllowedAccessPoints , returns just ([],)15:06
buZz?15:06
WizzupI have no idea what that interface is, but I didn't ask about that15:06
buZzi know15:06
buZz03:41:44 < buZz> org.ofono.ConnectionContext.GetProperties does show route and dns15:07
buZz03:41:57 < buZz> and ip even, as static??15:07
Wizzupif you get a wwan3 interface at any point in time, it just means it worked.15:07
Wizzupand if it shows an ip, then the problem you're seeing is in icd2 not configuring the interface with the settings from ofono15:07
Wizzupit = mdbus2/ofono15:07
Wizzupso that's very likely -not- the sim card15:07
Wizzupfor example, for me the data connection does not disappear15:08
buZzafter the 'connect'/failure (which removes entry from icd2 UI) there's no IP configured, wwan3 is up, and org.ofono.ConnectionContext.GetProperties shows IP, dns, route (as static?)15:08
Wizzuphow does it 'remote' it from the ui15:08
Wizzupdo you never ever see the entry again until you reboot?15:08
buZzuntil i restart icd2 , yes15:08
WizzupI don't have that problem15:09
WizzupI just tried it15:09
Wizzupit still shows 'KPN'15:09
buZzand your APN name, is there any stored in the IAP ui in settings?15:10
buZzdoes org.ofono.ConnectionContext.GetProperties show a APN?15:10
buZzfor me , both are '' , emptystring15:10
Wizzupyes, it shows an apn for me15:11
Wizzup'internet'15:11
buZzi feel this might be the origin of the problem15:11
Wizzupit's certainly a side effect of libicd-network-ofono not provisioning it correctly15:12
buZzconfiguring -anything- as APN makes it a) not disappear b) work even less (wwan3 isnt up, but!!! still IP/dns/route in org.ofono.ConnectionContext.GetProperties)15:12
Wizzupdo you have the package with all the apns installed?15:12
WizzupI think it is in the meta, but still15:12
buZzi doubt it contains 'youfone' :p15:12
Wizzupwhy would it not15:12
buZzits a kinda newish telco?15:12
Wizzupdpkg -L mobile-broadband-provider-info15:13
Wizzupdoes that show anything15:13
buZz20170903-115:14
Wizzupno file listing?15:14
buZzyeah, its there15:14
Wizzupok15:14
Wizzupit doesn't seem to contain youfone15:15
Wizzupso maybe just set it via gconf?15:15
buZzor just add to that pkg?15:15
buZzoh hmm, maybe because its a MVNO15:16
Wizzupwhat?15:16
Wizzupno, just use gconf to configure the iap15:17
buZzdoes that do something else than the UI?15:17
WizzupI don't know, have you confirmed that your gconf has the right apn?15:17
Wizzupmine has15:18
Wizzup  gprs_accesspointname = internet15:18
buZzi havent, but how could it work without the correct APN?15:18
buZzmobile-broadband-provider-info isnt our own, is it?15:22
buZzi'll just wedge my operator settings into the .xml15:23
WizzupI mean....15:24
Wizzupthat xml file is only used once to set the gconf settings..15:24
buZzright, i just wanna check if it might change behaviour15:24
Wizzupso if you tried what I suggest, to set it in gconf, maybe you wouldn't have to mess with the xml? :)15:24
buZzits a bit hard to find -where- in gconf tree to set it without |15:26
buZz:D15:26
buZzreally should start using usbnet more again :)15:28
buZzomg omg omg15:32
buZzso, with my network in the .xml , failed gprs connects do -not- remove it from ICD2 UI15:32
buZzand, on second connect, it works \o15:33
buZzjust still doesnt set DNS correctly, but the failsafe 9.9.9.9 gets set15:33
buZzalright, i'll work this all into a 'state of leste - using as a phone'15:34
buZzi kinda wonder how all this would be on n900/pp , hope i can borrow that pp soonish15:34
WizzupbuZz: without | ?15:38
buZzhmm, ok, on -disconnect- it does disappear from ICD2 UI15:38
buZz:(15:38
buZzWizzup: yeah , the 'OK' keyboard layer isnt here15:38
buZzhmmf, ok nevermind, that succes seems just once15:39
buZz-_-15:39
buZzsoooo cloooose :P hahaha15:40
buZzat least, there doesnt seem to be much the 20220508 is doing that 20220410 wasnt15:41
buZzi'll go back to that one15:41
buZzok, added network to .xml , deleted gconf entry for GPRS IAP , reboot15:54
buZzlets see15:54
buZzso eh , gconftool -s /sy..... (the GPRS iap) -t string gprs_accesspointname="poop"   , and then gconftool -R /sys.. (same entry) , should that show 'poop' ?16:06
buZzbecause it just sticks to emptystring16:06
buZzah, wait16:07
buZzright, not 'gprs_..=""' , but just "" and add the gprs_... to the path16:08
buZzwelp, setting it to the correct value just makes it completely unable to connect, similar to setting APN in the UI16:14
buZzpfff, what a puzzle :D haha16:19
Wizzupwhat did you execute exactly?16:30
Wizzupit sounded like you had it working 30mins ago no>16:30
Wizzup?16:30
buZzyeah, -once- O_o16:49
buZzi dont get why16:49
buZzgconftool -s /system/osso/connectivity/IAP/<hash>/gprs_accesspointname -t string "portalmmm.nl"16:51
buZzconfirmed with -R that it stuck, connecting doesnt take16:51
Wizzupmaybe reboot after that16:56
Wizzupor restart icd2 at least16:57
buZzneither lead to succes (rebooting or restarting icd2 with valid APN name in gconf)18:00
buZznor does any of these routes lead to a 'internet connections' setting that shows a configured APN18:00
buZzWizzup: shouldnt libicd-network-ofono be inside hildon-connectivity-mobile ?18:01
buZzhmmm libicd-network-usb also isnt installed i notice18:02
Wizzuplibicd-network-usb I don't know of18:02
WizzupI don't think it does what you think it does18:02
WizzupbuZz: yes probably it should be in that meta pkg18:02
Wizzupwhat was the mobile connecitvity pkg thing?18:03
Wizzupmobile providers - got the name handy?18:03
buZzand eh 'telepathy-ring' ?18:03
buZzi guess not18:03
Wizzupno, tp ring we will pull in some other way18:03
Wizzupit is mobile-broadband-provider-info18:04
buZzyeah i have that installed, thats where i added Youfone to18:04
buZzalas not even deleting the gprs IAP and rebooting made it functional, thusfar18:05
Wizzupso what works and what doesn't -- do you see an ip in dbus?18:05
buZzdidnt have gprs visible again, restarted icd2 now, then i can tap it, it instantly 'fails' , dbus shows a configured IP and 'Active true'18:06
buZzwwan3 is up, no ip, udhcpc -i wwan3 now would get me functional gprs18:07
buZzgconftool has no APN configured inside it18:07
buZzdbus btw also doesnt show a APN configured18:08
buZzi wish i could see what APN its actually using :/18:12
WizzupbuZz: ok so it's the same problem for you where icd2 doesn't actually activate it18:12
Wizzupmaybe check the icd2 logs18:12
Wizzup/var/log/maemo/icd*18:12
WizzupbuZz: the apn in use is shown is mdbus218:12
buZzon the /context1 ?18:12
buZzthats a emptystring ..18:12
WizzupbuZz: well it's possible that the apn being empty is fine18:16
Wizzupif you have an ip and it's active then it 'works'18:16
buZzhere's some icd2 log at superverbose ; http://space.nurdspace.nl/~buzz/icd2log.txt18:19
Wizzuplooks like it connects to wifi?18:21
buZzin the end yeah, needed to scp the file away ;)18:21
buZzMay 10 18:17:32 localhost icd2 0.98[5400]: [OFONO] Got APN:18:21
buZzemptystring again18:21
buZzMay 10 18:17:34 localhost icd2 0.98[5400]: network id 'ab4c7733-4a2e-4658-9b5a-2bc4f3b07670' all entries (1) removed18:22
buZzah, thats where icd2 decides to delete it , i guess18:22
WizzupI wouldn't necessarily assume entries removed means that18:22
Wizzupso this is it activating only once, not you activating it again, and that's what you're trying to figure out?18:23
buZzah, on -restarting- icd2 i again get > seen for the very first time, provisioning.18:26
buZzexact same id though18:28
buZz(actually, on restarting -and- tapping on icd2 UI in statusbar)18:29
buZzwonder if this is important?18:30
buZzMay 10 18:17:30 localhost icd2 0.98[5400]: always online doesn't run because iap count 4 <= 0; srv_provider FALSE; auto_conn is 'FALSE'; timeout 300 <= 0; number of connections 0 > 0 and always change FALSE; priority 018:30
sicelobuZz even with wrong apn, mobile internet usually works. But you could get higher billing, etc.18:33
buZzit looks totally normal on my telco website panel thingy18:34
sicelomobile-broadband-provider is a freedesktop project. You could add your provider ans upstream it. I did so for the ones in my country18:34
buZzi found https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders18:35
Wizzupupstream might already have a newer version18:35
Wizzupwe ship the buster one18:35
buZzbut even without, from what i'm reading, because there's no unique MMC&MNC , it could pick a already specified APN from another entry with the same details18:36
siceloAlso they ca  be a bit slow to tag new versions. Sometimes you must prod them nicely, e.g. https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info/-/issues/318:37
siceloAnd yes, its a gnome project, not freedesktop. My bad18:38
buZznp18:38
buZzso within 1 second of trying to connect, its coming back with > May 10 18:17:32 localhost icd2 0.98[5400]: IAP reports error 'no_network'18:43
buZzthats maybe a bit too short :P18:44
WizzupbuZz: yes this is the same problem all along as it not waiting19:43
buZzuhuh19:55
buZzWizzup: is that just in icd2 then?20:23
buZzor maybe in the libicd-bla-mobile20:24
WizzupbuZz: it's kind of the same thing, libicd-network-ofono is a plugin of icd220:30
buZzbut where would the delay be , it does seem icd2 keeps waiting a bit for the wifi connections?20:31
Wizzupliterally just in the code20:36
Wizzupit's really quite trivial, it just needs some fixing20:36
Wizzupthe code just calls 'activate context' and assumes the functions is blocking20:36
Wizzupbut it's not20:36
siceloplease help me21:30
sicelohttps://paste.debian.net/1240473/ ... i got this message, and i understand what needs to be done21:30
sicelohowever, i'm a little lost - who do i sent the changes to? should it be original maintainers/reviewers that i sent to initially, or someone/something else?21:31
Wizzupsicelo: is this patch already merged?22:50
uvosWizzup: its CPCAP_REG_RXCOA22:52
uvos#define CPCAP_REG_RXCOA0x0824/* RX Codec to Output Amps */22:52
uvoser no thats wrong22:53
uvos#define CPCAP_REG_RXOA0x081c/* RX Output Amplifiers */22:53
uvoshere22:53
Wizzupah22:53
uvos0x081c22:53
uvosconfusing name22:53
uvosanyhow this is the correct register22:53
uvosi just tried it22:53
Wizzupok, let me check my log files based on it22:54
siceloWizzup: it's in next. But I've just found that the maintainer already noticed the hanging flag and nuked it22:54
siceloSo nothing for me to do :-)22:54
Wizzupsicelo: check23:10
Wizzupuvos: hm let's see so that value is 0002 when I have nothing playing, but also with music on speakerphone23:14
Wizzupand it's 0260 with headphone set as output regardless of whether hp is plugged in23:14
Wizzupand then for the earpiece it's 000123:14
jiridoHi23:16
Wizzupyo23:16
jiridoSo cool that with maemo on a new kernel..23:17
jiridoit might be the future.23:17
Wizzupthere are still some things to work on though :)23:17
jiridosure.. but it's like a opensource android23:18
jiridoor?23:18
WizzupNot sure if I get the question23:18
siceloFar from Android. It's more like any linux distribution23:18
Wizzupmaybe the last update will give you some idea https://maemo-leste.github.io/maemo-leste-sixteenth-update-november-and-december-2021-january-april-2022.html23:19
jiridoWell I might get it all wrong then, what is making maemo maemo?23:19
jiridoI have a bunch old nokia/microsoft phones(the square ones) can maemo run on them?23:21
Wizzupyes and no23:22
Wizzupthe answer to the question depends a bit on your background23:22
jiridolol23:22
jiridoit's baad23:22
sicelojirido: you said you have an N900, right?23:22
Wizzupjirido: so what we aim to have is something that looks and feels like maemo on the n900, but on more devices than just the n900, with nothing but open source software based upon the debian/devuan distribution23:23
Wizzupcompare that to nokia maemo which wasn't fully open source, for example23:23
jiridoSounds sweet23:24
jiridoI look forwarrd to feel secure on my phone some day23:25
Wizzupyes, me too.23:25
Wizzupuvos: btw I see this in sphone:23:25
Wizzup(sphone:4270): hildon-1-CRITICAL **: 23:24:29.107: Tried to initialized Hildon more than once.23:25
jiridois there some development of secure open source telecom chips going on?23:27
jiridoCan't get more secure that the chip i guess or is it enough to have a opensource driver?23:27
Wizzupuvos: ok I got something on speakerphone now with:23:28
Wizzupecho 081c 0001 > /sys/kernel/debug/regmap/spi0.0/registers23:28
Wizzupbut it lacks echo cancelling for sure23:28
Wizzupdepends on how you define telecom chips, do you mean modem?23:28
Wizzupuvos: nothing on earpeice though with 000123:28
sicelomaybe osmocom (not sure about spelling)? jirido: there's not much progress, i'd say23:30
Wizzupuvos: same for headphone, that didn't work for me with the register setting, but maybe I also need to switch to it in pavucontrol?23:31
sicelopp has a modem whose firmware is replaceable somewhat, but it's not open overall. and seems quectel (its vendor) is about to close the loophole which allowed the firmware to be replaceable in the first place23:31
jiridosicelo: thats bad. It should not be rocket sience to make an opensource radio chip.23:32
Wizzupuvos: ok I can get all three working when switching pulse profile + reg write23:32
Wizzupuvos: at least I can hear my n900 on the droid423:32
WizzupI can't hear the droid4 on the n900 yet23:32
siceloi haven't taken calls on droid 4 in a while. so they currently work over loudspeaker only?23:37
Wizzupsicelo: I think is one of the first times I kinda got it working23:37
Wizzupbut I am still not sure is that I hear both sides23:37
siceloi definitely did get it working as well in the past - with both sides working fine. i suppose that was loudspeaker23:38
WizzupI can hear my n900 on my d4 with earpiece and headphone23:38
WizzupI am just not sure I can hear my droid on my n90023:38
sicelonice23:38
WizzupI'll try again in a bit23:38
Wizzupif I can get that working today I'd be quite happy23:39
WizzupI mean all I'm doing is follow uvos' advice really23:39
siceloi saw you want to use dbus-scripts to handle the switching? sounds like a good idea23:39
Wizzupbut for the record, if you're in a call, go to pavucontrol and set the output you want, and then also the register write23:39
Wizzupsicelo: it's a hack but yes23:39
Wizzupecho 081c 0002 > /sys/kernel/debug/regmap/spi0.0/registers23:39
Wizzupthat's speakerphone23:39
Wizzupecho 081c 0001 > /sys/kernel/debug/regmap/spi0.0/registers23:39
Wizzupthat's earpiece23:39
Wizzupecho 081c 0260 > /sys/kernel/debug/regmap/spi0.0/registers23:39
Wizzupthat's headphone23:39
Wizzupmaybe a similar things needs to be done when looking at input23:40
WizzupI guess the mic gain?23:42
Wizzuplooks like 0x0818 (CPCAP_REG_TXMP) is always 0x400 so that's not it23:45
sicelo118175:1592141117 <sicelo> yay, so i've just received a voice call on my d4 with ofono. works good. i did have to speak quite loud (using pavel's alsa config from unicsy_demo). i guess it's a matter of playing around until i find good microphone volume23:46
siceloso maybe your N900 can hear the d4 ... but volume is low23:46
Wizzupmaybe voice loopback or something else is needed?23:46
Wizzupyeah voice is at 13 atm23:47
Wizzupmaybe that's it?23:47
Wizzupwait23:47
sicelounless things have changed much since back then23:47
siceloi didn't have to do anything special for that call23:47
Wizzuplooks like call noise cancellation was off23:48
Wizzuphm pavucontrol sees no input device in phone call mode23:51
Wizzupsicelo: ok mics are 023:52
sicelo:-)23:53
WizzupI can hear myself when pavucontrol is set to speakerphone23:53
Wizzupbut not when it's set to earpiece23:54
Wizzupuvos: ok so it looks like mic1/mic2 are 0 on my phone by default, and only in speakerphone mode in pavucontrol do I hear the d423:56
Wizzupuvos: does that sound familiar?23:56
Wizzuptmlind: ^^23:56
uvoshmm what23:57
sicelo1592517205 <sicelo> got sound on N900 with a phone call after all :) N900 can 'hear' the other person quite good. i can't really hear N900 on the ohter phone. will test further tomorrow23:58
siceloalmost two full years ago23:58
Wizzupuvos: what in particular should I elaborate on :)23:59
uvosuvos: ok so it looks like mic1/mic2 are 0 on my phone by default, and only in speakerphone mode in pavucontrol do I hear the d423:59
uvosare 0 what?23:59
Wizzup0% out of 100%23:59
Wizzupso it's literally silent23:59
Wizzupwhich part of the puzzle of why I never heard the d4 on the remote side23:59

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