**** BEGIN LOGGING AT Mon Nov 02 02:59:59 2015 Nov 02 07:49:50 hmm, jolla tablet for ~260usd Nov 02 10:03:02 well, it was a LOT of effort but I finally figured out all the information you need to know in order to rip out the connectivity subsystem and replace it with something new Nov 02 10:03:04 http://talk.maemo.org/showthread.php?p=1487324#post1487324 Nov 02 10:04:47 Packages that would be replaced include the internet settings control panel, the various internet connectivity wizards and dialogs, the WiFi security daemon (eapd), the WiFi daemon (wlancond), ICD2 and all of the ICD2 plugins (including the GPRS plugin) Nov 02 10:09:33 I just hope someone does something with the info I spent the best part of a week figuring out and dumping Nov 02 11:43:43 k, subdir oscp Nov 02 11:43:53 to recompile oscp run ./oscp.mm Nov 02 11:44:11 to play with zzlib go into libs/zzlib* and play there Nov 02 11:44:18 damn, wrong window Nov 02 11:44:20 lol Nov 02 11:59:08 * jonwil wonders if anyone cares about replacing icd2 or if all the work I did was a waste of time... Nov 02 11:59:36 it's irc Nov 02 11:59:45 your work is very good Nov 02 12:00:01 its just that fruits of your labour will have yet to ripe Nov 02 17:48:17 KotCzarny: ping Nov 02 17:48:25 pong Nov 02 17:48:38 but im going away for ~1.5h Nov 02 17:48:41 so, be quick Nov 02 17:48:45 ok just a quick question Nov 02 17:48:54 you know the hildon .desktop files ? Nov 02 17:49:15 ie yourapp.desktop Nov 02 17:49:20 very little, just grabbed some ready made one and tweaked for oscp Nov 02 17:49:57 https://wiki.maemo.org/Desktop_file_format Nov 02 17:50:05 should answer all your question Nov 02 17:50:06 s Nov 02 17:50:18 k, im off Nov 02 17:50:36 k thanks Nov 02 19:40:19 'what' is responsible on N900 for detecting connected USB (cable or charger)? Nov 02 19:42:25 there was such question i think Nov 02 19:42:42 i bet its usb controller Nov 02 19:44:41 for the userland part I'd bet on mce, but ... Nov 02 19:44:58 ke-recv plays the part too Nov 02 19:45:37 ~ke-recv Nov 02 19:49:28 looks like i'll just have to reboot .. N900 'thinks' a cable is connected while it is not Nov 02 19:49:52 i was hoping there could be something i could load/unload/reset Nov 02 19:50:31 Sicelo: kernel module musb Nov 02 19:50:52 and in userspace low level it is hal Nov 02 19:50:59 and userspace upper level it is ke-recv Nov 02 19:51:19 status menu plugin use ke-recv signals (I think) Nov 02 19:51:28 pali, usb/charging subsystem gets stuck sometimes, and almost everyone experienced stuck orange (my guess) Nov 02 19:51:46 and there is bug in that plugin, sometimes it show charger connected even if is not connected Nov 02 19:51:57 in mine not stuck orange, but status-menu .. Nov 02 19:52:08 so same bug... Nov 02 19:52:13 sicelo: try connecting to computer? Nov 02 19:52:17 freemangordon already REed that plugin Nov 02 19:52:23 KotCzarny: doesn't help. Nov 02 19:52:42 Pali: so any ideas on what i can try? i don't mind restart if really necessary Nov 02 19:52:50 so debugging is now possible Nov 02 19:52:57 source code: https://github.com/community-ssu/hildon-status-bar-usb Nov 02 19:53:05 Sicelo: there is workaround for that bug Nov 02 19:53:22 sending ke-recv signals Nov 02 19:53:27 I have on my n900 commands for it Nov 02 19:53:30 wait Nov 02 19:54:07 ke-recv-test p Nov 02 19:54:13 ke-recv-test c Nov 02 19:54:22 i tried ke-recv-test de before.. let me try those Nov 02 19:54:48 calling these two commands "fix" usb status plugin for me Nov 02 19:55:17 wow. p did it ... i had tried c before Nov 02 19:55:33 should have had more faith. thanks :) Nov 02 19:58:56 Sicelo: oh and, if you think a status-menu is at fault, killing hildon-status-menu usually help (in case you have no other choice) Nov 02 19:59:02 (at least it saves rebooting) Nov 02 19:59:17 status-menu plugin* Nov 02 20:00:19 pali, that ke command fixes stuck orange too or only status bar? Nov 02 20:00:19 yes, i usually do that. but this one was somewhere in USB thingies ... when connecting wall charger it could only be detected as a cable. now it's detecting properly Nov 02 20:00:31 status bar only Nov 02 20:00:49 got any fix for stuck orange? (restart mce or something?) Nov 02 20:00:49 Sicelo: you need to call both commands Nov 02 20:00:52 p and c Nov 02 20:01:11 ke-recv internal state must be changed, otherwise no signal is sent Nov 02 20:01:30 i see. had been calling c last 30 minutes, de, and even ej Nov 02 20:01:42 KotCzarny: you can try to restart mce Nov 02 20:01:52 noted for future (because this thing happens a lot for me) Nov 02 20:01:52 stop mce Nov 02 20:01:57 wait some seconds Nov 02 20:02:00 start mce Nov 02 20:02:36 some? 10s? 30s? Nov 02 20:02:38 Sicelo: if you have time, add debug messages to source code, recompile and dump log Nov 02 20:02:42 KotCzarny: max 10s Nov 02 20:03:15 Pali: wouldn'r dsme restart mce? Nov 02 20:03:17 stopped mce for a long time could be dangerous Nov 02 20:03:21 *wouldn't Nov 02 20:03:24 no Nov 02 20:03:29 hmm Nov 02 20:03:30 ok Nov 02 20:04:01 it is tricky! Nov 02 20:04:06 calling /sbin/start or /sbin/stop just send signal to upstart Nov 02 20:04:31 so this change internal state of upstart Nov 02 20:04:38 and call additional upstart script Nov 02 20:04:47 k, added to my tips and tricks page Nov 02 20:04:59 and mce script has post-stop command to tell dsme that mce stopped Nov 02 20:05:08 Pali: so, dsme doesn't babysit mce? Nov 02 20:05:28 and mce script has also pre-start command which overwrite how daemon is started Nov 02 20:05:57 it transit control from upstart to dsme Nov 02 20:06:45 so this "hack" make sure that upstart is able to start and stop daemon which is handled by dsme Nov 02 20:07:04 (and dsme restart daemon or whole system/phone if daemon dies) Nov 02 20:07:16 ok Nov 02 20:07:20 so you must be very very carefull how you kill mce daemon Nov 02 20:07:58 :) Nov 02 20:08:15 (learned it the hard way here) Nov 02 20:08:36 what's the worst that could happen Nov 02 20:08:39 a reboot Nov 02 20:09:01 mce controls lot of parts of system Nov 02 20:20:13 believe it or not but only today used 'hover' mode for the first time. i've used the mouse, but not to actually 'hover' Nov 02 20:21:35 hover mode? Nov 02 20:28:31 pointing without touching screen? Nov 02 20:49:11 hi Nov 02 21:13:36 hi! Nov 02 21:13:56 * jonwil is very pleased with the work he did on reverse engineering the connectivity subsystem Nov 02 21:20:13 although it doesn't seem like any one else cares... Nov 02 21:21:35 * Sicelo009N does, just too dumb to do anything about it. hopefully Pali & freemangordon will help :) Nov 02 21:31:23 * jonwil wishes the community had more programmers :( Nov 02 21:31:55 or more to the point, programmers who are active enough to want to work on stuff like this :) Nov 02 21:33:56 jonwil: this is not a single man task (conn subsys replacement) Nov 02 21:36:44 hmmm yeah good point :) Nov 02 21:37:41 I suspect though you could leverage connman and wpa_supplicant to take care of a chunk of it though Nov 02 21:37:57 connman already uses wpa_supplicant Nov 02 21:38:48 * jonwil suspects one of the hard parts will be writing a GPRS plugin for connman Nov 02 21:40:25 * jonwil wonders if there is anything more he can do to make this happen Nov 02 21:46:15 Guess I will go back and finish libcodelockui then :) Nov 02 22:43:44 jonwil: :-) Nov 02 22:43:55 yes, libcodelockui is also good! **** ENDING LOGGING AT Tue Nov 03 02:59:58 2015