System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Ping timeout: 265 seconds]
joerg has quit [Ping timeout: 248 seconds]
joerg has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
hexnewbie has quit [Read error: Connection reset by peer]
hexnewbie has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11>
sicelo: Wizzup: with no init script and no cellulard binary, the modem still goes online with no troubles
<Wizzup>
maybe check your ofono log and see what onlines it
<arno11>
will check
pere has quit [Ping timeout: 265 seconds]
<arno11>
nothing relevant but for sms i see 'Error bootstrapping SMS Bearer Preference'
<Wizzup>
it doesn't say anything anout onlineing the modem?
<arno11>
yep, nothing
<Wizzup>
k, I can check later on my n900 and see if it is the same
<arno11>
ok
<Wizzup>
maybe the n900 kernel module just tries to online it or something
<Wizzup>
if you have a spare sd card you could try latest image and check if it happens on those too
<arno11>
no more sd unfortunately
<arno11>
indeed, from boot log, seems kernel onlines the modem
<arno11>
*kernel module
<arno11>
Loading kernel module nokia-modem.
<arno11>
Connecting modem /n900_2...
<arno11>
Setting modem /n900_2 online...
_fab has joined #maemo-leste
vectis_ has joined #maemo-leste
<Wizzup>
the last two messages are not from kernel yeah? it shouldn't use ofono naming for modem
<Wizzup>
which file are these logs from
<arno11>
/var/log/boot
<arno11>
can't find any other relevant log
<Wizzup>
did you share the exact log messages or is this you typing them in?
<arno11>
just typing but similar to real ones from last boot
<arno11>
s/typing/copying/
<Wizzup>
ok, so I shouldn't grep based on them :p
<arno11>
yeah
_fab has quit [Ping timeout: 244 seconds]
pere has joined #maemo-leste
Livio has joined #maemo-leste
System_Error has quit [Ping timeout: 264 seconds]
Pali has joined #maemo-leste
narodnik has quit [Quit: WeeChat 4.6.2]
narodnik2 has quit [Ping timeout: 252 seconds]
<sicelo>
ofono log won't show what's setting the modem online
<sicelo>
just to be sure .. when you say "modem still goes online with no troubles" ... you mean it goes online on its own,, without you doing anything?
<arno11>
yep, i don't do anything ofc
<arno11>
no cellulard bin, no init, no troubles lol
<arno11>
like cellulard seems completely useless atm
<sicelo>
it's trouble 😁 , because it shouldn't happen. i.e. even if we fix cellulard for everyone, you will remain with problem
<sicelo>
sudo rc-update del ofono && sudo rc-update del cellulard
<sicelo>
reboot
<sicelo>
this time modem should be completely dead after boot. then,
<Wizzup>
unless anything depends on ofono service
<Wizzup>
and I am not sure how he'd know that the modem is off/on
<Wizzup>
but I think the way to do this is indeed to boot without ofono / cellulard on, then start dbus-monitor on system bus, start ofono, see what ahppens
<Wizzup>
I wouldn't be surprised if someone ofono also gets dbus autolaunched or something crazy
<Wizzup>
but we'll find out
<arno11>
hmm, well, please also try it guys
<arno11>
bbl
<sicelo>
it's not dbus-activated
<sicelo>
arno11: I've tried it :-)
akossh has joined #maemo-leste
coffeecreature has quit [Quit: So long, and thanks for the flat white!]
coffeecreature has joined #maemo-leste
akossh has quit [Quit: Leaving.]
<arno11>
rebooting
arno11 has quit [Quit: leaving]
arno11 has joined #maemo-leste
<arno11>
sicelo: not even able to go online apparently (without ofono and cellulard on boot)
<arno11>
no busctl msgs when i run ofono and cellulard init scripts
<arno11>
what is the proper way to start them ?
<Wizzup>
/etc/init.d/ofono start
pere has quit [Ping timeout: 265 seconds]
<arno11>
ok, it was just to confirm, that's what i did
<arno11>
but iirc we already had such issue on n900: if ofono starts after cmt and nokia modem, it doesn't work
<Wizzup>
something is quite strange on your device, both ofono and cellulard are running?
<Wizzup>
hmm
<arno11>
what is strange ? just to be clear, i'm not running any 'exotic' leste install...
<Wizzup>
Maybe this is n900 stuff, I don't have it with me, but tomorrow I will
<arno11>
ok
<Wizzup>
so when ofono is running, do you see the n900 modem?
<Wizzup>
on the bus
<arno11>
nope
<arno11>
i think i need to stop/ restart nokia modem
<arno11>
iirc
<Wizzup>
What do you mean when you say that
<Wizzup>
Is that an init script that probes the nokia modem?
<Wizzup>
the module?
<Wizzup>
And, what did you use to check the bus for the modem?
<arno11>
@nokia-modem, no init script, just modprobe
<arno11>
and yeah, just received offline sms's :)
<Wizzup>
with what running, in what state where things
<Wizzup>
I don't know what offline sms means :D
<arno11>
*sms sent while the device was turned off
<arno11>
to resume: no cellulard and ofono on boot
<sicelo>
arno11, restarting ofono is not a problem. we're not touching kernel modules
<arno11>
then noway to go online after boot without modprobe -r/ modprobe nokia modem
<arno11>
then it works
<sicelo>
maybe we misunderstand each other :-)
<arno11>
and then able to receive sms's sent device off
<Wizzup>
what confused me is that we were trying to see if there is a race (we know there is, but where arno is seeing it), but now I think that turned into figuring out why arno11's modem would be onlined, and that turned into some rmmod/modprobe thing
<arno11>
but need to restart hsm as well
<Wizzup>
so, with just ofono started after the modprobe and no cellulard, what did busctl show, who onlined the modem?
<arno11>
well, total misunderstanding lol
<arno11>
have to go again for a bit
<Wizzup>
boot with no ofono/cellulard -> [run busctl somewhere, keep it running] rmmod/modprobe -> start ofono -> who onlines modem, if any. if none -> start cellulard
<arno11>
and then will try to explain better
<Wizzup>
ok :)
<sicelo>
yes, exactly what Wizzup says. don't start cellulard at all ... since we're trying to find the mysterious process bringing modem online
mkfx has joined #maemo-leste
pere has joined #maemo-leste
System_Error has joined #maemo-leste
mkfx has left #maemo-leste [#maemo-leste]
arno11 has quit [Ping timeout: 265 seconds]
arno11 has joined #maemo-leste
<arno11>
sicelo: Wizzup: to resume, on boot with ofono and no cellulard, modem goes online with mysterious service/process. on boot without ofono & cellulard, modem stays offline when i start ofono (no msg in busctl) and stays offline even if i run cellulard. the reason is because things are racy between sphone, cmt_pulse, nokia-modem and ofono (as we all know). if i rmmod/modprobe nokia-modem, nothing happens
<arno11>
in busctl until i stop/start ofono & cellulard. then busctl shows cellulard onlining modem. then i receive sms sent while the phone was OFF. however cmt_pulse crashes on boot (without ofono) so i need to start it by hand and restart sphone to get everything working again
<arno11>
i will try again, removing cmt_pulse and cellulard from boot but keeping ofono, to see if modem is still able to go online...
arno11 has quit [Quit: leaving]
arno11 has joined #maemo-leste
<arno11>
issue 1) mysterious process onlining modem, still no clue
mkfx has joined #maemo-leste
<arno11>
issue 2) sms issue seems to be solved if cellulard start later (after h-d loading). but no clue how to make it working automatically without breaking nokia-modem/cmt_pulse/sphone/ofono on boot...
<t_F_t_>
sicelo: arno11: I tried 0xFFFF -b again and the screen looked totally black again, but now with some sunlight I can see there is a menu. Impossible to read though - do you know what options are in the menu? 3rd line I can decipher 'SD card' - would be nice if that is " boot from SD card" if so I can try booting Leste
<t_F_t_>
the menu has 5 lines - 3rd line contains "sd card"
<arno11>
sorry no idea, sicelo or Wizzup should know
<arno11>
however you should maybe be able to read the lines using flash led from a phone
<sicelo>
t_F_t_: yes, just cursor down twice. or, another option is cursor down indefinitely, then Enter. it should bring you to the uboot shell, type "run sdboot"
arno11 has joined #maemo-leste
Livio has joined #maemo-leste
<arno11>
t_F_t_: cool
<arno11>
sicelo: the mysterious 'process' seems nokia-modem...
<arno11>
so to be able to 'solve' the sms issue, i removed nokia-modem, ofono, sphone, cmt_pulse from boot
<arno11>
and start them after h-d load, this way no sms issues and it avoids cmt_pulse crash. what a mess
<sicelo>
there's no nokia-modem process :-)
<arno11>
that's why ' '
<arno11>
;)
<arno11>
(i removed nokia-modem module from boot)
<sicelo>
what I mean is .. nokia-modem doesn't online the modem
<arno11>
ok, so you think there is something else able to online it but how to track it ? that's the question now
<sicelo>
the busctl monitor way :-)
<sicelo>
but I'll be home in an hour and do some more tests myself
<arno11>
well, i can't online the modem without cellulard after boot so busctl seems useless, no ?
<arno11>
ok @home
<sicelo>
I think, because I was multitasking, I didn't explain things in a way to help you understand
<arno11>
ok
arno11 has quit [Quit: leaving]
apac has quit [Ping timeout: 265 seconds]
Livio has quit [Remote host closed the connection]
Livio has joined #maemo-leste
apac has joined #maemo-leste
pere has joined #maemo-leste
akossh has joined #maemo-leste
narodnik has joined #maemo-leste
apac has quit [Ping timeout: 265 seconds]
apac has joined #maemo-leste
xmn has joined #maemo-leste
_fab has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11>
sicelo: gps-nokia-n900 onlines the modem via ofono scripts
<arno11>
seems the culprit
<arno11>
will try without it on boot to check
arno11 has quit [Client Quit]
<Wizzup>
ah, yikes :)
<Wizzup>
ah yes, the init script does it
<Wizzup>
That just needs to go I think
<sicelo>
yes, i was just about to write same :-)
arno11 has joined #maemo-leste
<arno11>
yeah it does the trick :)
<arno11>
now if there is a way to start cellulard later, the sms issue is solved
<arno11>
*later, i mean after tp
mkfx has left #maemo-leste [Error from remote client]
<Wizzup>
arno11: no, we will start it early, but we will have it wait
<sicelo>
we had already discussed that it will start whenever it starts, but we'll ensure it onlines when tp is on dbus
<sicelo>
ah, Wizzup beat me to it
<Wizzup>
let's see what fmg thinks\
xmn has quit [Ping timeout: 260 seconds]
Pali has quit [Quit: Pali]
<arno11>
ah ok, yeah @wait
xmn has joined #maemo-leste
mkfx has joined #maemo-leste
_fab has quit [Ping timeout: 252 seconds]
<sicelo>
having the TP activen check in cellulard is mostly clean, but the downside is that it can create tight coupling between modem and TP, which might not be very desirable
<sicelo>
arno11: how is the offline SMS behavior once gps-nokia-n900 is neutered
_fab has joined #maemo-leste
_fab has quit [Ping timeout: 276 seconds]
Livio_ has joined #maemo-leste
Livio has quit [Ping timeout: 264 seconds]
<arno11>
sicelo: when gps script is blocked, offline sms's are received few seconds after i launch cellulard after h-d load
<Wizzup>
great
<arno11>
yep :)
<arno11>
and no troubles with cmt_pulse or sphone
<sicelo>
arno11: you can now `sudo rc-update add cellulard` (the default). i would like to know how the offline sms'es work in this default case
<Wizzup>
I am not sure if openrc is deterministic enough in this case, if cellulard starts before xsession is finished then that is a problem
<Wizzup>
we might want to add some 'depend xorg' or something to it, since I think this will not finish until the xsession is ready
<Wizzup>
but... there might be pinentry blocking call somewhere in the xsession ^_^
<Wizzup>
I really wonder if we can't use the hd ready signal for this somehow
<arno11>
sicelo: Wizzup: will try anyway and see what's happening
arno11 has quit [Ping timeout: 252 seconds]
arno11 has joined #maemo-leste
<arno11>
sicelo: offline sms's still don't work with cellulard init on boot
<arno11>
works again if i start cellulard after h-d
<sicelo>
right. so that's the issue that i've been talking about all along. which we still need to solve. let's hear from fmg
<sicelo>
i seem to still prefer starting cellulard from Xsession, not via openrc directly (and while at it, run it as user user, since there's nothing in it that requires being run as root anyway). we could then easily ensure it starts after conversations (or the h-d ready signal), etc.
akossh has quit [Quit: Leaving.]
<sicelo>
arno11: you'll submit MR to remove those ofono-scripts lines in gps-nokia-n900 and the dependenncy in d/control?
<arno11>
i can do that tomorrow.
<arno11>
and i can try to start cellulard from xsession.post (after sphone maybe) to see if it works
arno11 has quit [Quit: leaving]
<sicelo>
am i the only one that wishes sphone would indicate if a call was incoming or outgoing? if not, would this be OK? https://0x0.st/8ym8.png - i've been using it for a day and i'm happy with it
vectis_ has quit [Ping timeout: 265 seconds]
<Wizzup>
sicelo: we should just add the rtcom gtk widget into it
<Wizzup>
we'd get the avatars, online status and the nice history for free
<Wizzup>
sicelo: system services should not be started from xsession imo