<sicelo>
arno11: that 'no gsm' issue does happen once in a while for me. i think ofono sometimes gets confused by something pin-entry does (because of the freezing probably?). you can try to stop ofono, wait a second or two, then restart it again
<sicelo>
"SSH-Contact is a client/service tool that makes easy to connect your telepathy IM contacts via SSH. No need to care about dynamic IP, NAT, port forwarding or firewalls anymore; if you can chat with a friend, you can also SSH him."
<d4dsc>
o/
<freemangordon>
Wizzup: by looking in TelepathyProviderPlugin::initialize()
<freemangordon>
lemme check how to enable mc traces
<freemangordon>
MC_DEBUG=all MC_TP_DEBUG=all
<Wizzup>
I wonder if the call1 channel is in the channel spec list of voicecallmanager
<freemangordon>
Calling AddRequest on default handler org.freedesktop.Telepathy.Client.voicecall for request /org/freedesktop/Telepathy/ChannelDispatcher/Request1
<freemangordon>
string "No such interface 'org.freedesktop.Telepathy.Client.Interface.Requests' at object path '/org/freedesktop/Telepathy/Client/voicecall'"
<Wizzup>
so some of this is 'normal'
<Wizzup>
I do see the above also for conversations
<Wizzup>
but then it tries something els that works
<Wizzup>
try to start a sms from abook and compare
<freemangordon>
I did
<freemangordon>
and I don;t see that error
<Wizzup>
interesting, I see it
<freemangordon>
oh, wait
<freemangordon>
it is there
<Wizzup>
so I don't think the voicecall code is set up wrong but it looks like it might be
<Wizzup>
let me try gdb and attach to handleChannels
<freemangordon>
lemme try something
<Wizzup>
empathy?
<Wizzup>
hmm somehow no dbgsym pkg was made for voicecall
<freemangordon>
no, org.nemomobile.voicecall.client as a name
<freemangordon>
but it didn't help
<Wizzup>
ok
<Wizzup>
so handleChannels () in voicecall is never called
<Wizzup>
freemangordon: that all looks fine I think, from the voicall side
<freemangordon>
at that point sphone says "dialing" of the number
<Wizzup>
mhm
<freemangordon>
I can press the "hangup" and sphone closes
<freemangordon>
if I dial second time, I see *two* 'dialing' lines, to the same number
<Wizzup>
yes, I have seen this, the call doesn't actually get closed according to sphone or the vcm plugin
<freemangordon>
and sphone UI does not react anymore
<freemangordon>
this is 100% reproducible with my quectel USB modem
<Wizzup>
ok
<d4dsc>
still noticing unwarranted mem increase after 1 day of uptime in conversations, so not out of the woods yet
<Wizzup>
unfortunately all the quectel usb modems that I have reset shortly after power up on my QEMU setup
<Wizzup>
it's very frustrating
d4dsc has left #maemo-leste [#maemo-leste]
d4dsc has joined #maemo-leste
<freemangordon>
Wizzup: use virtualbox
<Wizzup>
I mean, if that is the problem..
<freemangordon>
hmm?
<Wizzup>
Why would virtualbox solve it?
<Wizzup>
It might, but I am not sure why it would
<freemangordon>
no matter what maybe it handles usb redirect diffrently
<Wizzup>
right
<Wizzup>
so what happens to me is that they are seen fine
<Wizzup>
but when I go online, they drop shortly after
<freemangordon>
ah, same here
<Wizzup>
how do you deal with that?
<freemangordon>
in maybe 5 minutes or so
<freemangordon>
just reconnect :D
<Wizzup>
ugh :)
<freemangordon>
well, not physically
<Wizzup>
I understand
<freemangordon>
in virtualbox UI you can connect/disconnect a device
<Wizzup>
ok, so from my perspective what I would need now to be mostly happy with my switch is proper group_uid logging in sphone and some way to do dtmf I suppose
<Wizzup>
freemangordon: oh it auto shows up again in qemu
<Wizzup>
but it's still annoying, as it's not 5 minues for me but more like 5 esconds
<freemangordon>
actually modem is not reset here, but goes offline
<freemangordon>
but it is not really a bug issue for me
<freemangordon>
as I have plenty of time for development before it happens
<Wizzup>
ok
<freemangordon>
not to say this happens with corner-cases processing :)
<freemangordon>
s/happens/helps
<freemangordon>
shall I push abook to stable?
<freemangordon>
Wizzup: ^^^
<Wizzup>
freemangordon: I think you can do that regardless
<Wizzup>
I pushed voicecall to chimaera-devel only
<freemangordon>
ok
<Wizzup>
since the voicecall manager module for sphone is still devel only
<freemangordon>
will do, to not forget it
<Wizzup>
ok, I won't forgte ;)
<Wizzup>
but feel fre
<Wizzup>
e
arno11 has joined #maemo-leste
<arno11>
Wizzup: yes (i saw the console logs), we could probably remove chown
<arno11>
tbh i don't remember all stuff: it was 8 months ago :P
<arno11>
but i don't see such error on local build
<Wizzup>
because you have the user called 'user' locally
<arno11>
yep...
<arno11>
hope it will build fine now
<Wizzup>
ok, let me remove the chown
<Wizzup>
hmm why does it make a .picodrive in /home/user from install
<Wizzup>
can we just remove that?
<arno11>
nope
<arno11>
because of the user conf file
<arno11>
irrc
<Wizzup>
this is not possible from a package fwiw
<Wizzup>
so I removed it for now
<arno11>
hmm ok
<Wizzup>
it's in repos now
<arno11>
ok cool (but i doubt that the emulator will work OOTB with no config file directory)
<Wizzup>
that would be suprising since it only did mkdir -p
<Wizzup>
so it didn't put any config there
<arno11>
it is in postinstall script iirc
<Wizzup>
I see no postinst
<Wizzup>
in any case, packages cannot install to user home, they should install into /usr/... and then just load config from there
<Wizzup>
and then let user override config through $HOME/.config/...
<arno11>
ah it's in install
<arno11>
not postinstall
<arno11>
i really don't remember exactly
<arno11>
what was the issue
<Wizzup>
can you see if it works?
<Wizzup>
I don't know what to run in picodrive
<arno11>
i have another sd with fresh leste install, i'll have a look (but with no config file it will be a nightmare lol)
<Wizzup>
well, like I said, we'll just have to make some adjustments for it to use a system wide config by default
<arno11>
yes
<Wizzup>
looking at emu.c it does look like maytbe the author of picodrive did not think about this, which would be unfortunate
<arno11>
indeed
<arno11>
bbl, i'll try from another sd
arno11 has left #maemo-leste [#maemo-leste]
System_Error has quit [Remote host closed the connection]
arno11 has joined #maemo-leste
<arno11>
Wizzup: ok, the emulator works fine :) only minor issues:
<arno11>
the icon in HAM but that's normal
<arno11>
the launcher not working but normal as well
<arno11>
and the config file not found
System_Error has joined #maemo-leste
<arno11>
to launch it atm, it works with /usr/games/picodrive/picodrive
<arno11>
the UI with sdl input just work
<arno11>
'backspace' for validate, 'e' for back
<arno11>
after few modifs it will rock :)
<arno11>
we will have exactly same troubles with pcsx btw
<Wizzup>
it seems like the code will need to be modified to check system wide config and user config, and prefer user config over system wide config
<Wizzup>
what is the thing with the icon and the launcher not working? those should be pretty straightforward fixes
<arno11>
easy fixes indeed
<arno11>
for the launcher i was probably drunk or something
<arno11>
it woks now (locally)
<arno11>
*works
<arno11>
and for the icon...there is no icon in debian/control
<arno11>
i'll have a look this evening/night
<arno11>
i'll have a look @pcsx as well, to avoid same issues
<Wizzup>
the icon in debian/control is only for displaying in hildon application manager
<Wizzup>
to actually have an in icon in the launcher you need a .desktop file with an entry that specifies what icon to use, for which you probably also need to install a icon .png file
DPA has quit [Ping timeout: 260 seconds]
<arno11>
i know, the icon works in hildon desktop
<arno11>
i was talking about the icon in HAM
<Wizzup>
ok
<Wizzup>
that's less important, but not hard to do, the wiki has instructions
<arno11>
ok
<arno11>
the main issue is indeed the config file
<arno11>
bbl
arno11 has left #maemo-leste [#maemo-leste]
DPA has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
pere has quit [Ping timeout: 268 seconds]
xmn has quit [Ping timeout: 260 seconds]
<Wizzup>
why is busctl so bad compared to mdbus2, sign
<Wizzup>
sigh
<Wizzup>
you cna't pass --verbose or --system before 'call' or anything else, otherwise it just exits and says nothing
<sicelo>
i find it good enough
<sicelo>
what do you want to do? there's also gdbus
<Wizzup>
ok, how do I list all the methods on org.ofono /motmdm_0 ?
<Wizzup>
in a way that mdbus2 does: mdbus2 -s org.ofono /motmdm_0
<sicelo>
busctl introspect org.ofono /motmdm_0
<sicelo>
'system' is default
<Wizzup>
hmmm, ok, maybe I can work with this
<sicelo>
but you can also explicitly specify it, `busctly --system introsp....`
<Wizzup>
so you can't do that
<Wizzup>
it has to be busctl introspect ... --system
<Wizzup>
otherwise it says nothing and just exits with exit code 1
<Wizzup>
or maybe that is the case with --verbose
<sicelo>
uh, what version of busctl is that?
<Wizzup>
whatever we have in chimaera
<Wizzup>
I'll start my razr and pull the command history
<Wizzup>
so yes, then you can't write to it as user since you only have r--
<Wizzup>
but if you run, 'sudo chown user:users /path/to/file'
<Wizzup>
then it becomes
<Wizzup>
user=rw-, users=r--, everyone=r--
<Wizzup>
and suddenly you can write to it
<arno11>
yes it works :)
<Wizzup>
so gain, the first number or rwx combination is the file owner, the second is everyone who is part of the group that is mentioned as file group, and then the rest is every other user including the file owner
<Wizzup>
chmod 777 is just a hack around this but in practice not good / secure
<arno11>
yes sure
<Wizzup>
so first get the file owner/group right, and then set the right perms
<Wizzup>
and in general there should never be a file that is root:root (user:group) in $HOME
<arno11>
yes ofc
<Wizzup>
because then the user (in this case literally called 'user' which is confusing) could never remove the file, assuming the file isn't --7
<Wizzup>
ok
<Wizzup>
then I think we probably have a common understanding now
<arno11>
yes
<Wizzup>
likewise, files in /usr/share or /usr/lib or whatever should almost always be root owned, perhaps some other group, and almost never writable by world
<Wizzup>
(world being everyone)
<Wizzup>
and debian packages upon install never install to $HOME, because then the files would be root owned, and also because the package managers likes to own the files it installs
<Wizzup>
whatever files are created in $HOME are typically created upon starting an applicationh as user
<Wizzup>
and then they get created (or copied from /usr/share etc, but then the owner becomes user)
<arno11>
so the question now is what would be the cleanest way to set this bloody config file from debian pkg
<Wizzup>
unfortunately the right answer is that you don't, and that it gets installed into /usr/share/picodrive/config2, ad then picedrive reads it from that place, or upon startup copies it from /usr/share/picodrive/config2 to ~/.picodrive/config2
<Wizzup>
this way there is a file that is owned by the package, root owned, in /usr/share, which can get updated independently from user config, and there is a file in ~/.picodrive that gets created upon startup that the user can modify
<Wizzup>
I can help write some of the C code if it's heplful
<arno11>
yes could be really cool :)
<arno11>
otherwise isn't it possible to do that from a postinstall script ?
<arno11>
ofc not lol
<arno11>
forget that question
<arno11>
ty for the clear explaination btw
xmn has joined #maemo-leste
<Wizzup>
no worries
<Wizzup>
ok, uh, maybe tomorrow I can help write the code
<Wizzup>
do we have similar problems with pcsx_rearmed?
<arno11>
yes probably
<arno11>
i'll have a look tomorrow but pcsx directories (for config, bios, memcards) are really tricky. it was similar in fremantle btw
<arno11>
i'll LYK
<Wizzup>
okay
<Wizzup>
it's suprising to me the sw can't do that right :D
<arno11>
yes, btw i just tried to reinstall pcsx from my local deb and it works almost OOTB:
<arno11>
but other permissions issue from /usr/games
<arno11>
and the bios we can't provide ofc
<arno11>
but the HLE generic bios included in the code works with lot of games
<arno11>
otherwise it is fine, i just need to doublecheck default config parameters
<arno11>
anyway, let's see tomorrow
<arno11>
and thx again for your help
<Wizzup>
all good, glad to help and thanks for your work too
<arno11>
ty :)
arno11 has left #maemo-leste [#maemo-leste]
akossh has quit [Ping timeout: 256 seconds]
<Wizzup>
sicelo: ok, I think I can also reproduce the audio issue you mentioned where if you get called there other party can't hear you
<Wizzup>
but you can hear them fine
<Wizzup>
pa seems to be in a fine state
<Wizzup>
time to dump log sI guess
<Wizzup>
sicelo: I don't know, maybe busctl just messes with me, I can't even just ste RoamingAllowed to true :D
<Wizzup>
introspect doesn't seem to work on /motmdm_0/context_1 either, just on /motmdm_0
<Wizzup>
sicelo: I will try to debug this problem tomorrow (I just put my main sim in another droid 4, so have a proper incentive)
<Wizzup>
ftr this worked immediately mdbus2 -s org.ofono /motmdm_0 org.ofono.ConnectionManager.SetProperty 'RoamingAllowed' true
parazyd has quit [Ping timeout: 264 seconds]
parazyd has joined #maemo-leste
<Wizzup>
freemangordon: hm, I'm getting repeated smses on this droid4 too
<Wizzup>
any logs I can provide?
<Wizzup>
stopped after a reboot
<Wizzup>
I also noticed that I think the vibration pattern makes more sense on a Hw rev A than it does on Hw rev B
<Wizzup>
I wonder if those are different somehow
<Wizzup>
tmlind: I remember that hw A had this missed keys issue, I think this is still present, do you remember if this was indeed some hw bug?
<Wizzup>
I guess I should test on android and compare
<Wizzup>
hm, just started to wonder if I need to net unlock the razr for it to work, but IIRC I don't think that's the case for outside the US
<Wizzup>
just did net unlock, let's see
<Wizzup>
no dice, maybe some fw settings
<Wizzup>
hm, somehow it just connected
<Wizzup>
strange
<Wizzup>
cool
<sicelo>
Wizzup: busctl is a bit annoying in that it needs you to provide the appropriate signature as well when making method calls. so that's why you probably had issues with SetRoaming. gdbus doesn't have that 'limitation'
<Wizzup>
ok
<Wizzup>
for now I just installed libreadline7 and got my trusty mdbus2 back
<Wizzup>
but I will take a look at gdbus as well
<sicelo>
:-P
<Wizzup>
bedtime first though
<Wizzup>
now that I got the razr to connect I can put my main sim in my good droid4 tomorrow
<Wizzup>
in any case I hope to try to make some progress on the audio issues in calls tomorrow
<Wizzup>
since I can reproduce it
<sicelo>
great
* sicelo
will only be back to Leste stuff hopefully by end of the week