**** BEGIN LOGGING AT Wed Dec 22 02:59:57 2010 Dec 22 17:34:02 denkenz: holtmann: will Emulator have a DBus API? Dec 22 17:44:07 padovan: I don't think so Dec 22 17:48:42 Yeah, I'm seeing no point on have that as well. Dec 22 17:54:17 denkenz: so, Ill start with DUN PTY implementation as Marcel said to me. And when I finish all the Emulator stuff and integration with PPP and AT Server we can go to BT and USB DUN Dec 22 17:59:21 denkenz: and if we are not going to have an API how the user can cancel a DUN link from the Server side in oFono? Dec 22 17:59:38 bluez authorization? Dec 22 18:01:16 Yeah, that works, I forgot. Dec 22 18:23:22 ' Dec 22 18:29:40 padovan: Ok fair enough, can you check the g_dbus_watch logic in stkagent.c, are we fine in there? Dec 22 18:29:53 padovan: One other small booboo in your patch: Dec 22 18:29:55 + DBusConnection *conn =ofono_dbus_get_connection(); Dec 22 18:37:14 denkenz: ok, I'll look into stk too. Dec 22 18:50:17 denkenz: src/stkagent.c is fine. Dec 22 18:53:04 denkenz: where in doc/features can I add an entry about modem reset? A new Modem category? Dec 22 18:56:53 that sounds fine for now Dec 22 20:05:40 padovan: can you pull and look at commit 3daf20216f3e16c65cc5142405477a141f64c9c3? Dec 22 20:05:47 I want a second pair of eyes on that one Dec 22 20:06:45 Seems that kernel.org have not synced oFono repo yet. Dec 22 20:06:55 nod, no hurry Dec 22 20:22:14 holtmann: btw I'm mostly fine with Rafael's GPS patches Dec 22 20:22:36 holtmann: Do you want to fight over naming now or ? Dec 22 20:23:20 The naming should not be GPS. Dec 22 20:23:42 It should more like LocationSettings or LocationControl or LocationManager or something alike. Dec 22 20:24:04 We already have LocationServices Dec 22 20:24:29 Or was that renamed to something else in the latest STE proposal? Dec 22 20:25:21 What about LocationSettings? Dec 22 20:26:30 so the main purpose behind the API is the powered on/off setting Dec 22 20:26:47 And the dev node to open Dec 22 20:27:06 (which is missing in the current proposal) Dec 22 20:27:45 So I'd almost say like NmeaDevice Dec 22 20:28:01 I does not have to be NMEA actually. Dec 22 20:28:17 LocationDevice? Dec 22 20:28:41 LocationReporting? LocationDevice... Dec 22 20:29:16 I like LocationDevice actually. Dec 22 20:30:10 I agree with Marcel in LocationDevice Dec 22 20:30:20 personally I like LocationReporting more Dec 22 20:30:45 LocationReportingDevice? lol Dec 22 20:31:18 That one is too long ;) Dec 22 20:31:46 After SupplementaryServices nothing is too long Dec 22 20:31:53 LocationReporting is fine with me as well, but LocationDevice seems reasonable since essentially we are talking about a GPS device. Dec 22 20:32:04 The SS one is crazy, blame 3GPP. Dec 22 20:32:52 dunno, LocationDevice doesn't convey the same meaning to me, but then LocationReporting can also be confused with certain network location requests Dec 22 20:33:12 so I'm fine either way Dec 22 20:34:13 we'll change it in a month anyway ;) Dec 22 20:35:18 Could be. Dec 22 20:42:03 Ok, so unless someone has better ideas I'm going with LocationReporting Dec 22 20:42:23 we also need to add at least string Device and string Type Dec 22 20:42:28 to properties Dec 22 20:46:00 Does Device need NMEA to be retrivied? If we are talking about a NMEA device Dec 22 20:48:32 sorry, not following? Dec 22 20:50:58 I'm asking about the Device property. How is it value retrived from the GPS device? Dec 22 20:51:27 its the tty where the NMEA stream is being piped Dec 22 20:51:37 so in the case of mbm it might be /dev/ttyACM2 Dec 22 20:52:35 That answers, thanks. Dec 22 20:55:27 the other thing that mbm supports is setting the update frequency in seconds Dec 23 01:16:50 + case MODEM_STATE_PRE_SIM: Dec 23 01:16:50 + modem->driver->set_online(modem, 1, NULL, NULL); Dec 23 01:16:52 + break; Dec 23 01:17:10 denkenz: I didn't get this part of your patch Dec 23 01:17:40 Basically if we go online and the user removes the SIM Dec 23 01:17:44 we should go offline Dec 23 01:17:49 But I actually screwed this up Dec 23 01:17:54 should be 0 not 1 :P Dec 23 01:17:59 is there a way to dump the IMEI# for the modem? Dec 23 01:19:00 sabotage: see Modem Serial property Dec 23 01:19:44 ok, thought so, but didn't have one already known for this new device to be sure Dec 23 01:21:48 denkenz: Okay, for the Set(powered, false) and Set(Lockdown, true) a under reset flag could work to fix the race condition. But that doesn't cover the remove sim action. Dec 23 01:21:57 So your patch is godd, fix all cases Dec 23 01:22:01 :) Dec 23 01:22:56 except for screwing up the offline bit :P Dec 23 01:23:05 denkenz: ok, next question... trying to online the modem, I'm getting: Dec 23 01:23:07 org.ofono.Error.NotAvailable: Operation currently not available Dec 23 01:23:18 what could be preventing this? Dec 23 01:23:24 sabotage: first power it up Dec 23 01:23:24 worked last boot ;) Dec 23 01:23:27 it is Dec 23 01:23:34 Powered = 1 Dec 23 01:23:39 You cannot go online until the sim initialization is complete Dec 23 01:23:53 so either the pin is locked or you're too fast Dec 23 01:24:10 no pin lock on the SIM Dec 23 01:24:18 been powered up for a while now Dec 23 01:24:22 7-10 min Dec 23 01:24:42 and kernel.org is really slow today... :( Dec 23 01:25:26 only diff is this boot, I have ofonod running backgrounded with -n -d * and OFONO_*_DEBUG set... all logging to a /tmp file Dec 23 01:25:43 so could be buffer blocked?!?! Dec 23 01:29:15 doubtful Dec 23 01:29:37 what does list-modems say? Dec 23 01:29:41 ok, well running it w/out all that, and the modem powers up and onlines at boot Dec 23 01:30:06 fav pastebin server? Dec 23 01:30:13 pick one Dec 23 01:31:54 1) http://pastebin.ca/2026790 Dec 23 01:31:56 2) http://pastebin.ca/2026792 Dec 23 01:32:29 1) was while running ofonod -n -d '*' > /tmp/log 2>&1 from rc.sysinit Dec 23 01:32:47 2) was normal, ie just ofonod, from sysinit Dec 23 01:34:46 go figure, somehow the modem failed to init in the first log Dec 23 01:34:58 meh :/ Dec 23 01:35:00 the at log might tell why Dec 23 01:35:11 my luck... crappy HW Dec 23 01:35:28 I have that too... what would I look for? Dec 23 01:35:34 maybe a command stalled our parser? Dec 23 01:37:44 I haven't the foggiest what I'm looking for in the log... so, not sure what to tell ya Dec 23 01:38:12 I did note that buffering to the log seemed to stop as soon as I tried testing a voicecall Dec 23 01:40:31 generally parser stalls if the modem sends something whacky Dec 23 01:40:38 like an invalid number of crlfs or something Dec 23 01:48:29 * sabotage kicks POS device and it's flakey and inconsistently working i2c/touch/kboot/etc... Dec 23 02:04:31 denkenz: so from what I can see, I'm getting a remote disconnect immediately after dialing Dec 23 02:05:21 and calling my sim #, I never get signaling in ofono, and after the noreply timeout, get sent to voicemail Dec 23 02:05:52 so I'm actually wondering if my sim/IMEI is being barred by the carrier (or network?) Dec 23 02:06:25 doubtful Dec 23 02:06:29 probably your signal sucks Dec 23 02:06:32 I've got another sim I can borrow tomorrow that was confirmed to work yesterday, but that person is out until the morning Dec 23 02:06:48 so I'll swap sims and try again tomorrow Dec 23 02:07:17 ofono-monitor tells me the signal is ranging between 4-6 Dec 23 02:07:33 4-6 percent? Dec 23 02:07:42 that's pretty crap ;) Dec 23 02:08:00 whatever "Strength" means when it says 6 Dec 23 02:08:14 yeah, percent Dec 23 02:08:28 oh, I thought it was between 1-10 /// oops ;) Dec 23 02:08:49 ofono-monitor says: {VoiceCall} [/ifx0/voicecall01] DisconnectReason remote Dec 23 02:09:08 upon placing a dial request (which did return success) Dec 23 02:09:20 I'd need the at log Dec 23 02:09:41 maybe the network is overloaded, or maybe you have no credit Dec 23 02:09:42 no idea Dec 23 02:10:33 nod Dec 23 02:11:15 sim is unlimited voice/data plan... but, well like you said... hard to be sure Dec 23 02:11:44 does seem strange that it times out though Dec 23 02:11:58 however, its been known to happen in low signal conditions Dec 23 02:12:20 my iPhone sometimes takes ~20 seconds to tell me the call failed Dec 23 02:12:32 sure... yet another problem with pre-prodcution HW... poor antenna placement Dec 23 02:13:21 I'm going to try on previous version of the HW, same sim/OS, and see what happend Dec 23 02:13:26 happens Dec 23 02:14:10 nod Dec 23 02:28:58 ok denkenz, no matter how I try running ofonod -n -d '*' from root ssh session, it always seems to hang at: Dec 23 02:29:00 Timeout with multiplexer setup Dec 23 02:29:15 and the modem can't be powered Dec 23 02:29:28 both versions of the HW Dec 23 02:30:07 oh, and my test failed again... same behavior, remote disconnect on outgoing calls, never any incoming signaling Dec 23 02:30:12 holtmann might know that one, he wrote that driver Dec 23 02:30:23 Which one? Dec 23 02:30:32 IFX Dec 23 02:31:15 That one needs a modem reset since the IFX kernel driver for the TTY is stupid. It shits itself when you call close() on /dev/ttyIFX0. Dec 23 02:31:24 this used to work on the EB2, but now getting immediate remote disconnects Dec 23 02:31:31 There is a script somewhere to toggle the GPIOs. Dec 23 02:31:39 I'm getting this on two devices Dec 23 02:31:50 Still on EB2? Dec 23 02:31:54 ok, hints where to find it? Dec 23 02:32:00 and EB3 Dec 23 02:32:15 Don't have an EB3. Dec 23 02:32:41 fair enough, but behavior is consistent between the two Dec 23 02:33:23 EB3 is still a 6260 and you have initial modem firmware programmed in? Our EB2 came with no modem firmware. And then nothing works. Dec 23 02:34:26 If your EB3 is modem firmware less, you are in for a treat. I have no idea on how to fix this. Fred did it for us. Dec 23 02:35:16 sabotage: what problem you met? I also met some problem about SIM card. Dec 23 02:37:53 holtmann: yeah, I had the "fun" of initial modem flashing with EB2 Dec 23 02:38:13 EB3 appears to come preloaded and with IMEI programmed too Dec 23 02:38:31 Nice. At least something. Dec 23 02:41:52 chenmin: still trying to determine if it's the SIM, the FW/Driver or just signal issues Dec 23 02:46:21 if you get past the point of having an IMSI, then it isn't a sim issue Dec 23 02:46:26 sabotage: Ok, I haven't follow IRC these days, but I have met a problem that a series of SIM card doesn't work in N900 both in Maemo and Meego OS Dec 23 02:47:04 signal can be found. but call cannot be made, is it similar to your issue? Dec 23 02:47:37 sabotage: BTW, what HW do you use? Dec 23 02:47:42 meh... mine *could* just be this: Strength = 1 on the network :/ Dec 23 02:49:05 what about registor to network? Dec 23 02:49:19 denkenz: not clear on what "having an IMSI" means... Dec 23 02:49:40 yeah, registration seems fine Dec 23 02:50:00 [ org.ofono.NetworkRegistration ] Dec 23 02:50:03 Status = registered Dec 23 02:50:05 Strength = 1 Dec 23 02:50:07 Name = AT&T Dec 23 02:50:08 lets put it this way, if you're receiving signal strength, then the problem isn't the SIM ;) Dec 23 02:50:09 LocationAreaCode = 33998 Dec 23 02:50:11 Mode = auto Dec 23 02:50:13 MobileCountryCode = 310 Dec 23 02:50:15 Technology = hspa Dec 23 02:50:17 CellId = 13765841 Dec 23 02:50:18 ok ;) Dec 23 02:50:46 w00t! "Strength = 0" Dec 23 02:51:02 * sabotage needs longer wires, an antenna or both Dec 23 02:51:28 having none, calling it a night and trying again in the morning Dec 23 02:54:11 balrog-k1n: Where's my DisplayActionInfo patch? ;) **** ENDING LOGGING AT Thu Dec 23 02:59:58 2010