libera/#maemo-leste/ Saturday, 2022-04-30

buZzmeh, it worked so well01:36
buZznow every time i do 'connect to 2G' i get connectionfailed01:37
buZzuntil i reboot, then -maybe- it can connect once , ~10 minutes after booting (why not directly?) , but -usually- not even a single time01:37
buZzjust reboot reboot reboot , 10mins each, and -maybe- get a connection eventually01:37
buZz:(01:37
buZzoooo got it connected without rebooting after failure by ; editing gprs connection in settings, adding a APN name, saving, retrying and failing (and rebooting, just for more failures). then editting the entry -again- , deleting the APN name completely, saving, retry #1 connected!02:37
buZzlets see if this is consistent :P02:37
buZzyeah bizar02:42
buZzcorrect APN from provider, doesnt connect, correct APN (second one?) if i click through to specific phone help , doesnt connect02:42
buZzempty string APN? yeaah we'll connect :P (on 2nd try, seemingly consistently)02:42
buZzreading about whats behind it , maybe the ota-settings stuff is overriding the config through menus? or adding to the string03:00
buZzthis mentions 'appended' and raises my suspicion ; https://github.com/maemo-leste/libicd-network-ofono/blob/4643b264e8b12fce865ecbbc09296cea49e28ad2/src/search.c#L11803:09
buZzlol yeah , there's really something thats required about 'saving the gprs connection in internetconnections with a empty APN field' that you need to -redo- after reboot? some time? not sure when, but i've fixed mobile internet with that a couple times not04:05
buZznow*04:05
buZzDNS seems .. weird, after installing the TOR plugin, it seems i get working dns with tor enabled, but never without anymore04:17
buZz:)04:17
tmlinduvos: ok that's interesting, i wonder if jsut setting the uart pins to safe mode would help08:21
tmlinduvos: the modem power likely comes straight from the battery, it has it's own pmic08:21
WizzupbuZz: yeah these are ofono problems11:28
WizzupbuZz: wrt dns, apt upgrade11:36
WizzupbuZz: that should be fixed11:36
buZzah, well :)13:29
WizzupbuZz: as in, with the update it's fixed13:29
buZzyeah lets see, i'll test it later :P13:30
buZzooo, i saw a bug with wifi networks aswell, lets see if that is fixed :P13:35
buZzDNS keeps broken Wizzup , after installing updates and rebooting, connecting to GPRS13:36
buZzit works over wifi though13:36
buZzhehe yeah wifi bug is still here :P tap on the 'wrong  network' , one you dont have a profile for , maybe a poorly receiving one13:37
buZzthen click 'away' to get back to hildon from the 'enter password' prompt13:38
buZzand it'll keep blinking the wifi symbol as if its connecting13:38
buZzlol , battery 3.7V , connect to wifi, connect to gprs, i -guess- it dipped below 3.2V for a brief period and BOOM, shutdown :D13:40
buZz*back to charger*13:45
mighty17[m]tmlind: even with your mesa patch and wlroots patch, it fails to work13:45
mighty17[m]https://paste.debian.net/1239505/13:46
sicelo_try sway (just to eliminate phosh having a problem of its own)13:47
mighty17[m]well the error is clear `(phoc:4745): phoc-wlroots-CRITICAL **: 17:14:55.891: [backend/drm/renderer.c:246] Failed to pick render format for plane 32`13:47
buZztry setting it to 16bit then?13:48
WizzupbuZz: was it a hard shutdown?13:48
mighty17[m]buZz: im sorry i didnt understand13:48
buZzWizzup: no, white LED went on and screen went black13:49
buZzso, should be the 3.2V shutdown, right?13:49
sicelo_mighty17[m]: ah, hadn't seen the log :-)13:50
WizzupbuZz: right13:52
mighty17[m]i dont understand how wlroots0.12 used to work but 0.14 has issues now :/13:55
buZzWizzup: any pointers about what was wrong with ofono's dnsmasq stuff? can i fix it by hand to work without Tor again? :D13:55
buZzwell, i guess i could reinstall from maemo-leste-1.0-armhf-droid4-20220410.img.xz again. but meh'13:56
buZzcalls work a bit weird btw :P hehe not sure if i'm doing something wrong14:02
buZzi can call any person, receive any call, but zero audio gets routed , nothing to me, nothing to other end14:02
buZzbut i can also call 'voicemail' and just get the audio from it on speaker (ignoring if i select 'handset' or 'speaker' on sfone)14:02
buZz:)14:03
sicelo_mighty17[m]: wlroots is a fast moving target tbh. maybe that's why even phosh doesn't keep up14:06
buZzurf, and now stuck in endless 'connection failed, retry?' on gprs14:07
mighty17[m]sicelo_: but tmlind here had it working with wlroots 0.1414:07
buZzWizzup: is there something that gets 'auto settings from provider' for gprs etc?14:08
buZzi wonder if thats causing issues14:08
buZzi think that was called ota-settings in some github post , but doesnt seem to exist on leste14:09
buZzhmmm, i guess i could uninstall tor, lets see if that helps14:09
sicelo_mighty17[m]: yes, i remember :-)14:10
sicelo_buZz: i don't recall if it uses mobile-broadband-provider-info yet14:11
buZzwell, did you configure any APN? :P14:11
WizzupbuZz: in my experience ofono just stops doing anything ok14:11
buZzi didnt but it worked as-is14:11
Wizzupso I don't think it's the provisioning14:11
Wizzupsometimes restarting the modem helps, sometimes restarting ofono helps14:11
mighty17[m]sicelo_: phoc since version 0.11.0 needs wlroots 0.14.1, but afaik wlroots 0.14.1 isnt working with the patch suggested14:12
buZzso there -is- some provisioning that grabs APN etc from telco?14:12
Wizzupthere is14:12
buZzany idea where? i'd love to take a look14:12
WizzupI think freemangordon knows, but it is probably in libicd-network-ofono14:13
buZzhmhm alright14:13
buZzfigured that most of the connection stuff moved in there :P14:13
buZzguess this stuff? https://github.com/maemo-leste/libicd-network-ofono/blob/master/src/iap.c#L13714:14
Wizzupso for call sound, what audio do you get?14:15
Wizzupiirc it was literally called 'provision'14:15
buZznothing at all14:15
Wizzupyeah that14:15
buZzon the 'voicemail' call i get audio over speaker to me14:15
Wizzupwhat do you have set as voice input14:15
buZzbut i dont think i can talk back , there's no DTMF sending in sfone anyway14:15
buZznothing at all, i didnt config anything14:15
Wizzupcheck which one it is on pavucontrol14:15
Wizzupthe only one that works is the speaker14:16
buZzthe speaker as input?14:16
Wizzupwell I don't know the name, bu tyes14:16
WizzupI don't have my droid right here14:16
Wizzupthere are three inputs14:16
Wizzupone is headset, one is the tiny mic on one side of the phone, and there is a third14:17
Wizzupuse that one14:17
buZzah ok14:17
buZzahhhh 'headset' is over cable, i guess?14:17
Wizzupright14:17
Wizzupspeakerphone14:18
WizzupI think is the name14:18
buZzmaybe 'built-in audio' should be on profile 'make a phone call' ? :)14:19
* buZz tries14:19
buZzhmm, ok, sfone changes it back to 'play hifi quality audio'14:20
Wizzupsfone?14:21
Wizzupdo you sphone?14:21
Wizzupin any case I don't know what sphone does, I still think that PA should decide what to route based on the requested streams14:21
buZzeh, yes sphone14:21
buZzi just see 'internal microphone' and 'headset microphone'14:22
buZzunder 'input devices' in pavucontrol14:22
buZz-output- devices has 'internal speaker' 'internal earpiece' and 'headset (unplugged)'14:22
Wizzuphm14:25
Wizzupthat's weird14:25
buZzwish any of the tricks i found yesterday night for getting GPRS to connect again worked :P14:25
Wizzupuvos: any comment/idea14:25
WizzupbuZz: well you can do it manually, what I usually do is activate gprs over dbus and then use the ui to set up the ip14:26
buZzWizzup: i bet the third input only appears when i connect a headphone?14:26
WizzupbuZz: don't think it's that clever14:26
buZzah, ok, i saw mdbus2 ? is thats installable?14:26
WizzupI think the page docuements how to get it14:26
buZzi only saw it on a n900 .txt14:30
buZzdoesnt dnsmasq log anything? :P14:44
buZzlol 'cpcap_battery cpcap_battery.0: Battery low at 3814mV!'14:44
buZzriiiight :P14:44
buZzi think cpcap and me dont agree whats 'low' :D14:45
buZzah 'the page' is https://maemo-leste.github.io/maemo-leste-eleventh-update-january-2020.html14:45
buZz:) ty14:45
sicelo_ok that's weird. are you sure it's not 3184mV? :-)14:49
buZzaw , 'E: Unable to locate package mdbus'14:49
buZzsicelo_: yeah14:49
buZzhttp://space.nurdspace.nl/~buzz/seecpcap.txt14:50
WizzupbuZz: just get it from stretch14:51
Wizzupsorry, I'm just not avail right now to help more actively ;(14:51
Wizzuplater today14:51
buZznp, take your time :)14:52
buZzdont let my curiousity slow you down ;)14:52
buZzhmmm, it -seems- i only get those 'Battery low at high voltage' msgs when i enable the modem?14:54
Wizzuphttps://packages.debian.org/stretch/armhf/mdbus2/download15:14
buZztnx :)15:23
buZzbtw, did keyrepeat break? :(15:52
buZzi cant hold down 'a' and get 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa' on osso-terminal15:52
Wizzupthat never worked15:52
Wizzupit shouldn't work that way15:52
buZzoh15:53
buZzhmm, weird15:53
buZzcould have sworn that worked :P15:53
sicelo_it should (hopefully?) give you the alternate character for that key15:56
sicelo_yes, it does for some on the droid 4, but not all15:57
buZzis the 'alt character' for any digit 'remove the previous character' ? :D15:57
sicelo_hehe, evidently for the d4, yes16:01
buZz:D lol16:05
tmlindmighty17[m]: hmm are you using maemo-leste sgx-ddk-um git tree?16:15
mighty17[m]tmlind: Nope, but I'm using binaries from ti like m-l's tree https://gitlab.com/postmarketOS/pmaports/-/blob/master/non-free/sgx-ddk-um/APKBUILD16:16
tmlindmighty17[m]: you need to switch to maemo-leste sgx-ddk-um git tree, it has commit ce20a6afdd46 ("dbm: Fix render node usage for wlroots")16:20
mighty17[m]ah okay then, thanks16:48
mighty17[m]debian/rules and debian/control are the files i should look into right? ie to build it16:51
tmlindsure16:56
mighty17[m]tmlind: im still confused how to build it, `autoreconf` then `./configure` and then `make` ?17:00
mighty17[m]and what about the `sgx-ddk-um-ti443x.install` files?17:26
Wizzupthat should not matter17:26
Wizzupthat's only for debian packages to decide what goes where typically17:27
Wizzupbut you can read it and see if it makes sense17:27
mighty17[m]Wizzup: so just `make install` ?17:27
mighty17[m]and it'll magically detect the files to copy? (not on debian btw)17:27
mighty17[m]tmlind: still fails with m-l mesa, sgx-ddk-um and wlroots with the patch17:37
mighty17[m]`[   33.355072] PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet.`17:39
mighty17[m]https://paste.debian.net/1239520/17:40
mighty17[m]something wrong with sgx-ddk-um install? i did `autoreconf -v -f -i` `./configure` `make` `sudo make install`17:42
mighty17[m]`samsung-espresso3g:~$ ls /usr/lib/xorg/modules/dri`17:45
mighty17[m]`pvr_dri.so     swrast.so      swrast_dri.so`17:46
mighty17[m]this seems to be the real issue17:49
* mighty17[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/92f8896c539e6321f0ebdf876bcef1cad508757317:49
mighty17[m]ah didnt run pvrsrvinit :P17:51
mighty17[m]still phoc fails to start17:51
Wizzupuvos: do you have sound on d4 calls currently - buZz asked21:12
WizzupI think the speakerphone setup should work, right?21:12
buZzi do not have any functional way to call people or receive calls21:24
buZzi mean, i can make they call, they receive me, they can call me, i can pick up21:24
buZzbut no audio gets through either way21:24
Wizzupyes, that is what I mean21:24
buZz-but- calling 'voicemail' through a shortcode does get me audio routed?21:24
Wizzupbut not your own I suspect21:25
buZzme too, but no way to test as sphone doesnt give me a way to send DTMF :P21:25
_uvos_no only speakerphone output works the mic dosent22:27
_uvos_kener issue it dosent set the reg22:27
_uvos_if you set it by hand it works22:27
Wizzupwhat about input?22:28
Wizzup(recording your sound)22:28
_uvos_no only speakerphone output works the mic dosent22:30
_uvos_kenerl issue it dosent set the reg22:30
_uvos_if you set it by hand it works22:30
_uvos_dtmf works in sphone via ofono22:30
_uvos_but ofono dosent support the way dtmf works on the d4 modem22:30
_uvos_you can use dtmf via alsamixer22:30
Wizzupbut do you get your audio to the other party?22:31
_uvos_only if i set the reg by hand23:32
_uvos_otherwise no23:32
_uvos_the mixer is set correctly23:32
_uvos_but the kernel powers off the dpms nodes23:32
WizzupI see23:44

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