**** BEGIN LOGGING AT Fri Nov 12 02:59:57 2010 Nov 12 20:04:23 denkenz: I posted a RFC about silent reset in the mainling list. Nov 12 20:13:31 ok, the first patch is fine Nov 12 20:13:41 The second patch isn't quite correct Nov 12 20:14:46 why? Nov 12 20:15:04 So two issues Nov 12 20:15:28 You can't simply put the modem back into offline state Nov 12 20:15:42 You actually need to let the driver re-detect the SIM and issue an ofono_sim_inserted_notify Nov 12 20:16:19 You also need to bring the modem Online if it was already online Nov 12 20:17:22 Yeah, I left the restore to online for later patch. Nov 12 20:17:49 fair enough Nov 12 20:18:13 Right now we know of only a single modem that does modem resets Nov 12 20:18:20 And that one basically gets turned off Nov 12 20:18:39 So if it makes things easier, assume that when the modem fires modem_reset, it is off Nov 12 20:18:46 so just powering up is sufficient Nov 12 20:21:14 It can make thinks easier, tought I already implemented the disable part. But I can remove that part of the patch. Nov 12 20:22:29 up to you, it might make things a bit cleaner Nov 12 20:24:24 Problem is that phonesim doesn't have a GUI when modem is down. I can try shutdown it first and the send the reset command to oFono. Nov 12 20:25:02 yeah, phonesim used to stay around after shutdown Nov 12 20:25:16 somehow andrew's changes broke that :P Nov 12 20:26:52 Can you try to track this down? It is likely a stray call to quit() somewhere Nov 12 20:27:41 At one point we were doing stress testing with phonesim by powering up & down 100 modem instances, so this used to work Nov 12 20:29:47 it works in my local copy, i can enable/disable modem multiple times, or kill and restart ofono and it stays around Nov 12 20:29:55 just checked Nov 12 20:31:29 hasn't worked for me in eons Nov 12 20:32:07 doesn't work for me either Nov 12 20:32:14 denkenz@ubuntu:~/phonesim-master$ src/phonesim -p 12345 -gui src/default.xml Nov 12 20:32:17 .... Nov 12 20:32:22 then telnet localhost 12345 Nov 12 20:32:25 quit Nov 12 20:32:29 -> Nov 12 20:32:39 denkenz@ubuntu:~/phonesim-master$ Nov 12 20:32:46 No message or anything else Nov 12 20:33:08 ah sorry, perhaps i didn't understand the context Nov 12 20:33:32 the gui doesn't stay around, but phonesim stays around Nov 12 20:33:53 No it doesn't Nov 12 20:33:54 denkenz@ubuntu:~$ telnet localhost 12345 Nov 12 20:33:54 Trying ::1... Nov 12 20:33:54 Trying 127.0.0.1... Nov 12 20:33:54 telnet: Unable to connect to remote host: Connection refused Nov 12 20:34:19 I noted this a while ago, I think after you added the SIM tab Nov 12 20:34:26 But thought this was intentional Nov 12 20:34:32 guess I was wrong ;) Nov 12 20:35:17 * balrog-k1n updates Nov 12 20:43:08 strange, still works (connecting with telnet and quitting over and over) Nov 12 20:43:56 mind boggling Nov 12 20:44:04 Maybe version of Qt has something to do with it Nov 12 20:44:07 Or we're crashing Nov 12 20:45:56 yeah, possible i'm misusing Qt in some subtle way Nov 12 20:46:18 or not so subtle Nov 12 20:47:35 lol Nov 12 20:47:52 question is whether we can fix it Nov 12 20:55:21 balrog-k1n: Which version of qt are you running? Nov 12 20:57:56 denkenz: 4.5.1, i see that's a little outdated already Nov 12 20:58:35 Hm Nov 12 20:58:36 denkenz@ubuntu:~/phonesim-master$ /usr/bin/moc-qt4 -v Nov 12 20:58:36 Qt Meta Object Compiler version 62 (Qt 4.6.2) Nov 12 20:58:43 But then again, I've had this issue with 4.5 Nov 12 21:21:37 padovan, balrog-k1n: Anyway I pushed a fix for this Nov 12 21:21:48 And this is the reason why I don't use Qt anymore :P Nov 12 21:24:30 denkenz: nice, thanks. Nov 12 21:27:38 weird it worked with my qt install Nov 12 21:28:46 i remembered i also have a change in Makefile.am without which it doesn't build for me (for months now) Nov 12 21:32:47 what kind of change? Nov 12 21:35:07 http://pastebin.ca/1989432 i can't explain it though, probably the wrong way to fix whatever is wrong Nov 12 21:36:27 That one's bizarre Nov 12 21:36:35 Are you running qmake at any point? Nov 12 21:37:10 Since I don't see how you moc or uic the files with that change Nov 12 21:42:25 iirc makefile prepends the value of QT_V_MOC_ to the executable name "moc", so it gets the wrong path without this change, i don't remember what it was Nov 12 21:43:44 ah no, checking my irc logs, Makefile finds an infinite loop when trying to expand $(QT_V_MOC_$(V)) Nov 12 21:43:55 $(V) is 0 Nov 12 21:46:34 Makefile:244: *** Recursive variable `QT_V_UIC_' references itself (eventually). Stop. Nov 12 21:47:09 so $(V) is empty Nov 12 21:48:21 interesting Nov 12 21:48:28 You might want to mention this all to holtmann Nov 12 21:48:31 Since I'm lost in automake Nov 12 21:49:41 yeah, i'm too **** ENDING LOGGING AT Sat Nov 13 02:59:57 2010