**** BEGIN LOGGING AT Tue Feb 09 02:59:56 2010 Feb 09 15:42:06 denkenz: ping Feb 09 15:42:24 holtmann: pong Feb 09 15:42:27 My MBM 37xx card in my X200 keeps crashing now when doing GPRS. Feb 09 15:42:40 Worked fine once, then I ran Carrick and its 3G setup and it crashes. Feb 09 15:42:54 crashes at what point? Feb 09 15:42:55 I assume the problem is the username/password setup. Feb 09 15:43:19 I don't have traces yet. Was in a meeting and couldn't get it to work. Feb 09 15:43:29 hmm, my MD300 worked just fine Feb 09 15:43:38 I made sure to test it before pushing Feb 09 15:43:40 Maybe the empty "" username/password is an issue. Feb 09 15:43:57 I created the APN config via ConnMan :( Feb 09 15:44:24 shouldn't be Feb 09 15:44:33 It is like the firmware crashes we have seen before. Feb 09 15:44:45 Suddenly the device disappears from the bus. Feb 09 15:45:33 Try AT trace, maybe it is the ENAP that crashes it Feb 09 15:45:46 That's what crashed these cards before... Feb 09 15:48:46 It crashes at ENAP for sure. However something else must trigger it since that card worked before. Feb 09 15:49:27 I've had that before too, where the card worked then crashed Feb 09 18:16:53 padovan: The patch looks good for the most part, but you still forgot one thing Feb 09 18:17:09 denkenz: what? Feb 09 18:17:39 padovan: If connect fails, you need to call ofono_modem_set_powered Feb 09 18:17:59 and you need to call disconnect only if the error was a timeout error Feb 09 18:19:09 Ok. I'll fix that. Feb 09 18:33:00 can multiple devices use the modem? is there a locking mechanism in place? Feb 09 18:33:21 yes, it is called ofonod Feb 09 18:36:19 hmm, but ref counting or similar for powered status? Feb 09 18:36:37 also, this hfp could be used to support a usb dun co9nnection as well right? Feb 09 18:36:47 no, hfp is hfp Feb 09 18:36:50 like a serial client port Feb 09 18:37:01 the infrastructure in place Feb 09 18:37:09 not hfp itself Feb 09 18:37:21 nope Feb 09 18:37:55 You're confused about what hfp in ofono does Feb 09 18:39:11 denkenz: ping Feb 09 18:39:20 akiniemi: pong Feb 09 18:39:45 do you mind if I take the registration status op away from gprs.h? Feb 09 18:39:54 yeah I'm confused, hfp is not a server that supports AT commands over rfcomm? Feb 09 18:40:29 akiniemi: Removing all registration status stuff from gprs is on my todo Feb 09 18:40:37 I mean, that data should come from the netreg atom Feb 09 18:40:41 akiniemi: However, I need to still clarify how GPRS Class A/B works.. Feb 09 18:41:15 akiniemi: I do agree in ideal world it comes from netreg atom, but AT modems are fucking weird Feb 09 18:41:24 denkenz: ok, then I'll leave it there, but won't implement it for isimodem Feb 09 18:42:12 akiniemi: Nod, leave it for now, I think it is unused except for display Feb 09 18:42:30 akiniemi: If you have problems we can remove it easy Feb 09 18:42:57 tmzt: HFP has two roles, Server and Client Feb 09 18:43:05 tmzt: oFono can be used to implement both Feb 09 18:43:23 tmzt: The plugin in oFono today implements the client role (e.g. Headset) Feb 09 18:43:34 denkenz: ok Feb 09 18:43:49 ah Feb 09 18:44:09 denkenz: oh, btw do you have plans for supporting user action USSDs? Feb 09 18:44:26 AFAIK we already do Feb 09 18:44:29 look in ussd.c Feb 09 18:45:06 balrog-kun is working on network initiated ussds Feb 09 18:45:15 denkenz: hmm, so what is USSD_STATUS_ACTION_REQUIRED, then? Feb 09 18:46:07 denkenz: also, can enum ussd_status go to the header file, please? ;) Feb 09 18:46:08 That one is when the network requests something from the user Feb 09 18:46:37 denkenz: right, like if you get a menu to choose from, that's what I meant. Feb 09 18:46:38 Ok, the policy is: int when the enum is defined in 27.007 Feb 09 18:46:52 enum when no definition exists and we invent one Feb 09 18:47:06 maybe we need to change that, but it worked well so far Feb 09 18:47:21 denkenz: I know, I know, but it's f'ng annoying to convert ISI values to plain ints... ;) Feb 09 18:47:37 denkenz: I get this uneasy feeling they will change :) Feb 09 18:47:38 I'm fine putting it into the header Feb 09 18:48:15 denkenz: cool Feb 09 18:48:37 AFAIK the action required is signaled on the ussd interface Feb 09 18:48:50 and you need to reply to it, but not sure if it is 100% supported Feb 09 18:49:25 I've never seen it on a real network, so not sure how to test it even Feb 09 18:49:32 denkenz: I don't think it is, and the machinery I'm testing against is sending only such responses Feb 09 18:50:10 Then sounds like you're the best candidate to provide a patch :) Feb 09 18:50:38 denkenz: heh, appending to my todo list, then :) Feb 09 18:56:52 akiniemi: We do have to be careful about removing gprs network registration stuff as we rely on knowing when we're actually attached Feb 09 18:59:46 denkenz: ISI modems provide a query/indication for attach status. So an attach_status op would be fine by me... Feb 09 19:00:54 akiniemi: Ok, propose something, I suppose we can modify ofono_gprs_status_notify and ofono_gprs_detached_notify into ofono_gprs_attached_notify Feb 09 19:00:58 with a boolean parameter Feb 09 20:39:24 akiniemi: I'm fine with that patch Feb 09 20:42:02 denkenz: ok, I'll push in a bit Feb 09 20:43:02 akiniemi: The current API doesn't consider user actions, so we need to do some API design as well Feb 09 20:44:56 this looks very gsm specific, cdma has a single fake context Feb 09 21:01:33 denkenz: I reckon you're right. I don't have a clear idea how, though. Feb 09 21:01:56 denkenz: you want me to hold off the patch until we sort the API out? Feb 09 21:02:14 akiniemi: Nah, that atom needs serious love Feb 09 21:02:25 akiniemi: Submit it anyway Feb 09 21:02:49 denkenz: at least with that patch I can get the isimodem driver working _pretty_ well Feb 09 21:03:49 akiniemi: Biggest issue is that my network only supports simple user-initiated -> network final response ussds Feb 09 21:04:01 akiniemi: And my prepaid SIM does support network initiated final ones Feb 09 21:04:17 akiniemi: Never seen the user-action ones Feb 09 21:04:43 denkenz: yeah, I suppose those are quite rare. Our test network does them, though. ;) Feb 09 21:04:46 akiniemi: So we have to figure out some nice API, maybe a State property, maybe an extra return argument for Initiate Feb 09 21:05:58 denkenz: I see what you mean. Feb 09 23:19:12 is it true that gprs is not supported on a freerunner with ofono? Feb 09 23:19:53 freerunner uses ppp for gprs, we do not support ppp yet Feb 09 23:20:52 does ofono parse the sms-pdu received for a sms? Feb 09 23:21:10 oups... ...for a mms Feb 09 23:22:05 mms is an entirely different animal, ofono will not support mms Feb 09 23:22:10 That is a job of an external stack Feb 09 23:23:06 i didn't mean mms. i mean the first step. the sms received as a trigger to retrieve the mms Feb 09 23:23:27 We recognize wap pushes and simply toss them today Feb 09 23:25:20 so parsing is a layer above ofono? Feb 09 23:26:14 mms? Yeah Feb 09 23:26:30 mms is alot of steps, so be more concrete ;) Feb 09 23:27:03 and while you can't even activate a pdp context you're lost anyway Feb 09 23:27:13 (for the freerunner...) Feb 09 23:27:14 Shrug, you get a wap push notification that tells you some crap Feb 09 23:27:25 Then you activate an mms context Feb 09 23:27:29 exactly - first step Feb 09 23:27:45 Again, we recognize the wap push and completely ignore it Feb 09 23:27:50 We don't parse it or anything else Feb 09 23:27:54 pdp-context. often with a special apn. yes Feb 09 23:29:45 hm, i understood "simply toss them" as if you fire a signal that you received it and a higher level program can use it. "completely ignore" sounds as if it gets lost... Feb 09 23:30:56 it does, and ofono does not advertise mms support Feb 09 23:31:04 If you want this, submit a patch, that's how it works Feb 09 23:31:52 problem is: i don't find information about how to decode that sms. i thought maybe ofono contains functionality for that Feb 09 23:32:29 3GPP 23.040 Feb 09 23:32:33 That's where I found it ;) Feb 09 23:38:01 do you have code for it already? Feb 09 23:38:46 All the code I have is upstream Feb 09 23:39:55 The WCMP id is described in 23.040, what is inside I simply don't care about today Feb 09 23:40:28 okay... Feb 10 00:53:51 denkenz: i have local implementation to use a list of free ring buffer to cache the data that written to client side. what do u think? Feb 10 00:54:53 that could work Feb 10 00:57:12 emdete: You might want to look into qt-exteded/qtopia Feb 10 00:57:19 emdete: That one has a primitive mms stack Feb 10 00:57:49 emdete: src/libraries/qtopiaphone/wap Feb 10 00:59:08 denkenz: good idea. thnx. Feb 10 01:01:14 denkenz: have you any knowledge of the samsung gt i8320? would ofono work with that one? Feb 10 01:02:43 emdete: None of us have one, so no idea. If it is at command based then most likely yes Feb 10 01:04:39 is that usb device or a phone? Feb 10 01:04:46 what os does it run if a phone Feb 10 01:05:43 denkenz: its probably not. we are working on flashing something more open to it. Feb 10 01:06:15 denkenz: its quite interesting, i think more&more its the best hw you can get today. Feb 10 01:07:29 what modem is gt i8320 using? Feb 10 01:07:35 if it uses some qualcomm protocol then it might not work Feb 10 01:07:53 nobody has specs for it Feb 10 01:08:36 zhenhua: i have no idea (now)... Feb 10 01:09:03 there is one wiki starting about it: http://h1.pargon.nl/wiki/index.php?title=Main_Page Feb 10 01:09:45 denkenz: & you may be right with qualcom if this guy is correct Feb 10 01:11:10 emdete: where are you working? Feb 10 01:11:31 tmzt: germany Feb 10 01:11:44 on irc anywhere? Feb 10 01:12:08 my goal is an ipen X based phone on available modern hardware Feb 10 01:13:03 tmzt: don't we all want that? Feb 10 01:13:33 qualcomm 62xx on the samsung, could very well be proprietary protocol just like on the Pre Feb 10 01:13:49 denkenz: meanin: no chance? Feb 10 01:13:57 tmzt: tell more.. Feb 10 01:14:26 basically no chance :) Feb 10 01:14:44 some are trying to reverse engineer Feb 10 01:14:50 but not sure how far they'll get Feb 10 01:14:56 how do u know that? cann't find any page mentioned that Feb 10 01:15:21 http://h1.pargon.nl/wiki/index.php?title=Hardware Feb 10 01:15:32 denkenz: do u have a link/url to that project? Feb 10 01:16:11 http://www.webos-internals.org/wiki/Portal:Research Feb 10 01:17:14 what does the second page for? Feb 10 01:17:24 nothing related with 62xx Feb 10 01:17:42 hack for pre? Feb 10 01:17:56 the pre also runs msm 62xx I believe Feb 10 01:18:50 we have a local cdma palm pre but not one use it now... Feb 10 01:34:21 qualcomm could be anything fro AT muxed or not, qmi, to completely custom Feb 10 01:34:41 more about what? Feb 10 01:40:40 tmzt: your goal. your interpretation of "open"... Feb 10 01:44:06 a fairly generic linux workstation that happens to be a phone Feb 10 01:45:12 open can mean everything for license (oss/fsf approved) to customizability to familiarity to desktop users and the ability to install packages without rebuilding a root image Feb 10 02:40:18 padovan: ping Feb 10 02:45:52 i really don't understand how current hfp.c could work. Feb 10 02:46:24 i got seg fault immediately in hfp_register_ofono_handsfree Feb 10 02:48:52 zhenhua: pong Feb 10 02:49:09 padovan: so we should not have any thing in modem.conf Feb 10 02:49:11 right? Feb 10 02:49:35 zhenhua: yes, we don't need modem.conf anymore Feb 10 02:50:06 when i used my original way to have Driver=hfp in modem.conf, i will got crash Feb 10 02:50:29 shall we add check in hfp_register_ofono_handsfree(). Feb 10 02:50:39 if (!data->handsfree_path) Feb 10 02:50:39 return -EINVAL; Feb 10 02:50:44 here data is 0x0 Feb 10 02:53:56 zhenhua: I can't see why we have hfp.c called when we have Driver=hfp in modem.conf Feb 10 02:54:48 padovan: i used wrong way to enable hfp drvier when ofono is started. Feb 10 02:55:29 padovan: when ofono daemon start up, it will load hfp driver automatically. **** ENDING LOGGING AT Wed Feb 10 02:59:58 2010