IRC log of #maemo-ssu for Wednesday, 2015-10-28

merlin1991freemangordon: imported00:00
jonwilI will be testing connui-statusbar-internet soon :)00:03
freemangordonjonwil: it is cssu-devel, I made a couple of more fixes00:03
jonwilyes I saw your fixes00:04
freemangordonmerlin1991: thanks00:04
jonwilgood that its in cssu-devel now00:04
freemangordonI installed it on my device, so far so goos00:04
freemangordon*good00:04
jonwilgreat00:04
* merlin1991 needs to write a systemd generator for all the apt repos on his server00:05
jonwilbtw I found http://maemo.merlin1991.at/cssu/bme-replacement/ and am using that version of hald-addon-bme-dev for building MCE00:05
jonwilfiguring its the most recent one that exists unless Pali has one more recent that isn't released00:05
Palijonwil: what you need?00:06
jonwilWould be good if you could put your bme replacement repos on github somewhere00:06
jonwiljust so we have copies00:06
jonwilof the latest code00:06
jonwilmerlin1991 was going to put it at https://github.com/maemo-foss but decided not to since he wasn't sure his tree was the latest code00:09
Palijonwil: https://github.com/pali/hald-addon-bme00:10
Palior maybe put it into community-ssu repo?00:10
Palis/repo/group/00:10
jonwilwhatever works for you00:10
jonwilIts just good to have a copy of the repo available00:11
Palifreemangordon, merlin1991: what do you think? put all rx51-bme-replacement git repos to community-ssu github group?00:11
freemangordonjonwil: mind to announce connui-inet on cssu-devel thread? too late here and too tired to do it00:12
jonwilgot a link to the thread?00:12
freemangordonPali: unless it becomes a part of cssu, I don;t see a reason to put it there00:12
freemangordonjonwil: http://talk.maemo.org/showthread.php?t=84292&page=47&highlight=cssu-devel00:13
Palifreemangordon: at least -dev files from bme replacment are needed for compiling mce00:13
freemangordonhmm, ok then00:13
Palibut maybe it does not make sense to push repos into community-ssu00:14
Palihow to create project group on github?00:14
jonwilposted in the thread00:15
freemangordonPali: if there is a package in cssu (there is), then it makes sense to me to push the repo there00:16
freemangordonjonwil: BTW there *is* wifi signal strength meter, but you need to open statusbar menu :)00:18
jonwildidn't know that...00:18
jonwilIf a package under community-ssu has a dependency on another package then that package should also be in community-ssu00:19
freemangordon:nod:00:19
freemangordonunless it is in the SDK repo00:19
jonwilyes00:19
freemangordonmerlin1991: would you put sppex in cssu-testing? please...00:23
freemangordon*speex00:24
jonwilamyhow it looks like the hald-addon-bme at https://github.com/pali/hald-addon-bme and the one at http://maemo.merlin1991.at/cssu/bme-replacement/ are the same so I do in fact have the latest hald-addon-bme-dev package available :)00:27
Palijonwil: bme-replacment packages should be last version in repo00:27
jonwilgreat00:27
freemangordonPali: anyway, lets move it to cssu repo on github00:29
Paliok00:30
jonwilI wonder if there is a way to compare the package versions of packages in cssu-devel and those on github and see which packages are on github but not cssu-devel (or are newer versions on github)00:34
jonwilwe should definatly put hald-addon-bme-dev into cssu-devel so that someone doing apt-get source mce gets the right bits00:35
*** infobot has joined #maemo-ssu00:35
*** ChanServ sets mode: +v infobot00:35
jonwilguess there is no way to check that short of manually reading the changelogs of all the CSSU git repos...00:40
merlin1991jonwil: pali has a script for that ...00:47
Paliyes I have a script00:47
jonwilCan I see this script? :O)00:48
jonwil:)00:48
freemangordonjonwil: https://github.com/community-ssu/osso-systemui-modechange/blob/master/osso-systemui-modechange.c#L6 :)00:48
jonwilyeah I copied stuff from osso-systemui-somethingelse00:49
jonwilas a base00:49
Palijonwil: https://github.com/community-ssu/cssu-state00:49
freemangordonno problem, but put your name there :)00:49
freemangordonjonwil: also in https://github.com/community-ssu/osso-systemui-modechange/blob/master/debian/copyright00:49
freemangordonI'll put it in cssu-devel once you fix those00:50
jonwilFixed both instances00:52
jonwilThe date in "copyright" is probably wrong though but so what :)00:52
jonwilwait missed one00:52
jonwilok, there00:52
jonwilfixed the instances of your name in that package :)00:53
freemangordon:)00:53
jonwilthe latest versions of osso-syhstemui-dev, osso-systemui-alarm, osso-systemui-tklock and osso-systemui-powerkeymenu should also go into cssu-devel00:55
jonwiloh and the latest version of libconnui-dev needs to be there too for connui-internet00:55
jonwilheck, just run the script from pali to see what's missing :)00:57
merlin1991freemangordon: to put speex into -testing I need to rebuild a .changes file00:58
merlin1991probably find the time todo that on the weekend00:58
jonwilpali: How do I run cssu-state? What do I pass as parameters?01:00
jonwilI ran it and it did some stuff but printed no output01:01
Palijonwil: no args --> show state for: "git" "devel" "testing" "git-stable" "stable" version01:01
Palinon empty first arg --> show state for: "git" "devel" "testing" "git-thumb" "thumb" version01:02
Paliand you ned to wait cca 5 minutes01:02
jonwilit stopped doing stuff after a few seconds01:02
Palibecause it download lot of files from github, compare it01:02
jonwilso its possible one of the commands inside didn't do what it should01:02
Paliit call wget in sequents01:03
Paliand also you need to have dpkg01:03
Palifor dpkg --compare-versions call01:03
jonwilI have dpkg01:03
jonwilI am running it inside scratchbox in my dev vm01:04
Paliit does not work?01:04
Paliany error message?01:04
jonwiloh ok, I see the problem. wget https is broken in this particular install for some stupid certificate related reason01:04
jonwilGoing to add the command to say "I dont care about the certs, just connect anyway"01:04
merlin1991well I'm pretty sure the certs inside sb are way out of touch with todays reality01:05
jonwileven the certs in this dev vm would be horridly out of date01:05
jonwilok, now its working01:08
Palijonwil: will wget --no-check-certificate work?01:10
jonwilyes that is working01:10
jonwilI edited the .sh file to add that01:11
jonwilits now doing a lot more work than it did before01:11
jonwilso I assume its working01:11
Paliok, then I'm going to push this change01:11
Palijust wait for finishing and let me know01:11
jonwilok, do that :)01:11
jonwilok01:11
jonwilok, it worked, now to run it again and redirect the output to a file for easier reading :)01:17
freemangordonmerlin1991: ok01:19
jonwillooks like hald-addon-bme is still missing from cssu :)01:28
jonwilcssu repos01:28
*** NishanthMenon has quit IRC01:44
jonwilpali: Can you put hald-addon-bme in cssu repos?01:46
Palijonwil: no, because it needs bme replacment01:48
jonwilI mean cssu git01:48
Palihald-addon-bme is already in bme replacment repo01:48
jonwilI mean https://github.com/community-ssu01:49
jonwilnot cssu .deb repos01:49
Palito community-ssu on github?01:49
jonwilyes that01:49
Paliit is alreeady there01:49
jonwilI dont see it01:49
Palior not?01:49
Palihm... wait01:49
freemangordonmerlin1991: another package to be imported in cssu-devel :)01:51
Palijonwil: https://github.com/community-ssu/hald-addon-bme01:52
jonwilgreat01:52
jonwilok, so in going over the status output, I see 4 packages that are in cssu-testing but not cssu-devel (which seems strange), some packages not in cssu-devel that maybe should be there and some packages that are in cssu-devel but not the latest version that maybe should be updated01:54
jonwilbut I will leave the decisions as to what should be in -devel to the maintainers of -devel :)01:55
merlin1991jonwil: #1 is not so strange, think old cssu packages pre --devel times01:55
jonwilok01:55
jonwilwell the 4 packages in -testing but not -devel are evolution-data-server, libsysinfo-dev, mp-fremantle-community-pr and rtcom-eventlogger-async fyi01:56
merlin1991also for some packages I did bump debian/changelog when putting them into -testing for various reasons01:56
merlin1991well the mp-... ofc is not in -devel :D01:57
jonwilyeah obviously01:57
merlin1991sysinfo-dev and eventlogger-async are from pre -devel times01:57
merlin1991and I think evolution-data-server got tested on tmo01:57
jonwilok, makes sense01:57
jonwilshould any of the following packages be added to cssu-devel?02:06
jonwilhald-addon-bme-dev,hildon-im-vkbrenderer3,hildon-input-method-plugins,hildon-status-bar-usb,libcal,libconnui-dev,libgtkadi,location-supl-fix,omap3430-dsp,osso-systemui-modechange,rtcom-accounts-plugin-jabber,sharing-service-facebook02:06
jonwillibconnui-dev definatly should be02:07
jonwilosos-systemui-modechange probably02:07
jonwilno idea on the others though02:07
jonwilwait hald-addon-bme-dev no, its in the bme repo already02:07
jonwiland these are the packages that are out-of-date in -devel relative to git02:09
jonwilclock-ui,community-ssu-enabler,connui-internet,curl,feedservice-plugin-fb-common,ke-recv,libdevlock-dev,libhildonfm,matchbox-window-manager-2,osso-systemui-alarm,osso-systemui-dev,osso-systemui-powerkeymenu,osso-systemui-tklock,profiled,status-menu-applet-profiles,tracker,vte02:09
jonwilI shall now let the maintainers of cssu-devel figure out which of those need to go into -devel and which dont :)02:10
*** Pali has quit IRC02:32
merlin1991-devel has no "maintainer" it's just some devs with push access03:04
merlin1991I can add you too03:04
*** M4rtinK has quit IRC03:42
jonwilwell I dont know for sure which packages should be in -devel and which shouldn't be03:49
jonwilso i dont want to put things in there that dont belong03:49
*** xes_ has joined #maemo-ssu03:54
jonwilmy god openssl takes forever to compile...04:10
*** ruskie has quit IRC04:19
jonwilbah, its STILL compiling :(04:29
jonwilmost likely its all those testcases and things that take so long04:29
*** ruskie has joined #maemo-ssu04:38
*** sparetire_ has quit IRC05:43
jonwilhttp://talk.maemo.org/showthread.php?p=1486997#post148699707:59
freemangordonmerlin1991: the files still hang in cssu-devel incomming directory08:24
*** freemangordon has quit IRC08:36
*** _rd has joined #maemo-ssu08:38
*** freemangordon has joined #maemo-ssu08:38
*** amiconn has quit IRC08:45
*** amiconn has joined #maemo-ssu08:47
*** _rd has quit IRC09:11
freemangordonjonwil: why is eapd so big? any idea?09:22
jonwilprobably inefficient (all that C++) and also its doing a lot of different WiFi security things09:22
freemangordoncan't we replace it with wpa_supplicant?09:24
jonwilIts not that simple, it talks to a bunch of stuff and a bunch of stuff talks to it09:25
jonwilI never got far enough in reverse engineering it to find out everything it does09:25
freemangordonvid dbus?09:25
freemangordon*via09:25
jonwilvia dbus yes but also other things like gconf keys09:25
freemangordonthat should be relatively easy to recover and implement09:26
freemangordonjonwil: hmm, there is no need to reinvent the wheel https://www.google.bg/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCcQFjAAahUKEwiDmrml0uTIAhWK8RQKHcADAPk&url=http%3A%2F%2Fwww.cncmods.net%2Ffiles%2Fdbus%2Feap-dbus.h&usg=AFQjCNE7VHd09OZdNhBuXU-3F9TSUVcIrQ09:29
freemangordonI'd bet we should be able to wrap wpa_supplicant (if there is no exported API) and to reimplement eapd09:32
jonwilyeah the dbus stuff I figured out most of, its the gconf keys that are the problem09:34
jonwileapd touches gconf keys and then other stuff needs to get the stuff that eapd put there09:34
jonwiloh and I created eap-dbus.h so I know all about it09:34
jonwilwell I didn't create it but I edited it and put it up there09:34
freemangordonhmm? "@author Janne Ylalehto <janne.ylalehto@nokia.com>"09:34
freemangordonoh :)09:35
jonwilI forgot where it came from until I opened it and saw :)09:35
freemangordonok, wpa_supplicant build in SB09:45
freemangordonthe latest one, from git09:45
freemangordonph, Pali is one of the maintainers of extras-devel wpa_supplicant :)09:49
freemangordon*oh09:49
freemangordonjonwil: ^^^09:50
freemangordonI guess we're lucky then09:50
Siceloeapd .. i support idea :)10:05
Siceloi can be a beta tester for anything eapd/wpa_supplicant related.10:08
freemangordonwe'll have to RE icd2 aiui10:10
freemangordonor not?10:10
freemangordonanyway, gotta run10:10
Siceloi just know when using wpa_supplicant, maemo programs don't "see" the connection. you need to use "dummy network" interface. only pidgin has issues with that. all others are happy with dummy interface10:12
bencohhow comes pidgin isn't happy with "dummy network" ?10:13
Sicelowish i knew10:14
Siceloyou have to disable accounts first. only then it works10:14
Sicelosome features of wlancond will be needed if we go wpa_supplicant, especially PSM. i'm currently doing it on interface initialization using iwconfig. wlancond changes the power saving dynamically10:19
jonwilin addition to osso-wlan-security (aka eapd) we will also possibly need to worry about libicd-network-eap, and libicd-network-wps10:37
jonwilwe may also need to care about connui-conndlgs-wlan and conui-iapsettings-wlan10:38
jonwilok, that's got that finished (at last)10:38
jonwilI have cleaned up my N900 and removed some crap I didn't need and then reinstalled self-built packages of all the stuff in community-ssu I want to run on my phone including a self-built copy of microb-engine (the building of which wasn't as painful as I thought it would be)10:40
jonwilplus the latest openssl 0.9.8zf10:40
jonwiland the latest maemosec stuff for the latest root certificate sets10:40
*** freemangordon_ has joined #maemo-ssu10:45
bencohjonwil: hmmm, last time I tried I didnt manage to build microb-engine in my sb vm :/10:48
bencohstrange errors everywhere10:48
jonwilIt build just fine10:49
jonwiland I can log into my bank so everything is working (including all the security stuff)10:49
jonwilI could be wrong but I think GPS locking is now faster too (so something I installed must have affected that)10:50
bencohhmm10:50
bencohmaybe just a missing certificate? which supl server do you use?10:50
freemangordon_bencoh: microb-engine builds just fine in SB10:52
bencohyeah, I guess it's just me10:53
bencohfreemangordon_: would you pastebin the output of dpkg -l in sb (fremantle_armel, not linaro/4.7) when you have some time?10:54
jonwilbencoh: I can do that for my copy of SB if that helps10:55
jonwilwhich is based on the Maemo dev VM from Nokia10:55
bencohjonwil: that'd be great :)10:56
bencoh(I'm concerned about "which autoconf/automake variant is installed" and stuff like that)10:57
freemangordon_bencoh: http://pastebin.com/ktEcEsTN10:57
bencohthx10:57
freemangordon_expires in an hour10:57
bencohgonna curl that :)10:58
jonwilI will compare that pastebin to mine and see whats different (for interests sake)10:59
jonwilok, looks like its not much interesting, just some packages where fg has cssu version installed and I have stock11:03
jonwiland some -dbg packages I have that fg doesn't have11:03
*** sparetire_ has joined #maemo-ssu11:04
bencohmine differs a bit (autotools things)11:06
jonwilin any case I cant see any packages freemangordon has that I dont have and want11:09
jonwilI have a lot of packages installed that freemangordon doesn't have11:12
bencohdpkg-checkbuilddeps: Unmet build dependencies: autoconf2.13 automake1.711:21
bencohI wonder how you can build microb-engine11:21
freemangordon_bencoh: just install those, what is the problem?11:32
bencohno problem with installing it, it's just that it doesnt show on your dpkg -l :)11:34
jonwilwow, installing the cssu status-area-applet-battery was a good idea, it gives you much more useful info than the stock widget does11:50
jonwilI commend Pali for his work on status-area-applet-battery12:06
*** M4rtinK has joined #maemo-ssu12:29
*** Pali has joined #maemo-ssu12:31
freemangordon_Pali: hi! what do you think about replacing eapd with wpa_supplicant?12:32
Palifreemangordon_: do you know how to do it?12:32
freemangordon_we can reimplement eapd dbus and gconf interfaces12:33
freemangordon_to call wpa_supplicant12:33
Paliit is not easy as you think...12:33
Paliwpa supplicant does not support hooks12:34
freemangordon_I don;t think it is easy :)12:34
freemangordon_hooks? what kind of?12:34
Paliso first you need to modify wpa supplicant12:34
Paliget back events, when wpa supplicant change state etc12:34
freemangordon_could you provide an example of such a hook, so /me to understand12:34
Paliwpa supplicant connected to AP12:35
PaliEAP auth finished12:35
freemangordon_how does NetworkManager do it?12:35
PaliEAP auth failed because of wrong password12:35
PaliEAP auth failed because of unsupported configuration12:35
Paliand more EAP reasons12:36
freemangordon_ok, how nm does it?12:36
Palinetwormanager map every error message to wrong password12:36
Paliand ask you enter it again12:36
Palieven if error is different as wrong password12:36
freemangordon_ok, wpa_supplicant has dbus api, I guess it will be easy to signal over the dbus with the correct error code12:37
freemangordon_if it is not already there12:37
freemangordon_Pali: https://w1.fi/cgit/hostap/tree/wpa_supplicant/dbus/dbus_old.h12:38
Palidbus api does not provide all information12:39
freemangordon_there is also dbus_new.h :)12:39
Paliboth12:39
freemangordon_you think it will be very hard to extend it to provide whatever needed?12:40
Palitwo years ago I planned to write my own software as replacement for network manager12:40
Paliand I stopped it because wpa supplicant was not good to write WPA and EAP stuff correctly12:40
freemangordon_well, I guess it developed for the last 2 years12:42
bencohoh, by te way12:42
bencohjonwil: http://abicheck.sourceforge.net/12:42
bencohmight help you :)12:42
freemangordon_Pali: do you have any other idea for eapd replacement?12:42
Palino, reason why I did not finished my SW12:43
Paliwpa supplicant is probably the best solution from all existing12:43
freemangordon_also, we don't want to replace icd2, but eapd :)12:43
Palidoes not matter12:43
Paliicd2 is another piece of broken SW12:43
jonwilreplacing eapd with wpa_supplicant isn't that hard if we can deal with the dbus and gconf stuff eapd does12:44
freemangordon_BTW, I don;t see what is the problem with wpa_supplicant not providing enough information. Who uses that missing info and what kind it is?12:44
freemangordon_also, I don;t believe wpa_supplicant does not provide enough information to distinguish the error reasonss12:45
freemangordon_dbus api that is12:46
Paliwpa supplicant is also used for choosing and connecting to wifi networks12:46
Palibut this functionality is probably implemented in icd212:46
Palialso scanning for wifi networks is in wpa supplicant12:46
Paliso first you need to remove that code from icd212:47
freemangordon_Pali: but I think we can just strip that functionality12:47
Paliand let wpa supplicant do that job12:47
kerioyea fuck icd212:47
freemangordon_we miss the UI replacement12:47
freemangordon_but yes, we can do that as well12:47
Paliin that case I would suggest to use eapd12:47
freemangordon_and we'll kill 2 closed blobs at once12:48
Palibasically we should use full wpa supplicant12:48
Paliotherwise I do not see any reason to try hack it into maemo12:48
freemangordon_what problems do you expect if we choose that?12:49
Paliroaming support12:50
freemangordon_(whatever it is)12:50
Paliand similar stuff under WPA together with EAP12:50
Paliwpa supplicant should be in scanning state12:50
Paliwhen it manage wifi network fully12:50
jonwilThe packages that should be potential targets for replacement here are:12:51
jonwillibicd-network-eap12:51
jonwillibicd-network-ipv4 (maybe, not sure what that does)12:51
jonwillibicd-network-wlan (maybe)12:51
jonwillibicd-network-wps12:51
jonwilosso-wlan-security12:51
jonwilosso-wlan (maybe, its open source though)12:51
Palilibicd-network-ipv6 too12:51
jonwilthat isn't shipped on a stock install12:51
Paliyes, it is in diablo or fremantle extras12:52
jonwilAs for UI we have connui-conndlgs-wlan and connui-iapsettings-wlan to deal with12:52
jonwilreplace, clone or otherwise deal with12:52
jonwilicd2-network-wlan-config comes into this too (although that's a non-binary package)12:53
Palinow if you are opening question about killing icd2 (+all plugins)... do you want to look at my SW for managing networks?12:53
jonwilI am not suggesting we replace icd2, just all the wlan stuff12:53
jonwilMight hit some of this wlan stuff in IDA to see what its interface is12:54
freemangordon_doesn't Jolla use wpa_supplicant?13:50
Paliprobably yes, together with connman14:36
freemangordon_I guess we should be able to reuse it on maemo14:38
jonwilFYI, replacing all of icd2 instead of just the WiFi bits will be a lot more work15:08
*** Pali has quit IRC15:24
*** Pali has joined #maemo-ssu15:29
*** Pali has quit IRC15:35
*** Pali has joined #maemo-ssu15:35
*** jonwil has quit IRC15:39
*** freemangordon_ has quit IRC15:41
*** Pali has quit IRC15:51
*** Pali has joined #maemo-ssu15:53
*** freemangordon_ has joined #maemo-ssu15:56
*** Pali has quit IRC15:57
*** freemangordon_ has quit IRC16:10
*** Pali has joined #maemo-ssu16:12
*** freemangordon_ has joined #maemo-ssu16:41
*** freemangordon_ has quit IRC16:50
*** DrCode has joined #maemo-ssu16:58
*** futpib has joined #maemo-ssu19:37
freemangordonmerlin1991: please import .debs in cssu-devel/incomming21:42
*** _rd has joined #maemo-ssu22:14
*** futpib has quit IRC22:44
*** jonwil has joined #maemo-ssu23:05
jonwilhi23:12
*** starbuster has joined #maemo-ssu23:28
*** starbuster has left #maemo-ssu23:31
*** M4rtinK has quit IRC23:36
*** _rd has quit IRC23:42
*** xes_ has quit IRC23:52

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!