libera/#maemo-leste/ Tuesday, 2021-06-29

stanthank you for "Emergency Shell" on lcd tmlind.01:12
stansaves me from pulling the sdcard to fix some goofups01:12
buZzstan: lol had me searching for 'target.com phones' in ML02:26
stanhi buzz. do you know where these actions for 'android buttons' are configured?02:32
stanthe functions chosen seem pretty sensible, but i am curious about user-configurability02:33
buZzwhat device?02:46
stand402:49
buZzi -think- those a gpio buttons somehow , not sure02:56
buZzthey arent in normal keymap anyway02:57
stanthey are just part of touchscreen and show as clicks in xev, i think03:00
Daanct12Is it possible to switch branch to a more breaking-edge one?03:56
Daanct12: Conflicting distribution: https://maedevu.maemo.org/leste unstable InRelease (expected unstable but got beowulf)04:51
Daanct12Looks like i can't :(04:51
uvosits deb https://maedevu.maemo.org/leste beowulf-devel main contrib non-free droid408:57
uvosreplace droid4 with the device you have08:57
stanuvos: what's the best candidate for a maemo-friendly podcast client?  i think gpodder once was maemo-ized, no?09:11
uvosi just use firefox09:13
uvosyou can use rss extensions09:13
uvosand play your podcast with ff09:14
stani think the browser doesn't automatically download the episodes09:38
freemangordonstan: uvos is not the best person to ask for maemo specific applications, he has not been a maemo/fremantle user09:48
uvosthats right09:48
freemangordonuvos: hi! Seems there was some progress on libsdl, at least I was left with that impression by reading TMO.  hmm?09:49
uvosno09:50
uvosi tried the sdl1.2 -> sdl2 shim09:50
uvosnothing else was done09:50
freemangordonI see09:50
stanmajor improvement was recent - the half-screen-down shift in fullscreen mode was alleviated09:51
stanI also now get keyboard input in fullscreen mode09:51
freemangordonoh, seems -devel stuff has been moved to -stable09:52
freemangordonthat explains it09:52
stan32-bit arm could also benefit from the NEON accelerated SDL, but these additions were taken out of upstream in 201909:54
stanafaik the reason they were pulled was that some apps were broken on 64-bit arm systems09:55
uvostmlind: so the problem is that Voice Playback stream is never considerd active by DAPM10:25
uvostmlind: when starting a call cpcap_voice_set_tdm_slot ins run but /sys/kernel/debug/asoc/Mapphone\ Audio/cpcap-codec.0/dapm/Voice\ Playback remains "Off" so all downstream widgets remain off too, including the PGA10:26
uvosso snd_soc_dapm_route is fine10:29
uvosbut the "Voice Playback" snd_soc_dai_driver remains off in call10:30
WizzupDanct12: are you on -devel?10:33
siceloDanct12: perhaps show us your sources.list (including the HAM sources.list)10:49
bencohstan: I dunno what it's worth, but http://maemo.org/packages/view/gpodder/10:52
stanyeah i remember thp was doing maemo stuf10:56
stanmy use-case is for a home device on ethernet to pull the feeds, then i push those to my portable devices via script10:57
stanrunning /etc/init.d/droid4-wlanconfig restart when transferring a sd to a new device seemed to help wlan11:05
uvosthat dose absoulty nothing except the first time11:07
uvosand it should run on first boot11:08
uvosoh wiht transfering a sd to a new deivce you mean some old install running on a different d411:08
stanyes, what should i run to re-calibrate wlan11:09
uvosyeah then you must rerun that (or maserati-callibrate directly)11:09
stanok ty11:09
stanit didn't see my AP. now it does.11:09
uvosyes running the fem parameters from some other deivce is not a good idea11:10
stanthat could be a warning on the wiki (to recalibrate wlan if transferring system to another device)11:10
stanhow about checking the hw mac address on boot and if changed, recalibrate wlan?11:11
bencohtalking about calibration, should batery calibration happen automagically, or should I run something?11:25
uvosautomagically11:26
stanwhy does maserati-calibrate refuse to be rerun?11:27
stando i cause harm by removing that check from the script?11:27
bencohuvos: is there a reason why the battery status applet keeps saying "calibration needed" then?11:28
uvosbencoh: device?11:28
bencoh(I'm not running -devel yet, btw) droid411:28
uvosit has to see battey low and battery full within one boot11:28
uvosand subsequently it needs to see one of those in the current boot11:28
uvosotherwisese its uncallibrated11:28
bencohhmm, I think it saw both, but maybe not in that order11:29
uvosstan: yes you cant callibrate without the stock fem parameters11:29
bencoheither that, or it always crashed after low11:29
uvosorder dosent matter11:29
bencohwell, then ...11:29
uvosit needs to shutdown cleanly11:29
uvosofc11:29
uvosotherwise no save11:29
bencohI'll have to give it another try I guess11:29
bencohlast time it shutdown in my hands it was around ~25% according to upower11:30
stanuvos: but dpkg-reconfigure firmware-ti-connectivity, then running maserati-calibrate could work?11:30
bencoh(~3.3V)11:30
uvosyou have to reinstall the firmware11:30
bencoh(I think it reached cutoff during a current peak)11:30
uvosbencoh: if you battery is bad it can be impossible to callibrate11:31
bencohI replaced it a few years ago and barely used the phone since then11:31
bencohbut it could be11:31
stani think we need a wiki page for 'how to use an existing maemo-leste sdcard in a different device'11:31
uvoswhy dont you go improve the wiki11:32
stani can paste your comments to a page under that title to ensure I do not write anything incorrect11:33
uvosplease format it nicely11:33
uvosalso put it into the droid4 and bionic page11:34
uvosits device specific11:34
stanok11:34
stanhow do i  < uvos> you have to reinstall the firmware11:34
uvosapt reinstall11:34
stanthat is difficult without wlan11:35
uvoswell you can use usbnet11:36
uvosor download it elsewhere and dpkg -i11:36
bencohdpkg -i sounds better yeah11:37
stanthanks, then you confirm that apt reinstall ti-firmware-connectivity is necessary and dpkg-reconfigure ti-firmware-connectivity is insufficient?11:37
uvosbtw you must reboot after reinstalling11:37
uvosyes11:37
uvosso reinstall the firmware -> reboot -> maserati-callibrate11:38
stanty again. will setup wiki page11:38
stanbtw it looks like there is progress with qualcomm supporting linux.  there may be some snapdragon based phones that can do leste now/soon11:39
Wizzupit looks like dsme doesn't actually wait() for anything that it kills, so it might report that it stopped a program too soon12:44
WizzupI suppose it can't always just wait, depending on the signal it sends, but that's probably why some of our service restarts fail12:45
WizzupI think this is also ultimately the cause for the resets we are seeing on certain upgrades12:46
Wizzupke-recv is restarted way too fast, when the previous one is not gone yet, fails to start because of that, and the device reboots after 10 attempts12:46
Wizzupit might make sense to increase the dsme log level as well12:52
Wizzupthat would be adding -v 7 invocation in the init script12:55
Wizzupyeah, I cannot think of any other reason that ke-recv would fail to restart, unless it is somehow restarted with some poor env, or when debian is still working on parts it needs12:59
Wizzupthe code is straightforward and should log to syslog right away in case of problems12:59
uvossomething something ditch dsme :P13:07
uvos(for starting non-session services at least)13:07
Wizzupit's not clear it's dsme, it could be debian restarting it at an unfortunate time13:13
uvoswell the point is dont spend to mutch time on this, both ke-recv and dsme we should ditch for various reasons.13:15
freemangordonuvos: please...13:16
uvosno not please13:16
uvosboth of these lack technical merit13:16
uvosand dsme is really architecutally broken13:16
uvos(except as a session manager thats ok)13:16
freemangordonyou're wasting too much energy spittin on dsme, launcher, whatnot, basically a reverse NIH syndrome I'd say13:17
freemangordonand this is not really useful13:17
Danct12Wizzup, i assume just add devel into source.list should work right?13:18
Wizzupuvos: tbh I don't know how many linux phones support on the fly apt-upgrade, I guess mobian probably does13:18
WizzupDanct12: the specific line, but yes13:18
Wizzupuvos: ubports for sure cannot do it13:18
Wizzupiirc13:18
Danct12https://paste.ubuntu.com/p/zN7dw47rQd/13:18
freemangordonWizzup: maemo has never supported apt-get upgrade13:19
freemangordonsystem upgrades shall be done through HAM13:19
uvosfreemangordon: we shal keep the underlying system working13:19
freemangordonuvos: sure. so?13:19
uvosfreemangordon: many parts of ke-recv dont work on mainline and sfos absorbed ke-recv stuff into mce so we can just copy + paste that so thats hardly reverse NIH13:19
uvosso dont break apt13:19
freemangordonI am not talking about ke-recv in particular, but in general about your attitude:"there is a bug in program X? ah, lets remove it then."13:20
bencohfreemangordon: iirc fremantle broke with *dist-upgrade*, not with upgrade13:20
uvosno upgrade13:21
uvosor rather both13:21
uvosmultiple times now13:21
uvosfreemangordon: no its allways remove program X13:21
freemangordonbencoh: upgrade was never officially supported either13:21
uvosjust when a bug comes i ofc reiterate13:21
freemangordonthat's why the PR thingie13:21
bencohwell, I guess I had luck with upgrade then13:21
bencohanyway, I'd really like to be able to run apt-get upgrade on leste13:21
buZzisnt the appmanager just a frontend for apt really?13:21
freemangordonI said "supported" ;)13:21
freemangordonyes, it is13:22
bencohfreemangordon: yeah :)13:22
freemangordonbut is stops lots of things before doing the real upgrade13:22
freemangordonincluding putting the device offline etc13:22
freemangordonapt will never do that IIUC13:22
uvoswich is just a hack around various bugs really13:22
Wizzupfreemangordon: /system/osso/connectivity/srv_provider/[VALUE]/module <-- here VALUE is just a name, right, not a network type?13:22
freemangordonummm....13:23
freemangordonno idea :)13:23
WizzupI have a working provider module, but it only works on DUMMY network types, not on WLAN_INFRA, and I don't know why13:23
WizzupI get this:13:23
WizzupJun 29 13:21:08 localhost icd2 0.98[17712]: calling service provider module13:23
WizzupJun 29 13:21:08 localhost icd2 0.98[17712]: srv type 'WLAN_INFRA' unknown13:23
Wizzupfro Jun 29 13:21:08 localhost icd2 0.98[17712]: calling service provider module13:23
bencohfreemangordon: tbf it sounds like something that we might be able to fix in an incremental fashion13:23
WizzupJun 29 13:21:08 localhost icd2 0.98[17712]: srv type 'WLAN_INFRA' unknown13:23
Wizzuper..13:23
Wizzupfrom https://github.com/maemo-leste/icd2/blob/master/icd/icd_srv_provider.c#L100013:23
bencoh(writing proper prerm/postrm/preinst/postinst scripts)13:23
bencoh(and proper services dependency)13:23
Wizzupfreemangordon: I don't know where service_type is set13:23
WizzupI have this:13:24
Wizzupgconftool -s /system/osso/connectivity/srv_provider/DUMMY/network_type --type list --list-type string '[DUMMY,WLAN_INFRA]'13:24
freemangordonWizzup: me neither, but I would grep for it13:24
WizzupI tried, it's all over the place, but ok13:24
freemangordonI'll try to do it as well, gimme a minute13:24
Wizzuphmmm maybe it comes from the module itself13:25
Danct12Wizzup, is this source.list good enough for adding devel?13:26
Danct12https://paste.ubuntu.com/p/yy6pqWtPRs/13:26
Wizzupfreemangordon: it looks like icd_plugin_load has a callback icd_srv_provider_init where it might be set by some callback13:26
uvosDanct12: thats fine13:27
WizzupDanct12: I'm surprised this is not documented on our wiki, hm13:27
Danct12i noticed that HAM source.list doesn't specify n90013:28
Wizzup      gchar *service_type = g_strrstr(dir, "/");13:28
Wizzup      cb_data.service_type = service_type;13:28
Wizzupugh.13:28
WizzupI guess it does get it from the gconf path then...13:28
parazydouch13:28
freemangordonWizzup: yeah.looks like13:29
Wizzupok, maybe I did something wrong13:29
Wizzupfreemangordon: btw, it would be nice to set aside some time to talk service providers too I think13:29
Wizzup(next to abook)13:30
freemangordonok13:30
freemangordonlets try to talk abook today or tomorrow13:30
* stan found a n900 with working usb \o/. will use for testing13:31
Wizzupfreemangordon: ok, please let me know a few hours in advance13:34
Wizzupparazyd: ^^13:53
Wizzupfreemangordon: there is now libicd-provider-dummy service13:53
Wizzupit will only print when icd2 runs with -l0, but it works for wifi and dummy network types for me13:53
WizzupJun 29 13:52:36 localhost icd2 0.98[7209]: No other ip_up functions found13:54
WizzupJun 29 13:52:36 localhost icd2 0.98[7209]: calling service provider module13:54
WizzupJun 29 13:52:36 localhost icd2 0.98[7209]: dummy_connect: b4902622-2506-49a3-99a8-f746cf05cf2113:54
WizzupThere is a lot to do UX wise13:55
Wizzupalso I have more research I need to do I guess, since there are various ways to side load icons or something13:56
lelIMbackK opened an issue: https://github.com/maemo-leste/bugtracker/issues/552 (Sphone)19:35
uvosWizzup: ^^^19:36
Wizzupuvos: can I add points, or shall I suggest them here?19:37
Wizzup* integrate with osso-abook (when ready)19:37
uvosright: replace the very basic contacts handling with something better19:37
Wizzupmaybe something wrt telepathy and other call things19:37
Wizzupbut that's future19:37
uvossphone dose soemthing with telepathy19:37
WizzupI can start on the packaging now I think19:37
uvosfor contacts19:37
Wizzupcool19:38
Wizzupunless parazyd wants to do the packaging19:38
uvosi also added: make sphone -c options a settings applet19:38
uvosidk if that is the right terminiology19:39
uvosbut i mean the stuff in the settings programm19:39
uvosso its there instead of a a seperate window19:39
uvosany thing else?19:39
Wizzupcontrolpanel applet19:41
Wizzupwe'll have to see how much sense it makes19:42
WizzupI think ultimately we might end up tweaking a lot19:42
Wizzup(we do already have a phone controlpanel applet, part of my cellular stuff, it's just unfinished and buggy)19:42
uvoswell  sphone -c options lets you set the ringtone and sutch19:42
uvosok19:42
uvosi gues sphone could read gsettings for it if we have sutch an applet19:42
uvosso i changed it to "make sphone -c options a controlpanel applet or replace it with an existing applet"19:47
uvosalso added "remove legacy xdg system tray icon (done) and integrate sphone with some hildon status menu item "19:47
uvosi think thats it19:47
Wizzupuvos: the ringtone is part of one of our controlpanel paapplets as well19:49
WizzupI think it's in the profiles?19:49
Wizzupand yes, stored in gconf19:49
WizzupI think there is a phone status applet, I could look at it in IDA and re it to read ofono callstate or something19:49
Wizzup(of course, it also needs to work with other telepathy call types later)19:49
uvosok19:50
uvosphone status applet that shows when your in a call seems not so need19:50
uvosso the sphone systemtray item mostly shows when you have a missed call19:50
uvosa new sms19:50
uvosthat sort of thing19:51
freemangordonsphone is written using what? gtk?19:51
uvosgtk219:51
uvosyeah19:51
freemangordoncool19:51
freemangordondoes it support vide calls?19:52
freemangordon*video19:52
uvosno19:52
uvosits just a ofono dialer19:52
uvosand sms app19:52
uvosand so on19:52
freemangordonwe'll have to implement that as well19:52
uvosringer deamon19:52
uvossure19:52
uvosat some point19:52
freemangordonok19:52
uvosi dont think thats a priority19:52
uvosdo you use video calls alot?19:52
uvosyou would be the first person i know to use umts video calls19:52
uvosor do you mean ip ones?19:53
freemangordoni[ ones19:53
freemangordon*ip19:53
uvosokay19:53
freemangordonthrough telepathy19:53
uvosok19:53
freemangordonbut yeah, this is for the future19:53
uvoswell support different backends like voip telegram or whatever thorugh the dialer would be nice19:53
Wizzupthe plan is to make that work through telepathy19:54
uvoshttp://uvos.xyz/maserati/dialer.png19:54
uvosbtw in case you have not seen it freemangordon19:55
freemangordonhmm19:55
freemangordonlots to be done there :)19:55
uvossure but its a nice start19:56
freemangordonmhm19:56
uvosand would allow sms and calls to work very soon19:56
WizzupI think it's nice to have a tangible base that we can build on19:56
freemangordonright19:56
Wizzupit's easier than REing 1MB of binaries to find the gtk parts19:56
Wizzupwe can then look at it after the fact for specific features19:56
Wizzuprtcom-eventlogger, that kind of stuff19:56
freemangordonagree19:56
freemangordonalso EM calls and service numbers19:57
freemangordonand abook integration19:57
Wizzupsure, and probably in-call DMTF (if that is what it is called)19:57
freemangordonmhm19:57
uvosit tires to do dmtf19:57
uvosbut uses a special htc mixer19:57
freemangordonwe have a library that will generate the tones for us19:57
uvos(like the droid4 also has)19:57
uvosfreemangordon: that cant work19:57
freemangordonwhy>19:58
freemangordon?19:58
uvosbecause on most modern phones the cpu isent involved in the audio stream19:58
uvosyou cant just inject something19:58
freemangordonthat's stupid19:58
uvosthis was true of the htc device sphone was devloped on too btw19:58
uvosfreemangordon: not really19:58
uvosthe n900 seams fairly alone in this19:59
uvosanyhow we can do dtmf via pulse19:59
freemangordonuvos: it is stupid, because your dialer shall support each in every HW it is intended to be used on19:59
uvosno19:59
uvoswhy>19:59
Wizzupuvos: so we can't send audio at all to the phone modem?19:59
uvosthe kernel abstracts this19:59
freemangordonuvos: I don;t get what you're saying20:00
freemangordonthe library I am talking about just generates waveforms20:00
uvosfreemangordon: the kernel abstracts the dtmf thing away we can just create a ucm mode for dtmf20:00
WizzupI think he is saying we cannot send audio to the modem from userspace20:00
uvosthen the dialer dosent have to know20:01
Wizzupbut maybe I am confused20:01
freemangordonwho generates and plays busy tone then?20:01
uvosso on mapphones you can in theory via the voice loopback thing20:01
uvosbut you cant rely on that20:01
uvosexisting on all devices20:01
uvosso we can just have a pa control that generates dtmf20:02
uvoson n900 that makes some pa module generate the waveform20:02
Wizzuphow about https://github.com/rilmodem/ofono/blob/master/doc/voicecallmanager-api.txt#L188 ?20:02
uvoson pp and mapphones it asks the kernel driver to do it20:02
Wizzupoh that's just rilmodem I guess20:02
Wizzuphm, no20:02
freemangordonand for generating the waceform we use the lib I am talking about :)20:02
freemangordon*waveform20:02
uvosfreemangordon: sure on n90020:02
freemangordonon every device20:02
uvosno20:02
uvosyou cant20:02
uvosfreemangordon: but not directly, through a pa moudle20:03
freemangordonpa module calls the lib to generate the waveform20:03
uvosfreemangordon: and ucm /kernel takes care of device differences20:03
uvosyou can not send any audio to the modem during a call.20:03
uvosyou must ask the modem to insert dtmf20:03
freemangordonuvos: so, who generates dtmf tones?20:03
uvosthe kernel exposes this via alsa20:03
freemangordonah20:04
freemangordonand what about busy tone?20:04
uvosmodem20:04
uvosmodem dose everything20:04
freemangordonok, will see20:04
uvoson n900 you have to emulate the stuff the modem dose on pp/mapphones via pulse20:05
freemangordonbecause I don;t see that happening for IP calls20:05
uvosthe interface stays the same for the dialer20:05
uvosfreemangordon: right for ip calls different story ofc20:05
uvosthe busy tone comes from the voip server tho no?20:05
uvos(not sure)20:05
freemangordonI doubt20:06
freemangordonbut not really sure20:06
uvosalso note that busy tones are kina a thing of the past20:07
freemangordonwhy is that20:07
uvoson lte modern phones just say busy (at least the ones i use)20:07
freemangordonso, what if I am dialing through my car kit?20:07
freemangordonshall I read the messages while driving with 140 km/h?20:08
uvosthe device makes a sound20:08
freemangordoncalled busy tone, no?20:08
uvosthough whatever output it is20:08
uvosyeah no20:08
Wizzupis busy the sound before you pick up?20:08
uvosits just the sound of the notification20:08
freemangordonWizzup: no, what you describe is "ringing" tone20:09
uvosno the busy sound like in a pstn netowrk20:09
freemangordonbeep-beep-beep-beeo-...20:09
Wizzupok20:09
Wizzupwell I'll look at packaging it now20:09
Wizzupseems like a concrete thing I can work on20:09
uvosaka it dosent come over the phone conection like in pstn20:09
uvoslte just sends the device a message really20:09
freemangordonand the device shall generate it20:09
freemangordon(the tone)20:10
uvoswell they dont anymore20:10
uvosbut sure if you want20:10
freemangordonuvos: see my car kit example20:10
freemangordonI can do voice dial and I expect an audible feedback20:10
uvosright and what im saying is that this is not speccaly implmented20:11
uvosits just a notification20:11
uvosand that has a sound20:11
freemangordonwell, you said "a thing from the past" :)20:11
uvosright the beep beep beep thing that gsm and ptsn do is a thing of the past20:12
uvosthats what i was getting at20:12
freemangordonif you mean that it does not come from the networks, then ok20:12
freemangordonbut the sound as such, I doubt it will be gone soon20:12
freemangordonit doesn't really make sense to remove the most recognized phone tone which was there since the beginning of the telephony just to replace it with some other sound20:13
freemangordonno matter who generates it, beep-beep-... will not go soon IIUC20:14
uvospff back in the day the nice operator told you the line was in use :P20:14
freemangordonwhich is very useful when I am in Greece :)20:14
freemangordonor when you are in Bulgaria :p20:15
Wizzupso I think we'll figure this out along the way, no?20:15
freemangordonyeah20:15
Wizzupit feels like we're overly zooming on in this at this point :P20:15
freemangordonWizzup: it is important from the architectural POV20:15
freemangordonwho does what20:15
freemangordonbusy tone was just an example20:16
Wizzupyeah, but we have a lot more to figure out I think20:16
freemangordonsure, but this is easy20:16
freemangordon:)20:16
uvoslets get something to work, then get it work well20:16
freemangordonagree, but lets try to have as much as possible from the bigger picture upfront20:17
freemangordonthat'll save us some effort in the future20:17
Wizzupwe could have a wiki page as scratchpad20:17
WizzupI think we will probably change a *lot* in sphone20:17
uvoswell geting sphone running with everyhing implmented in the modem like on d4 first is a no brainer20:17
uvossince all the code is just sitting there.20:17
Wizzupbut it's nice to get audio going, test calls a lot, etc20:17
Wizzupyes20:18
freemangordonvery important aspect is how long it takes for the phone to start ringing20:18
uvoswhy?20:18
Wizzupuvos: any idea what debian section we should use for sphone20:18
uvosno20:18
freemangordonIIRC we have 1.5 second if we want to follow the standards20:19
uvoswell the modem dose eveything20:19
uvosim sure it follows standarts20:19
uvosor you mean the reverse20:19
uvosin this case sphone is ram resident20:19
uvosand instant20:19
freemangordonbut it takes some time UI to show up and to play "ring-ring" sound20:19
uvospretty mutch20:19
uvossphone keeps everything in ram20:19
freemangordonmlock?20:19
uvosno20:20
freemangordonthen it can be swapped20:20
freemangordonalso, we'll have to renice20:20
uvossure but just do that with cgroups20:20
freemangordonor implement cgroups20:20
uvosbut its just one big binary with everthing that runs as a deamon20:20
freemangordonyeah20:20
Wizzup(like the rtcom-call ui program)20:20
freemangordonactually it uses a big lib as well20:21
uvosand ofono needs to be in ram ofc20:21
freemangordonI guess we'll have to mlock it as well, or somesuch20:21
uvosbut jeah just dump everything into a cgroup that keeps it loaded20:21
freemangordonmhm20:21
uvosdbus too20:22
freemangordonmhm20:22
freemangordonand PA20:22
freemangordonwe may look at what fremantle is doing20:22
freemangordonthough it uses ohm as well20:22
Wizzupuvos: what contains unique-1.0.pc ?20:23
uvosfremantle is pre cgroups tho20:23
uvosi think20:23
uvosWizzup: unique20:23
freemangordonit uses cgrous as well20:23
WizzupI thought it was uuid-dev, but it looks like it is not20:23
freemangordon*cgroups20:23
Wizzupah libunique ?20:23
uvosyes20:23
Wizzuphm I don't see it20:23
uvossec20:23
Wizzupcan you dpkg -S it on your device?20:23
uvoslibunique-dev20:25
uvosowns /usr/lib/arm-linux-gnueabihf/pkgconfig/unique-1.0.pc20:25
WizzupIt is not avail in my debian20:25
Wizzupdevuan*20:25
Wizzupwhere did you get it from?20:25
Wizzuptesting or something?20:25
uvosjust apt install20:25
uvosno its old i think its dropped in sid20:26
Wizzup(mine is set to dutch atm but it can't find it)20:26
WizzupE: Kan pakket libunique-dev niet vinden20:26
Wizzupit's not avail in beowulf it seems20:26
uvosi just apt installed on a leste device20:26
Wizzupwtf20:26
Wizzuplet me apt update I guess20:26
uvoscan you make apt list what repo a pacakge came from?20:27
uvosor dpkg20:27
Wizzupapt did something insane20:27
WizzupI did apt update20:27
Wizzupand now it's installing libunique-1.0-020:27
uvosok20:27
Wizzupso it remembered?20:28
uvoshmm20:28
Wizzupah no20:28
WizzupI had the command queued20:28
Wizzupok so I have it now!20:28
Wizzupnot sure what happened there with apt20:28
Wizzuplol localisation is so annoying when stuff like make is being translated20:32
* Wizzup changes and reboots20:32
Wizzupuvos: well, dpkg-deb: building package 'sphone' in '../sphone_0.06_amd64.deb'.20:37
Wizzup:)20:37
Wizzupit looks a bit awkward in landscape20:38
uvosthats right20:38
uvoswe need to force it protrait20:38
uvosor fix it a bit20:38
Wizzupshall I push this to a branch or to master20:39
Wizzupuvos: well forcing portrait is pretty simple20:39
uvosmaster20:39
Wizzupuvos: done20:40
Wizzupit should build for you now20:40
freemangordonmaybe use teh issue tracker of the repo instead of wiki20:42
Wizzupso far we've mostly used the main issue tracker20:42
Wizzupnot package specific repo20:42
Wizzupbut we could if you want to20:42
Wizzupuvos: shall I just put this in the CI now?20:42
Wizzupuvos: then parazyd can give you perms to rebuild it as well20:42
uvossure why not20:43
freemangordonWizzup: the point is that we know there are lots of thing to be implemented20:43
uvosfreemangordon: there is https://github.com/maemo-leste/bugtracker/issues/55220:43
uvosbut i knda want to keep that to immidate issues20:44
uvosnot stuff like add voip support or whatever20:44
freemangordonuvos: yes, that's what I meant to use repo tracker for20:44
uvosok20:44
freemangordonwe'll pollute the main tracker otherwise20:45
uvossure20:45
Wizzupuvos: wrt force dialer into portait mode somehow, we have a x atom for it20:45
uvosWizzup: ok20:45
Wizzuplike we have for supporting both portrait and landscape based on device orientation20:45
freemangordonwhy not use hildon flags?20:45
Wizzupafaik20:45
uvosWizzup: please also set the standart min max aspect ratio atom20:45
Wizzupfreemangordon: that is what I mean I think20:45
freemangordonok20:45
uvosthose flags are atoms20:45
Wizzupuvos: what is that?20:45
uvosWM_NORMAL_HINTS20:46
uvoshttps://www.x.org/releases/X11R7.6/doc/xorg-docs/specs/ICCCM/icccm.html#window_manager_properties20:46
uvosmin_aspect20:46
uvosmax_aspect20:46
freemangordonuvos: I know, the point is that we have 2 atoms and those are easily set by a single hildon call20:46
uvosthe hildon call should then also set those20:47
uvosas other window managers use them to detine if the window needs landscape or portrait20:47
uvosnokia must have missed them while implmenting hildon20:47
Wizzup:)20:48
Wizzuphttps://phoenix.maemo.org/job/sphone-binaries/20:48
Wizzupsoon it'll be an apt-get install away on my d420:48
Wizzupuvos: I took the liberty to update your comment20:49
uvospff mod powers abuse :P20:50
uvosyour build is failing20:50
tmlinduvos: droid4 alsamixer can do dtmf during call no problem, see https://github.com/tmlind/droid4-sms-tools/blob/master/droid4-dtmf.sh20:51
uvostmlind: yeah i know :)20:51
tmlindwell amixer20:51
tmlindnot a nice interface, but that seems to be what few others do too with alsa20:52
uvosright20:52
Wizzupuvos: seems to be this?20:53
Wizzup./configure: line 6605: syntax error near unexpected token `0.35.0'20:53
Wizzup./configure: line 6605: `IT_PROG_INTLTOOL(0.35.0)'20:53
uvosyes20:53
uvosi saw this too20:53
uvosyou need intltool20:53
uvosinstalled20:53
Wizzupok20:53
Wizzupwill make it a Build-Depends20:54
uvosthats a absouly great error message btw20:54
uvosthank you autotools20:54
Wizzupyes :D20:54
Wizzupno worries cmake can probably best it somehow ;)20:54
uvosno doubt20:55
uvosi dont think a truely good build system exists20:55
uvosat least cmake as less layers20:55
uvos*has20:55
Wizzupautotools is not great in many ways, but it's a standard and for that alone I think it's mostly good20:55
Wizzupbut yeah, the sphone guy used it so it was easy20:56
uvosi wonder if sphone guy is still around20:56
uvosmaybe we should inform him of our use20:56
uvoshe was clearly interested in linux on qwerty sliders..20:57
Wizzuplet's get it working in some shape first :-D20:57
Wizzupamd64 build is ok now20:57
uvosok20:57
Wizzupwe also need to fix up our ofono some20:57
Wizzup(I still have a sim with pin required set and ofono never detects it still)20:58
Wizzup(unless I restart ofono)20:58
uvosWizzup: something is up with your unit20:59
uvosmine detects the sim every time20:59
uvoscheck the modem firmware version in android maybe20:59
Wizzupuvos: I think I digged into this before20:59
Wizzuplike I said, the sim notification presence is sent, but ofono does not pick it up20:59
uvosok21:00
uvoshmm21:00
WizzupI can see it in dmesg21:00
uvosok21:00
Wizzuphttps://github.com/maemo-leste/bugtracker/issues/53021:00
uvosyou mean before the you unlock the sim?21:00
uvosif you try to unlock it then sees it immidiatly21:00
uvos?21:00
Wizzupstartup-pin-query waits for the sim to present before it attempts to unloc kit of course21:00
Wizzupbasically the UI will forever show 'no sim present' in tsatu bar21:01
uvosok yeah i think i see that21:01
Wizzupuntil you restart ofono or kick it in some way21:01
uvosok21:01
uvosok21:01
uvosyes21:01
Wizzupyeah I don't fully understand how ofono on the d4 works yet, but I think it acts on the tty line, and then uses qmi to actually do things21:01
Wizzupso maybe we just need another 'act on this when you see it on tty line' thing21:02
Wizzup(this is an extremely simplified version of my already basic understanding)21:02
uvosmaybe21:02
uvossame issue exists on pp?21:02
uvosor no?21:02
Wizzupbtw my revision is on that gh issue21:02
WizzupI don't think that issue exists on the pinephone or on the n90021:03
tmlinduvos: for the voice call issues, not sure i know what we should do.. but i think we should move dts node for cpu_dai_mdm to be a child of the cpu_audio node as the cpu is not involved at all21:03
tmlinduvos: then when voice call is active, it would also keep it's parent active21:04
Wizzupuvos: sphone should be apt-get install'able on the d4 now21:05
uvostmlind:  ok if that would work :P right now i have no clue how soc_snd descides what dai is active21:06
uvostmlind: i just sent sre a emial with that very question21:06
tmlinduvos: i think right now we completely rely on the set_tdm_slot() hack21:07
tmlinduvos: yeah sre should know, i don't21:07
uvosok that dosent cause Voice Playback to be active21:07
uvossee debugfs21:07
tmlindyeah ok makes sense21:07
Wizzupuvos: shall I try to hildonize the sphone ui somewhat?21:07
uvosWizzup: explain?21:08
Wizzupadd the atoms, maybe make the text fields larger21:08
uvosWizzup: besidse using libhildon for the protrait mode what would that entail21:08
uvosok21:08
uvossure21:08
Wizzupmaybe add context menu to switch between the UI windows21:08
Wizzup(as opposed to various .desktop launchers)21:08
uvosi like various .desktop launcher tbh21:08
uvosand we need them anyhow21:09
Wizzupa .desktop for new sms seems weird to me21:09
uvosso you need to support the xdg intents thing21:09
Wizzupwe just have 'Conversations', which is for sms history and also writing new SMS21:09
uvosso if an app wants to send sms: it uses xdg spec to locate the sms program21:09
uvosthat program has some magic in its .desktop file to make it work21:09
uvosbtw the fact that this suff is missing is a major pain for maemo apps21:10
WizzupI can skip the context menu if you want, but I think 6 launch icons is not very useful ux, even now, but I also don't feel strongly about it21:10
Wizzupuvos: ok, but let's consider that a separate issue for now21:10
Wizzuphow did you get it in portrait mode for your screenshots21:10
uvosi run forcerotation = 1 in hildon transition.ini21:11
Wizzupuvos: also making buttons larger, like 'Send' and 'Cancel' in sms-new21:11
Wizzupuvos: right21:11
uvosthat makes everything rotateable21:11
Wizzupdid you manage to send a sms yet?21:11
uvossure everything you propose makes sense21:11
WizzupI just get 'SMS send action failed'21:11
uvosbut i think we should fix the ofono stuff first21:11
uvosno21:11
uvosit uses a ofono interface thats mia21:11
Wizzupok21:12
freemangordonWizzup: dialer has theming21:12
freemangordonI think it makes sence to use it21:12
freemangordon*sense21:12
WizzupI don't know how theming works, but it seems like we can do that later21:12
uvosalso why would the dialer want to look diferent than system theme?21:12
Wizzupuvos: I don't think he meant different21:13
freemangordon:nod:21:13
uvosthen it makes no sense21:13
freemangordonsee https://github.com/maemo-leste/sphone/blob/master/src/keypad.c#L3021:13
uvosit follows the gtk2 theme21:13
uvosso.. i dont understand21:13
freemangordonactually no, look at what I linked ^^^21:13
uvosok21:14
uvosi dont think this is a big deal21:14
WizzupI think once we get basic things working, we'll just get PRs for things that are a big deal, and also for things that are not a big deal ;)21:14
tmlinduvos: to clarify why we should move the voice call dts node, the voice call codec should not be a child of omap mcbsp like we have it right now, the voice all is all between cpcap and the modem21:15
uvostmlind: makes sense21:15
Wizzupuvos: lol the style it uses is also white text on white/gray text input I think :-D21:16
Wizzuplike the qt5 stuff, but inverse21:16
uvostmlind: but i dont know how the dts structure results in dapm deciding what dai to power21:17
uvosreally the voice dai needs to be considerd powerd at all times21:17
uvossince it is21:17
uvosand the kernel dose not controll it21:17
uvostmlind: i sent you the email to sre for referance21:18
tmlinduvos: ok, if the voice call codec is a child in dts of the cpcap voice codec, then it's also a child device in linux meaning voice call code will keep it's parent busy with pm runtime during use21:20
uvosWizzup: not sure what you mean21:21
uvosWizzup: i assume you found some theaming issue21:22
Wizzupuvos: on the dialer, when you press the buttons, it renders white text in the text field21:23
uvosok21:23
uvosmaybe he hardcoded the color21:24
Wizzupwe'll see21:24
uvosor our themes are broken21:24
Wizzupprogress at least21:24
uvosour qt themes are broken21:24
uvoswhich is why i fixed them at run time21:24
uvosas you mentioned21:24
tmlindgood to see some voice call progress :) ttyl21:32
uvosbye21:32
uvosWizzup: btw to get to the options you have to merge my branch21:34
uvosi added the -c command for it21:34
Wizzupuvos: feel free to merge it21:39
Wizzupbbiab21:39
uvosinterestingly you can hotswap in a sim on a d423:01
uvosmotmdm detects this fine23:02
uvosso the android userspace was the limiting factor on this23:02
stanwhat does a power-led blinking 3 times a second mean when connected to usb power?23:32
stangreen, about 2.5x/sec23:32
stanecho 800000 > /sys/class/power_supply/usb/input_current_limit made it stop23:33
uvosWizzup: btw on a diffrent sim now: no change to the bahavior, no grps/umts data23:58
uvosthis is on a fresh install + cellular stuff23:58
uvoson devel23:58
uvosso i think you could repo it by just using a fresh image23:58
Wizzupok23:59

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