belcher_ has joined #maemo-leste
Pali has quit [Ping timeout: 268 seconds]
belcher has quit [Ping timeout: 272 seconds]
avoidr has quit [Ping timeout: 256 seconds]
avoidr has joined #maemo-leste
avoidr_ has joined #maemo-leste
avoidr has quit [Ping timeout: 272 seconds]
The_Niz has quit [Ping timeout: 252 seconds]
The_Niz has joined #maemo-leste
scops has quit [Read error: Connection reset by peer]
mighty17[m] has quit [Remote host closed the connection]
tvall has quit [Read error: Connection reset by peer]
ajr has quit [Read error: Connection reset by peer]
asriel_dreemurr has quit [Read error: Connection reset by peer]
tvall has joined #maemo-leste
scops has joined #maemo-leste
ajr has joined #maemo-leste
mighty17[m] has joined #maemo-leste
asriel_dreemurr has joined #maemo-leste
sunshavi has quit [Ping timeout: 272 seconds]
tvall has quit [Quit: node-irc says goodbye]
scops has quit [Quit: node-irc says goodbye]
mighty17[m] has quit [Quit: node-irc says goodbye]
ajr has quit [Quit: node-irc says goodbye]
asriel_dreemurr has quit [Quit: node-irc says goodbye]
joerg is now known as Guest7314
Guest7314 has quit [Killed (cadmium.libera.chat (Nickname regained by services))]
joerg has joined #maemo-leste
mardy has joined #maemo-leste
kdsch has joined #maemo-leste
kdsch has quit [Client Quit]
elastic_dog has quit [Ping timeout: 256 seconds]
elastic_dog has joined #maemo-leste
tvall has joined #maemo-leste
scops has joined #maemo-leste
ajr has joined #maemo-leste
mighty17[m] has joined #maemo-leste
asriel_dreemurr has joined #maemo-leste
tvall has quit [Quit: Client limit exceeded: 20000]
scops has quit [Quit: Client limit exceeded: 20000]
ajr has quit [Quit: Client limit exceeded: 20000]
mighty17[m] has quit [Quit: Client limit exceeded: 20000]
asriel_dreemurr has quit [Quit: Client limit exceeded: 20000]
enyc has quit [Max SendQ exceeded]
enyc has joined #maemo-leste
tvall has joined #maemo-leste
scops has joined #maemo-leste
ajr has joined #maemo-leste
mighty17[m] has joined #maemo-leste
asriel_dreemurr has joined #maemo-leste
enyc has quit [Changing host]
enyc has joined #maemo-leste
tvall has quit [Quit: Client limit exceeded: 20000]
scops has quit [Quit: Client limit exceeded: 20000]
ajr has quit [Quit: Client limit exceeded: 20000]
mighty17[m] has quit [Quit: Client limit exceeded: 20000]
asriel_dreemurr has quit [Quit: Client limit exceeded: 20000]
tvall has joined #maemo-leste
scops has joined #maemo-leste
ajr has joined #maemo-leste
mighty17[m] has joined #maemo-leste
asriel_dreemurr has joined #maemo-leste
mighty17[m] has quit [Remote host closed the connection]
ajr has quit [Remote host closed the connection]
asriel_dreemurr has quit [Remote host closed the connection]
scops has quit [Read error: Connection reset by peer]
tvall has quit [Remote host closed the connection]
Pali has joined #maemo-leste
tvall has joined #maemo-leste
scops has joined #maemo-leste
ajr has joined #maemo-leste
mighty17[m] has joined #maemo-leste
asriel_dreemurr has joined #maemo-leste
mardy_2nd has joined #maemo-leste
uvos has joined #maemo-leste
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 272 seconds]
<uvos> btw no without a connection ham dosent let you try and install an app
<Wizzup> kind of makes sense
<bencoh> :)
<uvos> but its not great, it creates a dependancy on icd and needlesly punishes people for seting up networks manually
<sicelo> you can use dummy network if you've setup manual network
<uvos> there is no reason for it to not just try and then try the icd/connui dus interface to raise the dialog if it cant connect
<uvos> and what if you want to replace icd with nm or whatever - it would be best if suff is modular as far as possible
<Wizzup> I think the hildon integration makes it not try when it knows it'll fail
<parazyd> uvos: You can avoid this in red pill mode in HAM
<uvos> parazyd: ok
<parazyd> See red-pill.txt in the repo
<uvos> anyhow, btw i cant get syncevolution to work
<Wizzup> what is the server sw
<uvos> the frontend just sits at syncronizing with.. forever with stop doing nothing
<Wizzup> what if you run it manually?
<uvos> and if i run sync.py in console this appears: https://pastebin.com/ZgrJX06y
<lel> MerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/472 (Fork and change syncevolution)
<uvos> Wizzup: im not sure how yet syncevolution "/home/user/.config/syncevolution/uvos-target/peers/target-config/config.ini" returns with
<uvos> [INFO] Configuration "/home/user/.config/syncevolution/uvos-target/peers/target-config/config.ini" does not exist.
<uvos> but thats not true
<Wizzup> uvos: did you see https://leste.maemo.org/Calendar
<bencoh> having HAM depend on a "normal" hildon environment doesn't sound that bad to me actually
<Wizzup> bencoh: yeah
<uvos> eh id rather have leste be modular and non interdependant (at least hard dependancies wise)
<uvos> but ham is no big loss
<Wizzup> I mean it currently even only shows maemo apps
<uvos> i know ham is no big loss
<Wizzup> that sounds overly negative ;)
<parazyd> Again, you can just disable the network checks in the UI
<uvos> right
<uvos> its fine
<bencoh> we mostly need to watch out for broken edge cases ... when it upgrades icd, for instance
<Wizzup> uvos: so did you try to follow the steps on that wiki?
<uvos> not yet
<uvos> on it
<uvos> but the config that the frontend created
<uvos> i should be able to try to use that no?
<Wizzup> I don't know, I've had a lot of trouble with finding the right options
<uvos> ok
<uvos> ill try manually
<bencoh> I'm currently trying to debug power usage when idle ... http://pastebin.notk.org/pastebin.php?show=f24064aa8
<Wizzup> fwiw syncing works for me from the frontend, I didn't use it for config
<bencoh> this is from serial, with wifi off, leste-stable
<uvos> device?
<bencoh> droid4*
<uvos> why dose it need debuging?
<sicelo> syncevo is really difficult to configure right - you need a lot of patience :p
<bencoh> I'm pretty sure the "869mW" reported by powertop is wrong anyway
<Wizzup> bencoh: great, I also saw some newer kernels used more power too
<uvos> its right
<uvos> just the burst
<Wizzup> or caused more wakeups at least
<bencoh> uvos: because upower reports 0.260~0.340W idle
<Wizzup> 24 wakeups/second isn't that terrible though
<uvos> what dose sleep 10 ; /etc/init.d/droid4-powermanagement status
<uvos> stay
<uvos> *say
<bencoh> and it pains me, since I reached ~0.150 a few days ago
* sicelo wonders where gordon1 went
<uvos> shoult be ~90mW in a working setup
<bencoh> and I don't really understand what changed
<bencoh> uvos: seriously?
<uvos> yes
<uvos> but the modem is wierd
<bencoh> well, looks like I'm far from it
<uvos> so sleep 10 ; /etc/init.d/droid4-powermanagement status
<uvos> ?
<bencoh> I haven't fiddled with the modem yet, I dunno what's its default state either
<bencoh> yeah, a min
<uvos> oh
mardy_2nd has quit [Quit: WeeChat 2.8]
<uvos> if you dont have a sim you must printf 'U1234AT+CFUN=0\r' > /dev/gsmtty1
<uvos> otherwise the modem dosent sleep
<bencoh> d=2021-07-02|t=13:06:35|i=OFF:0,RET:0|p=248|c=44|b=none
<uvos> ok your device istent acciveing sleep at all
<parazyd> Wizzup: ^ could we automatically do this if no sim is detected?
<uvos> parazyd: problem is ofono lies to us
<uvos> about that
<uvos> atm
<parazyd> Yeah
<bencoh> huhu
<parazyd> I'll add it as a note on the ofono ticket
<bencoh> time to clone ofono and hack, I guess ... :)
<uvos> bencoh: ok so add printf 'U1234AT+CFUN=0\r' > /dev/gsmtty1 to rc.local
<uvos> reboot and then report back after leting the device idle for 10 min
<uvos> you can do sleep 10 ; /etc/init.d/droid4-powermanagement status via wifi/ssh
<bencoh> alright
<uvos> no need for serial
<bencoh> reboot or poweroff?
<uvos> should not matter
<bencoh> hmm ... do you mean that modem keeps that settings even after poweroff?
<bencoh> ah, rc.local
<bencoh> nevermind
<bencoh> let's see what it does when issuing it manually first then
<Wizzup> parazyd: once we fix ofono, yes
<uvos> it dose seem the modem reatins stuff btw
<uvos> but thats beside the point
<uvos> it dosent reatain cfun
<Wizzup> bencoh: if you want to that (hack ofono), would be much appreciated
<Wizzup> you'll probably need a sim as well for some of it though
<bencoh> hmm, I haven't ordered a sim yet (since I never found time to play with it), but ... yeah, I'll probably do it at some point
<uvos> turing off the modem if you dont have a sim is problematic also because i think that would break hotplugging the sim
* Wizzup is happy he can just buy sims for ~5 euro with cash
<uvos> needs investigation how android handles this
<uvos> it manages to have good pm with no sim
<bencoh> uvos: I haven't rebooted yet (I only ran it from the shell), but I don't really see a difference thus far; I'll try with it in rc.local
<Wizzup> uvos: CFUN=0 just makes the modem go offline though, that should not prevent sim detection?
<uvos> Wizzup: yes (offline)
<uvos> Wizzup: idk
<Wizzup> pretty sure it should not
<uvos> Wizzup: i gues maybe not
<bencoh> you're positive it should be U1234AT+CFUN and not just AT+CFUN?
<uvos> yeah the modem is wierd
<bencoh> ah, alright
<Wizzup> I think this is kernel interface, not modem per se, no?
<uvos> no this is the modem it talks at directly
<Wizzup> ok
<bencoh> anyway, reboot
<uvos> Wizzup: what is target-config@radicale supposed to be
<Wizzup> hm?
<Wizzup> just a name/identifier
<uvos> im not sure what this parameter is
<uvos> ok
<Wizzup> you can literally use that if you ewant
<uvos> ok
avoidr_ is now known as avoidr
<Wizzup> ofc the radicale after the @ needs to be replaced elsewhere too if you choose to use something else
<bencoh> currently d=2021-07-02|t=13:21:57|i=|p=214|c=NA|b=none
<bencoh> (I'll try it again in ~10mn)
<uvos> hmm
<uvos> i cant seem to get it to work
<uvos> unexpected reply from peer; might be a temporary problem, try again later
<uvos> im probubly just configureing something wrong
<uvos> but idk what atm
* Wizzup going home, so back in a few hours
<Wizzup> are you using radicale or something else?
<uvos> baikal
<uvos> syncevolution --print-databases backend=caldav username= password= syncURL=https://uvos.xyz:8081/cal.php/calendars/USER shows the calendars fine
<sicelo> follow any tutorial for baikal + syncevolution
<sicelo> i.e. maemo's syncevolution is not particularly special (besides the maemo backend) ... the settings that work for baikal on your pc should work with Leste (with minor modification, perhaps)
<uvos> i only used it with android
<uvos> that mainly just autodetects everything
<uvos> i also cant really find anythign on baikal + syncevo
<uvos> (or mutch on syncevo at all for that matter)
<uvos> i managed a different error message
<uvos> SoupTransport Failure: https://uvos.xyz:8081/cal.php via libsoup: Not Implemented
inky_ has quit [Ping timeout: 265 seconds]
<uvos> interstingly installing evolution (the gnome frontend) and just configureing it with that works with no isse
<uvos> (with seemingly the same parameters)
<bencoh> what's the recommended way to launch a user daemon at session start with leste?
<uvos> xsession.d
<bencoh> thanks
inky_ has joined #maemo-leste
kdsch has joined #maemo-leste
sunshavi has joined #maemo-leste
<Wizzup> uvos: I'd have to check baikal, haven't used it before
kdsch has quit [Quit: WeeChat 2.8]
<uvos> ok
<uvos> i cant seem to get what request is not implmented
<uvos> and not sure why evolution works
<uvos> but it dosent configure syncevolution
<Wizzup> can baikal not log more info?
<uvos> sure on the server side ther might be soemthing
<uvos> but syncevo dosent log anything really
<Wizzup> (their script anyway)
<uvos> i saw that
<uvos> im pretty mucht 90% sure im configureing it correctly
<Wizzup> ok
<Wizzup> hm, maybe it's not baikal
<uvos> i did the config with evolution by hand and on android by hand
<uvos> now
<uvos> so the stuff im entering is correct
<uvos> so i modified the script
<uvos> and it works
<uvos> nvm it works for addressbook only
<uvos> changed the script slightly
<uvos> now it synced
mardy_2nd has joined #maemo-leste
<uvos> ok it works i can create items and see syncevolution get them on the cli
<uvos> but qcalendar dosent show anything (and there are only local calendars configured/ configureable)
<uvos> probubly still missing somehting
<Wizzup> uvos: are you doing a sync to the maemo calendars?
<Wizzup> the script probably syncs to some random ubports db
<uvos> probubly
<uvos> it worked :)
<Wizzup> maybe you can add a section to the wiki
<Wizzup> one for radicale, and one for baikal
<uvos> yeah i adapted the script
<Wizzup> brb
<uvos> i dont think its baikal specfic
<uvos> https://leste.maemo.org/Calendar added the script
<uvos> you might want to host it some where else incase i become bus-factor
inky_ has quit [Ping timeout: 265 seconds]
<Wizzup> uvos: it seems like a small script, just put it on the wiki?
<Wizzup> I would maybe also differentiate between radicale and that you tested it with baikal
mardy_2nd has quit [Quit: WeeChat 2.8]
xmn has quit [Ping timeout: 240 seconds]
<Wizzup> uvos: btw I hope this coming week to get the audio stuff going
<uvos> Wizzup: nice :)
<uvos> i think the flaky wifi scanning issues are pretty delapidating btw so it would be great if you could look at that. ofc i understand if you want to do what seams the most interesting to you.
<Wizzup> uvos: might need your help some
<Wizzup> uvos: it's not just about interesting, it's just blocking stuff, and I agree wifi regressions are bad
<lel> IMbackK opened an issue: https://github.com/maemo-leste/bugtracker/issues/553 (Get the syncevultion ui to work)
<stan> the single low-power beep could be improved by one beep, then a second one after 5 seconds then a third after another 10 seconds
<uvos> ???
<stan> to assist in locating the beeping device
<uvos> the device dosent beep
<lel> IMbackK opened an issue: https://github.com/maemo-leste/bugtracker/issues/554 (Flakey wifi scanning)
<lel> IMbackK opened an issue: https://github.com/maemo-leste/bugtracker/issues/555 (GPRS/UMTS provisioning dosent work (reliably?))
<uvos> freemangordon: could you look at 555 ^^^
<stan> status-area-applet-battery-1.5.3/debian/changelog: * Repeat battery low sound when battery is too low
Twig has joined #maemo-leste
<lel> IMbackK opened an issue: https://github.com/maemo-leste/bugtracker/issues/556 (Pdf reader crashes often)
<uvos> Wizzup: ^^^ these should keep you from getting bored :P
<Wizzup> hehe
<Wizzup> bored I am almost never, unless I have to wait and cannot do anything while waiting
<Wizzup> 554 is -devel only right
sunshavi has quit [Ping timeout: 258 seconds]
<uvos> no
<uvos> we promoted those afaik
<uvos> because it fixes the issue with connection failue breaking icd untill all dialogs are closed
<uvos> we introduced the scanning issue at the same time so i think its in stable :(
<uvos> stan: ok my bad i have never herd it beep but i gues i just have system sounds disabled
<stan> simple tweak is to make /usr/share/sounds/ui-battery_low.waw repeat the beep over a period of a few seconds
<stan> helps find the beeping device
<stan> perhaps i can add this to wiki?
<uvos> yeah go for it
<uvos> idk what page tho
<uvos> anything you can add the wiki is very welcome
<Wizzup> hmm
<Wizzup> I am not sure if we pushed the wifi changes
<Wizzup> I don't think we did
<lel> MerlijnWajer assigned an issue: https://github.com/maemo-leste/bugtracker/issues/554 (Flakey wifi scanning)
<Wizzup> uvos: also wondering if ^ could be due to connui changes
<Wizzup> probably not I bet
<Wizzup> but we changed a lot at once
<uvos> Wizzup: idk maybe
<uvos> Wizzup: yeah @manny changes at once
kdsch has joined #maemo-leste
rafael2k has joined #maemo-leste
<rafael2k> interesting, I turned on my pinephone today, and it connected to the wifi automatically
<Wizzup> as it should :P
<freemangordon> uvos: I think it is Wizzup who should look at it (provisioning), unless I am missing what the issue is.
<freemangordon> uvos: could you please explain in the issue what you are trying to achieve and what is the result.
<uvos> Wizzup: said that you wrote libicd-conectivity-cellular (or is it -mobile)
<freemangordon> I did the initial work, IIRC, lemme check
<uvos> freemangordon: so i inserted a sim, installed the stuff as shown in the bug and then i expected to be able to create/select a gprs/umts internet connection
<uvos> this worked previously
<uvos> but now the connection never appears
<uvos> the device still connects to the network as evidenced by the 3g and bars in the status as well as the operator name
<uvos> connecting to gprs is possible manualy via ofono
<freemangordon> hmm: what is status 6?
<rafael2k> ; ))
<rafael2k> I moved to moscow, will test 4G with the carrier here again
<rafael2k> and "wifi sharing" too, with hostapd
<Wizzup> freemangordon: I did investigate that
<Wizzup> let me read the logs
<Wizzup> 11:48 < uvos> i can make voice calls after all
<Wizzup> 11:48 < Wizzup> so we need to figure out why ofono_start_search_finish gets a non-successful status
<Wizzup> 11:48 < Wizzup> btw 6 = OPERATION_STATUS_CANCEL
<Wizzup> 11:48 < Wizzup> and the code checks for OPERATION_STATUS_FINISHED
<Wizzup> it seems to be a timeout of some sort, but it's not clear why
<Wizzup> rafael2k: cool, both should work I hope
<freemangordon> p, li { white-space: pre-wrap; } OPERATION_STATUS_ABORT
<freemangordon> Wizzup: 6 is ABORT
<Wizzup> hm
<rafael2k> Wizzup: me too, I think it will just work
<rafael2k> lets hope the wifi chipset in the pinephone is decent in AP mode
<Wizzup> freemangordon: off by one error
<freemangordon> operations_group_timeout()
<freemangordon> SEARCH_INTERVAL is 20 seconds
<Wizzup> freemangordon: it works in ofono though
<Wizzup> so it's weird that it would timeout
<freemangordon> what do you mean?
<uvos> also in no way dose this take 20 secons
<uvos> that status 6 thing appears almost immidatly with starting icd
<Wizzup> well activating the context can take time, but not that -- yeah
<uvos> activating the context via ofono is also effectivly instantaious
<Wizzup> uvos: not for me, but ok :)
<freemangordon> we receive timeout on searc, not context activation
<uvos> i happens faster than i can check the connection status :P
<uvos> (via typeing in the command)
<Wizzup> freemangordon: right
<freemangordon> unfortunately there are no enough traces in search_operation_check()
<Wizzup> right
<Wizzup> that's where I gave up
<uvos> so what doset that function do ofono wise?
<freemangordon> gets the results and decides on what to do
<Wizzup> freemangordon: hmmm is it possible he doesn't have the xml file with sim/operator info
<uvos> is there some dbus function call i can try and see how long it takes?
<Wizzup> or do you not rely on that
<Wizzup> it might simply not be in the meta pkg
<freemangordon> so, something unexpected happens and plugin doesn;t know how to handle it, so it waits for known result
<freemangordon> which never comes
<freemangordon> Wizzup: don;t really remember
<uvos> libicd-network-ofono was not in the meta package btw
<uvos> i had to install that by hand
<freemangordon> do you have mobile-broadband-provider-info installed?
<uvos> nope
<freemangordon> please installo
<freemangordon> hmm, I don't have it either in the VM
<freemangordon> wait
<freemangordon> Wizzup: shall we have mobile-broadband-provider-info installed?
<Wizzup> freemangordon: I am not sure if we need it, it was just something that occured to my mind
<parazyd> pls add anything relevant here
<Wizzup> let's figure out if it is relevant first ;)
<freemangordon> see my note
<Wizzup> freemangordon: ah, so it relies on the behaviour of ofono when that pkg is installed
<freemangordon> maybe, I don;t remember
<Wizzup> still not sure if this would cause the problem
<freemangordon> but I guess I put that note there for a reason
<Wizzup> we don't see "Deactivating chosen context" I think
<uvos> ok so i installed the pkg
<uvos> and killed icd2
<Wizzup> uvos: restart ofono
<Wizzup> maybe we can add some more traces to libicd-network-ofono ?
<uvos> and i has made no change
<uvos> ok ill just reboot
<freemangordon> uvos: could you set BP in search_operation_check() and report the code path taken
<freemangordon> did I really write all this code ?!?
<freemangordon> :)
<Wizzup> yes
<freemangordon> good for me
<Wizzup> apart from the context activation that is blocking
<Wizzup> uvos: I removed the IAP with gconf --recursive-unset and it does work for me
<Wizzup> uvos: so it's not entirely broken
<uvos> ok i rebooted
<uvos> and nothing changed
<freemangordon> do you have gconf entry for the IAP?
<uvos> freemangordon: no
<uvos> just to be sure here the gprs connection is just supposed to appear in the connection dialog right, i dont have to create a connection (that dosent work either) i dont quite remember how it worked previously
<uvos> also this is now the same sim
<uvos> it worked with before
<Wizzup> yes, it should just appear. do you have any other GPRS connections there?
<uvos> no wifi only
<freemangordon> uvos: could you set BP in search_operation_check() and report the code path taken
<uvos> BP?
<uvos> break point?
<freemangordon> breakpoint
<uvos> ok
<uvos> let me install debug symbols
<freemangordon> maybe clone the source and install -dbgsym package
<freemangordon> mhm
<freemangordon> FYI
<freemangordon> hmm, sim->present has to be true
<uvos> ofono reports sim
<uvos> as present
<freemangordon> yes, but something doesn;t make it to the plugin
<freemangordon> so, once you hit the breakpoint, please dump *sim
<freemangordon> or better dump *md
<freemangordon> dump == print
<freemangordon> I suspect online status of the modem is wrong
<uvos> ok it hit the bp
<Wizzup> uvos: you might have to write 'step' a bunch of times to get to the right location
<uvos> its slightly annoying to use because i have to do it on device kbd
<uvos> Wizzup: yeah i know
<freemangordon> actually we need 'next' :)
<freemangordon> why not connect through USB networking?
<uvos> i dont load that module
<uvos> cpcp_phy
<uvos> i could use usb serial
<uvos> but i wasent that forsighted
<freemangordon> but how you're going to provide me the results of 'p *md*'?
<freemangordon> p *md
<uvos> ill just dump it to a file
<uvos> and connect later?
<freemangordon> ok
<freemangordon> just make sure to dump after g_hash_table_lookup() call
<lel> MerlijnWajer opened an issue: https://github.com/maemo-leste/bugtracker/issues/557 (connui-internet: Add providers tab to advanced settings)
<lel> MerlijnWajer assigned an issue: https://github.com/maemo-leste/bugtracker/issues/557 (connui-internet: Add providers tab to advanced settings)
<lel> MerlijnWajer labeled an issue: https://github.com/maemo-leste/bugtracker/issues/557 (connui-internet: Add providers tab to advanced settings)
<Wizzup> uvos: I'll stop with the suggestions now but GNU screen can be helpful here too
<uvos> i know i know :D
<freemangordon> hmm, could it be that flightmode is activated on your device?
<uvos> i just started gdb on device without thinking gosh :P
<uvos> ok so i dumped md at line 81
<uvos> any thing else?
<freemangordon> yes, trace the flow
<freemangordon> in that function only
<uvos> ok
<uvos> so condition at line 90 is true
<freemangordon> good
<uvos> 97 is false
<freemangordon> and I guess iap_id is NULL
<uvos> so is 100
<freemangordon> mhm
<freemangordon> 100?
<Wizzup> parazyd: freemangordon: looks like connui plugins can have plugin->advanced_show = to have settings show up in advanced settings, so we could do that for provider
<uvos> conditon on line 100 is false
<uvos> so is if on line 108
<freemangordon> as suspected
<freemangordon> so, it calls ofono_modem_set_online(), right?
<freemangordon> uvos: ^^^ ?
<uvos> sec
<uvos> *md = {modem = 0x461898, modem_handler_id = {0}, sim = 0x465850, simmgr_handler_id = {75}, connmgr = 0x4658e8, connmgr_handler_id = {76}}
<uvos> 90in search.c
<uvos> 91in search.c
<uvos> 95in search.c
<uvos> 97in search.c
<uvos> 100in search.c
<uvos> 108in search.c
<uvos> 124in search.c
<uvos> 126in search.c
<uvos> 142in search.c
<uvos> 145in search.c
<uvos> 146in search.c
<uvos> if (!sim->spn || !*sim->spn) fails
<freemangordon> and the modem is online?
<uvos> yeah its connected
<freemangordon> ok, I don't know what to do here
<freemangordon> we need SPN
<freemangordon> could you respin and dump *md->sim?
<uvos> sure
<uvos> here is list-modems
<freemangordon> or you can get the same results from ofono tools
<freemangordon> no, I need sim properties
<uvos> freemangordon: sure sec
<freemangordon> hmm
<freemangordon> ServiceProviderName = Vodafone
<freemangordon> but, why we don;t have it?
<uvos> org.ofono.SimManager shoul have it
<freemangordon> yes
<uvos> oh right you saw
<uvos> ok
<uvos> no idea
<freemangordon> hmm, who powers the modem up?
<Wizzup> icd2
<Wizzup> oh
<Wizzup> no
<Wizzup> power up is done by kernel
<Wizzup> online is done by icd2
<freemangordon> on uvos' device?
<freemangordon> yes, online
<uvos> yes its powerd by kernel
<uvos> i online it
<uvos> by hand
<freemangordon> you should not
<uvos> well i have to
<Wizzup> icd2 should online it for you
<uvos> i cant enter the sim pin
<uvos> ofono fails
<Wizzup> uvos: ok, let's try this: reboot, then wait 2-3 minutes, then /etc/init.d/ofono restart
<freemangordon> it seems icd2 doesn;t get sim properties in that case
<Wizzup> wait for missing sim icon to go away
<Wizzup> uvos: then issue 'startup-pin-entry'
<Wizzup> and then try to connect to the dialog
<Wizzup> (just to confirm, this is what I do)
<Wizzup> not saying it's not a bug, but this works for me
<uvos> shal i enbale-modem?
<Wizzup> no
<uvos> since ofono thinks is not powerd
<uvos> ok
<Wizzup> btw, while at it, we should fix the context activation not blocking
<Wizzup> or rather, make it not-blocking
<Wizzup> freemangordon: unrelated but connui-wlan plugin is the one that adds the "Other" tab to advanced settings, apparently conn_set_iap_ti_adv_misc is "Other"
<Wizzup> a bit confusing :)
<Wizzup> but I now have enough info to make plugin for providers tab
<uvos> btw the missing sim icon dose go away as soon as i enterd the pin via ofono
<uvos> so something in the maemo stack realizes the sim is there
<Wizzup> uvos: no, this is ofono not reporting it properly
<uvos> (when i online the modem by hand)
<Wizzup> and you kicking it makes it wake up
<freemangordon> Wizzup: I think we have bugs in libgofono as well
<Wizzup> freemangordon: possible, there might also be a newer version
<uvos> startup-pin-entry: command not found
<uvos> what pacakge is this?
<Wizzup> sec
<Wizzup> startup-pin-query
<Wizzup> sryt
<Wizzup> sry
<Wizzup> part of connui-conndlgs-cellular
<Wizzup> I always confuse it with the pinentry helpers (for gpg and such)
<uvos> ok i enterd the pin
<uvos> absolutly nothing happend
<Wizzup> uvos: yes
<Wizzup> uvos: now hit the status area, and then go to internet connections
<uvos> yes i mean same state as before
<uvos> i have 2g and full bars
<Wizzup> freemangordon: didn't I file that bug a long time ago?
<freemangordon> yes
<uvos> and only wifi in the dialog
<freemangordon> for some reason libgofono does not report SPN to icd plugin
<uvos> org.ofono.SimManager looks the same
<Wizzup> uvos: just to check, you did reboot, right?
<uvos> yeah ofc
<Wizzup> hm, looks fmg is on to something
<uvos> /motmdm_0/context1 looks the same
<uvos> the / at start of line thing in irc is annoying
<uvos> \ would have been better, only windows user would complain :P
<Wizzup> use '/ /hello'
<freemangordon> uvos: could you attach gdb again and dump *md->sim?
<uvos> ok
<uvos> its valid
<uvos> (gdb) p *sim
<uvos> $1 = {intf = {object = {object = {g_type_instance = {Python Exception <class 'gdb.error'> No type named TypeNode.:
<uvos> g_class = },
<uvos> ref_count = 1, qdata = 0x464be8}, priv = 0x465020,
<uvos> intf = 0x43e330 "org.ofono.SimManager", path = 0x454ad8 "/motmdm_0",
<uvos> valid = 1}, priv = 0x465018, modem = 0x4620b0}, priv = 0x465000,
<uvos> present = 1, imsi = 0xb4908110 "262022703707497", mcc = 0x468df8 "262",
<uvos> mnc = 0x4696f8 "02", spn = 0x439b70 "Vodafone",
<uvos> pin_required = OFONO_SIMMGR_PIN_NONE}
<uvos> looks correct
<freemangordon> but you said spn was empty on the previous try?
<Wizzup> freemangordon: maybe we shall add more tracing to the code at the DEBUG level?
<freemangordon> yeah
<uvos> if (!sim->spn || !*sim->spn)
<uvos> that condition was false yeah
<freemangordon> now it is true, right?
<freemangordon> could yout trace the flow now?
<uvos> its still false
<uvos> it jumps directly to line 124
<freemangordon> no, actually this means we have SPN
<freemangordon> does ofono_modem_get_last_internet_context() finds ctx?
<uvos> value has been optimized out
Twig has quit [Remote host closed the connection]
<freemangordon> :(
<Wizzup> that means it can be null, no?
<Wizzup> or it's not set yet?
<uvos> and after line 124 the fuction just returns
<uvos> thats it
<freemangordon> uvos: break in ofono_modem_get_last_internet_context()
<freemangordon> to see if it finds context
<Wizzup> uvos: can you show the context properties using mdbus2 if not too hard?
<uvos> freemangordon: know the file thats in?
<Wizzup> for example: mdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.GetProperties
<uvos> i dont have the source cloned
<uvos> and gihub has bad search
<freemangordon> ofono-modem
<Wizzup> freemangordon: is it possible that either apn/password/username are not set, and this causes it to not set status finished?
<freemangordon> yes, could be
<uvos> wth
<uvos> now it just had the conecction in the dialog
<uvos> and a break point in ofono_modem_get_last_internet_context never triggerd
<Wizzup> yeah so perhaps the method I outlined helps get ofono in the right state, and then it created the connection last time, but you didn't see it yet, maybe?
* Wizzup bbiab
<uvos> its possible
<uvos> let me reboot and start over
<Wizzup> so I have noticed that when I online ofono without restarting it, I believe it doesn't get the contexts in dbus
<uvos> /motmdm_0/context1 shows fine for me
<freemangordon> that happens on d4 only?
<uvos> on first start
<Wizzup> freemangordon: yes
<uvos> of ofono
<freemangordon> uvos: yes, but we are not notified
<freemangordon> so icd2 is not aware of context changes
<uvos> well ofono starts first
<Wizzup> it gets info async
<uvos> ok
<Wizzup> like the sim presence reporting comes in late
<uvos> thats just the modem
<uvos> being the modem
<freemangordon> maybe we shall try newer libgofono
<Wizzup> uvos: no. dmesg shows the info coming in and ofono does not act on it
<Wizzup> but that is just for sim presence in any case
<Wizzup> I don't think the problems are in libgofono
<Wizzup> we know d4 ofono is buggy
<Wizzup> we need to fix it
<Wizzup> even just different ways (and times) of starting it make a difference in its state
<freemangordon> mhm
<freemangordon> what it takes to fix it?
<uvos> wel now i cant repoduce the sate before because i cant get the now sim icon to go away
<freemangordon> anyway, I am out. Night guys.
<uvos> gn8
kdsch has quit [Quit: WeeChat 2.8]
inky has joined #maemo-leste
<Wizzup> uvos: so the no sim icon not going away is for me really a question of uptime >~ 2 mins
<Wizzup> and then 1-3 ofono restarts and it will pick it up
<uvos> ok
<uvos> yeah it eventualy did it
<uvos> now i unlocked the pin
<uvos> and clicking on the vodaphone connection just allways fails
<uvos> anyhow i have had enough of this for today :P
<Wizzup> uvos: ok so
<Wizzup> all good
<Wizzup> just: it's expected that that fails
<Wizzup> for the simple reason that it doesn't block on activating context
<uvos> oh ok
<Wizzup> it just returns right away and tries to get IP
<uvos> ok
<Wizzup> it should block, show it's busy (with timeout), and then return
<uvos> o
<uvos> ok
<Wizzup> I need to see why I did it that way at the time
<Wizzup> probably it was like a 15 mins hack tbh
<uvos> ok
<uvos> ok :)
<uvos> i lost my android device the other day and was low key hoping i could just use leste for a few days
panzeroceania has quit [Read error: Connection reset by peer]
<Wizzup> if you try again now it might work
<uvos> but then voice call audio dident work and data dident either
<uvos> :P
<Wizzup> we're getting there I feel
<uvos> yeah
<Wizzup> btw src/link.c has this:
<Wizzup> if (!ctx->active) { OFONO_DEBUG("Context is not yet active, activating"); ofono_connctx_activate(ctx);
<Wizzup> and that just doesn't block at all
<Wizzup> }
<uvos> i have a reasonable idea how to fix voice calls now :)
<uvos> so should be soon
<Wizzup> it probably needs another pending operation group, waiting for the context property to change
<Wizzup> awesome!
<uvos> still fails
<Wizzup> oh well. tomorrow :p
<Wizzup> I've been using data for many months
<Wizzup> just didn't fix the rough edges
<uvos> great
<uvos> i now have a dedicated sim for the device too
<Wizzup> cool :)
<Wizzup> I also have one, with a monthly contract actually (I kept buying prepaid but then forgot to do anything with them)
<Wizzup> I'll probably and get some sleep soon - got up at 4am today to catch the catamaran
<uvos> well sleep tight then - but not too tight :P
<uvos> ill be off then too gn8
uvos has quit [Quit: Konversation terminated!]
panzeroceania has joined #maemo-leste
Daanct12 has joined #maemo-leste
Daanct12 has quit [Client Quit]
joerg has quit [Read error: Connection reset by peer]
joerg has joined #maemo-leste
<stan> Droid4 question, on the back shell in teh battery compartment, there's a metal plate on the right side (seen with camera on top) - is that some kind of temperature sensor for battery?
<stan> it seems to connect to mainboard via three contacts
xmn has joined #maemo-leste
<buZz> i do believe there's no thermometer inside the battery
<buZz> its only got two contacts