uvos | Wizzup: parazyd: did you guys know about "sphone"? | 09:59 |
---|---|---|
uvos | seams to be a call deamon that dose notifications and ringing and sutch on top of ofono | 10:00 |
uvos | was well as a dialer, a sms app and so on in gtk2 | 10:01 |
uvos | compiles and runs fine on leste, apears to find the modem, but i did not try to use it in ernest | 10:01 |
Wizzup | uvos: got a link? | 10:01 |
uvos | at least the audio routing is broken (it trys to do something phone specific with alsa directly) | 10:01 |
uvos | http://uvos.xyz/dialer.png | 10:02 |
uvos | http://uvos.xyz/sms.png | 10:02 |
uvos | http://uvos.xyz/maserati/dialer.png | 10:02 |
uvos | huh my host is not working | 10:02 |
Wizzup | it's a 404 at least | 10:03 |
uvos | jeah the folder is wrong permissions i think sec | 10:03 |
uvos | https://github.com/amipro/sphone | 10:04 |
uvos | thats the git repo | 10:04 |
Wizzup | that's cool, worth looking at | 10:05 |
Wizzup | lmk when you fix your host :p | 10:05 |
parazyd | Never heard, but looks interesting :) | 10:05 |
uvos | http://uvos.xyz/maserati/dialer.png | 10:05 |
parazyd | esp. if gtk2 :p | 10:05 |
uvos | http://uvos.xyz/maserati/sms.png | 10:05 |
uvos | http://uvos.xyz/maserati/history.png | 10:06 |
uvos | i think it just works | 10:06 |
uvos | only needs porting to pulseaudio/ucm | 10:06 |
Wizzup | the proximity needs to be changed a bit I think | 10:06 |
uvos | right it needs to poke mce for call mode | 10:07 |
uvos | also virbration | 10:07 |
tmlind | cool if that works :) | 10:07 |
Wizzup | we could start with this and then modify it some | 10:07 |
Wizzup | I think freemangordon is ready to chat contacts again coming tuesday | 10:07 |
Wizzup | and we were quite far along (well he was) with the address book gui and lib | 10:07 |
uvos | funny thing a contacts system is the one thing it seams to lack | 10:07 |
parazyd | :) | 10:08 |
parazyd | Yeah our RE will not be in vain | 10:08 |
Wizzup | so the audio routing requires some more PA setup I think, and we still use the nemo stuff there as well | 10:08 |
Wizzup | and with libabook, we'd be in decent shape, with some of the mce integration(s) | 10:08 |
Wizzup | btw on fremantle the UI is always running, just not visible | 10:08 |
Wizzup | and I guess for sms and such we'd want to log using the eventlogger libs, but we mostly have those already | 10:09 |
uvos | just makeing it set the call ucm profile would be enough for a start | 10:09 |
uvos | https://github.com/amipro/sphone/blob/d68ffae05e04c8cdc9193e695635779020061e94/src/utils.c#L697 | 10:09 |
uvos | right now it dose that | 10:09 |
uvos | that ofc works nowhere | 10:09 |
parazyd | Looks like ~5000 lines of C | 10:10 |
parazyd | Not too scary | 10:10 |
parazyd | Could also be easy to hildonize | 10:11 |
parazyd | Oh and GPL3 :) | 10:11 |
uvos | its pretty mutch hildonized allready | 10:11 |
uvos | idk what you would change on that front even | 10:11 |
parazyd | uvos: There's places where libhildon could/should be used instead of plain gtk | 10:11 |
uvos | except set the proratitable flag | 10:11 |
uvos | ok | 10:11 |
sicelo | Not only Fremantle, but almost all (smart)phone OSes have the phone & sms UIs always running. Makes sense too | 10:13 |
Wizzup | yes, to make sure the mem is avail etc | 10:13 |
uvos | Wizzup: the ui of this is also allways runing | 10:14 |
uvos | btw | 10:14 |
parazyd | Yeah also starting this stuff up on every call/sms sounds slow | 10:14 |
Wizzup | uvos: right but it's probably visible is what I mean | 10:14 |
uvos | no | 10:15 |
uvos | you do ./sphone that starts the whole thing in the backgorund | 10:15 |
Wizzup | ah | 10:15 |
Wizzup | ok, cool | 10:15 |
uvos | and then ./sphone -c dialer-open opens the dialer | 10:15 |
uvos | and -c sms-new the sms thing etc | 10:15 |
uvos | and on a incomeing call it rings and opens a window etc | 10:15 |
uvos | pretty mutch a finished stack | 10:16 |
parazyd | Very nice | 10:16 |
uvos | ./sphone -c dialer-open is just a dbus call | 10:16 |
Wizzup | and it's gpl :) | 10:16 |
parazyd | Yes! | 10:17 |
Wizzup | I think way later we might want this to use telepathy instead of ofono, but also maybe not, maybe for sms or something, not sure | 10:18 |
Wizzup | in any case, this looks like a great tangible start to me | 10:18 |
parazyd | For sms we'll surely want telepathy | 10:18 |
Wizzup | shall I fork it to maemo-leste/ ? | 10:18 |
parazyd | So it also integrates with other protocols | 10:18 |
parazyd | Wizzup: Make a new repo rather than fork | 10:19 |
Wizzup | why? | 10:19 |
parazyd | Github is weird with forks | 10:19 |
parazyd | And you can do "attacks" | 10:19 |
parazyd | Because you can clone commits not actually part of the repo | 10:19 |
parazyd | Github keeps all forks in the same directory on their system | 10:19 |
Wizzup | I just wanted to let the author know we forked it, but I suppose we can just not | 10:19 |
parazyd | So for example you could fork a repo, push a commit, and then access it via web using a different <orga>/<repo>/<commit> link | 10:20 |
uvos | is that a problem? | 10:21 |
parazyd | It can be | 10:21 |
uvos | looks like there is https://github.com/amipro/sphone/blob/master/src/gui-contact-view.c | 10:22 |
uvos | not sure how to get there | 10:22 |
uvos | maybe our forked gtk2 is hideing some ui element | 10:22 |
tmlind | hmm also it may be missing ofono online step after enable? if so, onlining modem manually first might make it work | 10:23 |
Wizzup | yeah, other parts of the system will do that for us (mce, icd2) | 10:23 |
tmlind | ok | 10:23 |
Wizzup | btw, every other day I still get modem resets on my d4 | 10:24 |
Wizzup | maybe it gets hot, not sure why | 10:24 |
tmlind | or just buggy firmware | 10:24 |
tmlind | not seeing the modem resets here, this with just hackish scripts using /dev/gsmtty* interface directly still | 10:25 |
Wizzup | I think it happens more when I use gps a lot | 10:25 |
tmlind | ok | 10:25 |
Wizzup | or maybe it's just warmer here :) | 10:25 |
uvos | i dont have a sim for th d4 so no idea if the thing works, if someone wants to try it it, besides the libtoolize autoreconf dance you have to change | 10:25 |
uvos | gstreamer-0.10 to gstreamer-1.0 here https://github.com/amipro/sphone/blob/d68ffae05e04c8cdc9193e695635779020061e94/configure.ac#L33 | 10:26 |
uvos | then it compiles fine | 10:26 |
lel | MerlijnWajer created a repository: https://github.com/maemo-leste/sphone | 10:27 |
uvos | Wizzup: im pushing it | 10:31 |
Wizzup | uvos: cool | 10:41 |
Wizzup | I have not heard of anjuta before | 10:41 |
Wizzup | btw, aczid made these a while ago: https://imgur.com/a/SPGe9ZM | 10:43 |
Wizzup | (just screenshots if you haven't seen the original maemo) | 10:43 |
parazyd | But this is fremantle, no? | 10:43 |
parazyd | lol for a sec I thought we had the source | 10:43 |
parazyd | (and yeah, this is what I meant regarding hildonizing sphone) | 10:44 |
parazyd | Wizzup: Just turned on the pinephone I got. Not seeing battery applet is the first bug | 10:48 |
parazyd | Also can't seem to trigger rotation | 10:50 |
parazyd | The rest seems fine | 10:50 |
uvos | monitor-sensor? | 10:50 |
parazyd | Light and accelerometer work | 10:51 |
parazyd | Landscape says normal, portrait says left-up | 10:51 |
uvos | but rotation dosent work? | 10:51 |
uvos | thats wierd | 10:51 |
parazyd | no | 10:51 |
uvos | check 90-pinephone.ini in mce.ini.d | 10:52 |
uvos | dose it load iio-accelereometer? | 10:52 |
parazyd | oh it's not there | 10:52 |
parazyd | hmm why | 10:52 |
uvos | we load it per device | 10:52 |
uvos | to avoid breaking n900 | 10:52 |
uvos | pinephone dident get the memo i guess | 10:53 |
parazyd | oh there's a typo lmao | 10:53 |
parazyd | https://github.com/maemo-leste/leste-config/tree/master/leste-config-pinephone/mce/mce.init.d | 10:53 |
parazyd | mce.init.d | 10:53 |
parazyd | hehe | 10:53 |
uvos | lol | 10:53 |
uvos | ok well then no wonder it doent work | 10:53 |
parazyd | :D | 10:53 |
uvos | led is broken too then | 10:54 |
parazyd | And is also not in /etc | 10:54 |
uvos | hmm? | 10:54 |
parazyd | https://github.com/maemo-leste/leste-config/tree/master/leste-config-pinephone/mce/mce.init.d | 10:54 |
parazyd | See the path | 10:54 |
uvos | o right | 10:54 |
uvos | git blame blames parazyd :P | 10:54 |
uvos | should be a easy fix then | 10:55 |
uvos | (see this is why we need more people with pp's to test...) | 10:55 |
parazyd | mhm | 10:57 |
parazyd | bbl have a mtg now | 10:57 |
parazyd | uvos: Works now :) | 11:36 |
parazyd | Wizzup: How do we approach the battery on PP? | 11:58 |
parazyd | Wizzup: This is upower -d: http://sprunge.us/KQ5VYm | 11:58 |
lel | parazyd labeled an issue: https://github.com/maemo-leste/bugtracker/issues/519 (Figure out ofono bug where modem is reported as powered off) | 12:07 |
lel | parazyd labeled an issue: https://github.com/maemo-leste/bugtracker/issues/519 (Figure out ofono bug where modem is reported as powered off) | 12:07 |
Wizzup | parazyd: i had a patch in the kernel for it, maybe you missed it | 12:12 |
parazyd | Probably :D | 12:15 |
parazyd | Fixing up gps startup on PP now | 12:15 |
Wizzup | parazyd: do you want me to find the kernel patch? it's just about specifying the battery tchnology | 12:17 |
parazyd | Yeah please | 12:17 |
Wizzup | https://github.com/maemo-leste/pine64-kernel/commit/c62a8aeab344523190c7f539de60d94ba6c9cc5f | 12:17 |
parazyd | Maybe I should also update the kernel to latest upstream too | 12:17 |
Wizzup | mzybe it can be specified in the dts now | 12:17 |
parazyd | *nod* | 12:18 |
Wizzup | Langoor: did you manage to figure out anything with ssh access? | 12:20 |
Langoor | I poked around a bit, saw some Xorg errors | 12:20 |
Langoor | also had issues with my computer dropping the assigned ip adress, so ssh was quite a pain. I think that had to do with my NetworkManager config tho | 12:21 |
Wizzup | Langoor: if you can run 'rc-status' and share that output, that would be helpful | 12:21 |
Wizzup | yes, NetworkManager is really annoying in that way | 12:21 |
Wizzup | we maybe need to have the phone do dhcp over usbnet in the future | 12:21 |
Wizzup | there are ways to tell networkmanager not to touch the interface | 12:22 |
Wizzup | you could also set it up with static ip in networkmanager | 12:22 |
Wizzup | https://support.qacafe.com/knowledge-base/how-do-i-prevent-network-manager-from-controlling-an-interface/ | 12:22 |
Wizzup | more complicated than it should be, of course | 12:22 |
Wizzup | > nmcli dev set wlp2s0 managed no | 12:23 |
Wizzup | that seems helpful | 12:23 |
parazyd | uvos: I'll also try to test charge-mode and fbkeyboard soon (not today). Think we should also have the console there in portrait like bionic? | 12:42 |
Langoor | Thanks! i'll check it later | 12:52 |
uvos | parazyd: fbkeyboard cant work in anything other than native orientation as it directly writes its display into the framebuffer | 12:59 |
uvos | so you cant rotate it | 12:59 |
uvos | so yes you need to make the console protrait on pp | 12:59 |
uvos | this looks better anyhow as fbkeyboard would take up to mutch room in landscape anyhow (imo) | 13:00 |
parazyd | ok | 13:01 |
uvos | i guess fbcon rotate might work btw (not all drivers support this). but rotating the kernel console dosent affect it fc | 13:02 |
uvos | so the kernel console rotate must go | 13:02 |
uvos | *fbdev rotate | 13:03 |
parazyd | https://github.com/maemo-leste/pine64-uboot/blob/master/boot.txt | 13:26 |
parazyd | We rotate it now | 13:26 |
uvos | parazyd: fbcon=rotate:1 != fbdev rotate | 13:27 |
uvos | fbcon only rotates the console not the framebuffer | 13:27 |
parazyd | oh ok | 13:27 |
parazyd | Yeah | 13:27 |
uvos | so the console ends up in landscape and the keyboard in protrait | 13:27 |
parazyd | But removing this should result in proper portrait, no? | 13:28 |
uvos | yes | 13:28 |
parazyd | That was the plan :) Cool | 13:28 |
uvos | https://forum.xda-developers.com/t/sphone-0-04-phone-application-for-rhobuntu.709101/] | 13:54 |
uvos | so was made for the HTC Rhodium heh | 13:55 |
uvos | thats random | 13:55 |
uvos | https://mobileunlock24.com/466-thickbox_default/unlock-htc-touch-pro-2-t7385-rhodium.jpg | 13:56 |
parazyd | heh | 14:00 |
parazyd | Sometimes you stumble upon great obscure code | 14:01 |
parazyd | And it's really nice when it happens | 14:01 |
bencoh | feels like ancient magic | 14:01 |
bencoh | alright, I have revived my scratchbox-like crossbuilder for leste :) | 14:21 |
bencoh | it's a mix of lxc, qemu-user-static, chroot, and some dpkg-divert magic | 14:21 |
bencoh | I can build armhf packages on my laptop faster than on phoenix :) | 14:22 |
bencoh | (at least according to phoenix's logs) | 14:22 |
parazyd | :o | 14:25 |
parazyd | Mind writing some doc on the wiki about this? | 14:26 |
bencoh | generation process is not fully automated, but it's quite close to it, and I'll probably release an lxc "image" in case anyone is interested | 14:26 |
bencoh | parazyd: yeah I'll probably do that :) | 14:26 |
parazyd | Great work, thanks! | 14:26 |
parazyd | It'll be very useful | 14:26 |
uvos | so today we land a dialer/telephony stack and cross-compile support | 14:27 |
bencoh | http://pastebin.notk.org/pastebin.php?show=f3b890a23 meanwhile | 14:27 |
uvos | sounds decent for one day | 14:27 |
parazyd | :) | 14:27 |
bencoh | wait, really? we have a dialer? <3 | 14:27 |
parazyd | Yeah uvos found sphone | 14:28 |
parazyd | https://github.com/maemo-leste/sphone | 14:29 |
bencoh | wow | 14:30 |
bencoh | let's try crossbuild it :> | 14:30 |
uvos | pretty mutch works on leste out of the gate | 14:30 |
uvos | just needs some minor stuff for vibration and sutch to work | 14:30 |
uvos | also testing it connects to ofono | 14:30 |
uvos | and sees the modem | 14:30 |
uvos | but i dident try anything beyond that | 14:31 |
uvos | also testing, it connects to ofono | 14:31 |
parazyd | There's still that ofono bug I can't figure out | 14:33 |
parazyd | It doesn't see the modem is powered/onlinr | 14:33 |
parazyd | After booting, you need to do an mdbus2 (or whatever) call to mark it powered | 14:34 |
uvos | i mean ofono just assumes that it is the one to power the modem | 14:34 |
parazyd | This also confuses me on the pinephone | 14:34 |
uvos | so it gets confused because the kernel dose it | 14:34 |
parazyd | Because I was unable to get a gps fiz | 14:34 |
parazyd | fix | 14:35 |
parazyd | And I'm unsure of the reason | 14:35 |
parazyd | u | 14:35 |
parazyd | uvos: Maybe we should have something in mce that issues a poweron call? | 14:36 |
parazyd | Then it could also integrate properly with flight mode | 14:36 |
uvos | ja sure its on my list allready | 14:36 |
parazyd | <3 | 14:36 |
uvos | i also want to make a new audioroute mce module that dose the audio routing on call mode | 14:36 |
uvos | then i just need to patch sphone to poke mce into call mode | 14:37 |
parazyd | btw | 14:37 |
uvos | and eveything should just start working via calls | 14:37 |
parazyd | Do you ever check what sailfish does with their mce? | 14:37 |
uvos | *wrt | 14:37 |
uvos | parazyd: sure, regarding what tho? | 14:37 |
parazyd | Just in general | 14:37 |
uvos | sure yeah i have seen most of the sfos mce code | 14:37 |
parazyd | Cool | 14:38 |
uvos | its a mess | 14:38 |
uvos | sadly | 14:38 |
uvos | but there is some stuff i want to lift | 14:38 |
uvos | (the ke-recv replacement stuff for instance) | 14:38 |
parazyd | mhm yeah, you mentioned | 14:38 |
bencoh | make[1]: Leaving directory '/mnt/bencoh/Downloads/leste/sphone' | 14:39 |
bencoh | :) | 14:39 |
bencoh | hmm, sphone complains a lot when I try to run it, and I don't get a GUI. but it first complains about missing org.ofono.Manager, so ... | 14:43 |
bencoh | maybe I'm missing something on the phone | 14:43 |
uvos | bencoh | 14:43 |
parazyd | Probably needs some work | 14:43 |
uvos | its a telephony stack | 14:43 |
uvos | it dosent show anything by default | 14:44 |
bencoh | uvos: oh, I thought it was the dialer part | 14:44 |
parazyd | but you should ofc have ofono installed | 14:44 |
uvos | bencoh: no its everthing in one | 14:44 |
bencoh | (I mean, the part that interacts with the user) | 14:44 |
uvos | start sphone -c dialer-open | 14:44 |
parazyd | And you can run it in the terminal | 14:44 |
uvos | with another instance running | 14:44 |
bencoh | apparently I have ofono running | 14:44 |
bencoh | got a GUI now | 14:44 |
bencoh | :) | 14:44 |
bencoh | (eeek, low battery) | 14:45 |
Wizzup | uvos: I think it would be good to look at nemo audio routing and policy enforcement and learn from that | 15:15 |
Wizzup | I know mce has minimal audio routing code atm, but I don't think it makes sense to have it there | 15:16 |
uvos | Wizzup: sure no | 15:19 |
uvos | Wizzup: but just to get sphone going ill do a minimal module | 15:19 |
Wizzup | ok | 15:22 |
Wizzup | sphone is cool, I'd be happy to try to contribute some stuff once we get organised on it | 15:22 |
uvos | we can replace it with something better later | 15:22 |
uvos | the mce module that is | 15:22 |
Wizzup | just wanted to check we were on the same page with fremantle/nemo like audio | 15:22 |
uvos | sure yeah just switching the profile when a call comes in is inssuficant | 15:23 |
uvos | you need to store volumes and stuff | 15:23 |
uvos | and silence other apps | 15:23 |
Wizzup | yeah | 15:26 |
bencoh | http://bencoh.notk.org/maemo/maemo-leste-armhf-lxc-crossbuilder.tar.xz :) | 16:09 |
Wizzup | got some context? a lxc container based on our images that you use to cross build, or a cross-build lxc container? | 16:10 |
bencoh | Wizzup: ah, mybad, it's a follow-up to 15:21. tl;dr: cross-build lxc container, like scratchbox | 16:18 |
Wizzup | bencoh: ah, I missed it :) | 16:19 |
Wizzup | well, if qemu-user is faster than our pis, maybe we should run it on arm64 host then | 16:19 |
Wizzup | s/arm/amd/ | 16:19 |
bencoh | Wizzup: it's tweaked to use a native gcc/make/bash and a few others | 16:21 |
Wizzup | do you have instructions on how you built it? | 16:21 |
bencoh | Wizzup: http://pastebin.notk.org/pastebin.php?show=f3b890a23 | 16:21 |
Wizzup | btw, it might be interesting, but there's something to be said for the native building - like the silly scummvm build system | 16:21 |
bencoh | said silly scummvm might work there | 16:22 |
Wizzup | hehe | 16:22 |
bencoh | xorg-xserver was pretty silly as well, and it builds successfully here | 16:22 |
bencoh | nginx worked too | 16:22 |
Wizzup | if it works well, we might want to advertise it to folks if they want to do arm compilation (as opposed to just development on amd64) | 16:23 |
Wizzup | >lxc-attach maemo-leste-amrhf | 16:24 |
Wizzup | is that a typo? | 16:24 |
Wizzup | ah I guess it's a persistent typo | 16:24 |
bencoh | Wizzup: oh, shit, I thought I fixed it | 16:31 |
bencoh | ah, you mean in the pastebin | 16:32 |
bencoh | then yeah, it's just a typo | 16:32 |
Wizzup | ok | 16:32 |
bencoh | hmm, you'll probably need a lxc-devuan template as well | 16:33 |
bencoh | since there is none afaict | 16:33 |
bencoh | I ported the one from debian | 16:33 |
bencoh | Wizzup: http://pastebin.notk.org/pastebin.php?show=f6b523d78 in case you wanna try | 16:34 |
Wizzup | bencoh: can't atm (work), but will try later | 17:08 |
uvos | Wizzup: tmlind: how do you place a call with ofono scripts? | 18:39 |
Wizzup | uvos: dial-number ? | 18:58 |
uvos | yeah | 18:58 |
uvos | for some rason that dosent work | 18:58 |
uvos | the call just gets dropped | 18:58 |
uvos | hmm | 18:59 |
sicelo | worked well for me (droid 4 and n900) ... unless something broke recently? | 19:49 |
sicelo | very nice one bencoh! | 19:50 |
uvos | sicelo: might just be this sim card or something | 19:58 |
sicelo | lol, mine doesn't have credit ... so my test also fails | 20:15 |
uvos | so it works with another sim | 21:46 |
uvos | Wizzup: tmlind: so for the life of me i cant get the earpice or the headphones to work in call mode | 21:49 |
sicelo | iirc it's a known issue | 21:50 |
uvos | ok | 21:50 |
uvos | i was under the impression that worked before.. | 21:50 |
sicelo | maybe it did ... i didn't test much further myself | 22:14 |
sicelo | but i think most reports i read about mention only loudspeaker working. | 22:14 |
uvos | right, tmlind would know | 22:15 |
sicelo | mmm, i vaguely remember headphone might have worked - can't remember too well now | 22:15 |
uvos | so summoning tmlind | 22:15 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!