**** BEGIN LOGGING AT Wed Nov 24 02:59:58 2010 Nov 24 03:28:07 :holtmann, For the RAT in ofono, I didn't find it at network interface, does mean it support at setting sms Bearer ? Nov 24 13:36:07 holtmann: do you know the difference between umts and gsm frequencies? Nov 24 13:36:54 i'm implementing the freq. band selection, and having and interface to set it to "850", "900", "1900", doesn't seem sufficient Nov 24 13:37:39 e.g. 850 could mean gsm or umts Nov 24 13:49:03 akiniemi: checked your fix for the call forwarding erasure case Nov 24 13:53:14 demarchi: So I think the way we do this is to separate the GSM and UMTS bands Nov 24 13:53:22 http://en.wikipedia.org/wiki/UMTS_frequency_bands Nov 24 13:53:32 http://en.wikipedia.org/wiki/GSM_frequency_bands Nov 24 13:54:22 denkenz: but then implicitly we would have to set the mode too Nov 24 13:56:06 Nah, I don't think so Nov 24 13:56:26 Let the modem figure this out Nov 24 13:56:46 denkenz: so, you are saying that instead of "850", I'll have "U850" and "G850"? Nov 24 13:57:58 we have 14 gsm bands and 14 umts bands Nov 24 13:58:22 So we can just do two properties Nov 24 14:03:06 denkenz: GsmBand and UmtsBand? Nov 24 14:03:32 Sounds good Nov 24 14:03:50 but they would overwrite themselves Nov 24 14:04:53 e.g. if i set GsmBand and after UmtsBand, when I try to get() the value of GsmBand, it will be invalid Nov 24 14:05:38 why do you say that? Nov 24 14:08:36 at least in huawei modem, the freq. band (be it gsm or umts) is set by the same command Nov 24 14:23:22 so just have one driver method set both of them Nov 24 14:23:44 something like set_freq_bands(enum umts_bands, enum gsm_bands) or something Nov 24 14:26:02 are there any news on enabling GPS in ofono? Nov 24 14:26:40 Check if the task has an owner Nov 24 14:26:53 If there isn't one, then nobody is working on it Nov 24 14:27:59 denkenz: where can i check that? Nov 24 14:28:05 git / TODO Nov 24 14:28:13 denkenz: voicecallmanager-api.txt doesn't have GetProperties() Interface, is this removed intentionally from document? Nov 24 14:29:02 aruravi: For cdma one? probably an oversight Nov 24 14:29:13 for GSM/UMTS also Nov 24 14:29:58 Then yes, it is a bug Nov 24 14:30:20 I will submit a patch Nov 24 14:30:25 cool, thanks Nov 24 14:32:43 denkenz: i'm not convinced yet Nov 24 14:33:03 denkenz: in the modem it's the same "property" Nov 24 14:33:08 demarchi: what exactly? About having a single method? Nov 24 14:33:21 Then see call-forwarding atom Nov 24 14:33:50 VoiceNoReply and VoiceNoReplyTimeout are handled this way Nov 24 14:34:16 denkenz: e.g. if i set a value of 0x400, it means umts 850MHz; if i give it a value of 0x123 it means gsm 850Mhz Nov 24 14:34:57 No, give the driver both sets and let it figure it out Nov 24 15:10:23 denkenz: I just mailed the doc update patch. Nov 24 16:32:01 denkenz: does OFONO_TEXT_TELEPHONY_INTERFACE remain as you applied or do I rename it? Nov 24 16:32:20 same question wrt OFONO_ATOM_TYPE_TEXT_TELEPHONY Nov 24 16:40:47 yeah, that part is fine Nov 24 16:41:41 The atom type should be type_ctm Nov 24 17:01:24 ok Nov 24 17:20:41 hi all Nov 24 17:21:11 I am trying to use my usb 3g datacard with ofono Nov 24 17:21:14 but no success Nov 24 17:21:31 it's generic AT command based modem Nov 24 17:21:50 the device was not working with ModemManager Nov 24 17:22:13 but as the device was not switched to usb_modeswitch Nov 24 17:22:23 after some tweeks Nov 24 17:22:36 I managed to switch the device to modem mode Nov 24 17:22:52 and then was working perfect with modem-manager Nov 24 17:23:10 now I want to see how it can be used with ofono Nov 24 17:23:22 as it's an AT command based modem Nov 24 17:23:28 it should work out of the box Nov 24 17:23:37 but it's not Nov 24 17:25:04 I tried with latest ofono sources from git (maintainer mode) Nov 24 17:25:04 and then when I run ./test/list-modems Nov 24 17:25:04 returns nothing Nov 24 17:25:04 I also tried different options in udev rules Nov 24 17:25:04 but no success Nov 24 17:27:51 you can see the lsusb output here Nov 24 17:27:52 https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch-data/+bug/673459/+attachment/1743728/+files/lsusb.txt Nov 24 17:28:42 usb_modeswitch will switch the device to configuration no 3 Nov 24 17:36:47 demarchi, akiniem, akiniemi: any help? Nov 24 17:41:00 hi mr_amit I can't help as I'm a complete ofono novice, but that device you have looks to have some very interesting interfaces described in lsusb. What manufacter and model is it? Nov 24 17:41:12 mr_amit: what is the output of "dmesg | grep tty" ? Nov 24 17:43:15 calypsoscomforts: it's a Linktop device distributed by Teracom (Linktop LW273) Nov 24 17:45:41 thanks, maybe your device is not bound to a suitable driver (option etc) Nov 24 17:47:21 calypsoscomforts: I tried hso, mbm and atmodem driver using udev rule Nov 24 17:47:21 demarchi: http://paste.pocoo.org/show/295558/ Nov 24 17:48:03 do you think, as this device has lot more interfaces then just modem Nov 24 17:48:16 it might require a custom driver? Nov 24 17:52:10 mmm, demarchi's dmesg seems to suggest that there's hope in it being an ACM device. Perhaps /dev/ttyACM0 or 1 are functional. Anyway as I said I know nothing about ofono, being a previous Betavine guy, but I'm lurking here hoping to get up to speed with ofono so I can use on an embedded project Nov 24 21:01:58 finally I managed to use my Linktop usb dongle with ofono! Nov 24 21:02:46 however, I am not sure whether it's the proper method Nov 24 21:03:03 as this device has 8 interfaces Nov 24 21:03:34 two of them are modems, one for phone controll Nov 24 21:03:55 and rest are for modem audio Nov 24 21:03:59 not sure though Nov 24 21:04:19 I used nokia driver as starting point Nov 24 21:04:29 and it activated both the device Nov 24 21:28:35 denkenz: ? Nov 24 21:37:27 Jeevaka: yes? Nov 24 21:39:33 I got the answer in your latest email but anyway I'll ask my question Nov 24 21:41:10 in call-forwarding.c, set_query_cf_callback we have one if loop which sends the reply and another if loop continues the query when the end is not reached Nov 24 21:41:25 denkenz: Not sure if I can restore the modem state in the silent reset, because when ofono_modem_reset is call is already down. Nov 24 21:41:36 Then we don't know its last state Nov 24 21:41:57 Unless I add a modem->last_state there. Nov 24 21:42:50 I was thinking of moving the if loop below the set_new_cond_list and making it as if-else loop Nov 24 21:43:24 padovan: Except you don't signal modem_powered Nov 24 21:43:45 padovan: Simply call _reset and that way you know your previous state Nov 24 21:44:26 Jeevaka: For multiple properties I think this is the necessary evil Nov 24 21:44:44 Unless we plan to save them up and signal them at the end Nov 24 21:44:45 denkenz: Yeah, that could work out, I was calling ofono_modem_set_powered(FALSE) before call _reset Nov 24 21:50:29 any comments on the patch call-forwarding: skip property change data and fax Nov 24 22:18:04 denkenz: don't signal the modem_powered doesn't help, actually it make reset stop to work properly. Nov 24 22:18:29 if I don't change the state to POWER_OFF I won't get pre_sim called Nov 24 22:38:07 padovan: So I suggest setting the powered state in the silent reset notification Nov 24 23:08:06 denkenz: what do you mean by setting the powered state in the silent reset notification? set powered to false inside phonesim plugin? Nov 25 01:01:27 denkenz: For time and lang in provide local info, do we need to ask the terminal to return the time and lang? **** ENDING LOGGING AT Thu Nov 25 02:59:58 2010