**** BEGIN LOGGING AT Wed Dec 09 02:59:57 2009 Dec 09 03:06:34 holtmann: do you know how to create a pseudo tty device in user space? Dec 09 03:15:55 man openpty Dec 09 04:11:16 zhenhua1: I don't see how release_specific is supposed to work Dec 09 04:11:41 is there a poll somewhere? Dec 09 04:19:03 denkenz: i tested on iphone, and we will get chld update when you release a call in three way calls Dec 09 04:19:33 chld update? Dec 09 04:19:41 you mean callheld switches to 0? Dec 09 04:19:50 right Dec 09 04:20:03 can u give an example that doesn't work Dec 09 04:20:20 we only use release_specific when call num > 1 Dec 09 04:20:37 No I'm just wondering what triggers the poll Dec 09 04:20:43 So today its triggered by callheld=0 Dec 09 04:20:52 also callheld=1 Dec 09 04:20:52 which polls clcc Dec 09 04:21:30 yep ok Dec 09 04:22:41 so... Dec 09 04:22:45 is that ok? Dec 09 04:24:48 in callheld=2, all calls are held. so no call has been released before. Dec 09 04:25:40 yep its fine Dec 09 04:25:44 The 3rd patch... Dec 09 04:26:05 yes Dec 09 04:26:05 in poll_clcc you don't reset clcc_source to 0 Dec 09 04:26:21 ops. good catch Dec 09 04:26:38 you're right. Dec 09 04:26:58 also Dec 09 04:27:10 + if (nc) { Dec 09 04:27:12 + if (nc->status == CALL_STATUS_ACTIVE) Dec 09 04:27:13 + num_active++; Dec 09 04:27:15 + Dec 09 04:27:16 + if (nc->status == CALL_STATUS_HELD) Dec 09 04:27:18 + num_held++; Dec 09 04:27:19 + } Dec 09 04:27:21 + Dec 09 04:27:23 I would probably prefer if (nc && nc->status...) Dec 09 04:27:29 than a nested if Dec 09 04:27:31 no probs Dec 09 04:29:04 any others Dec 09 04:29:08 how about patch 4 Dec 09 04:29:56 I actually think that is useless Dec 09 04:30:01 But it doesn't hurt Dec 09 04:30:37 Actually.. Dec 09 04:30:46 The problem with CLIP is the broken devices Dec 09 04:30:53 in case the phone doesn't have CLIP Dec 09 04:30:55 I'd rather not poll those Dec 09 04:31:14 Especially your weird LG device that messes with call IDs Dec 09 04:31:19 but you cannot receive incoming update Dec 09 04:31:21 heh Dec 09 04:31:58 anyway, you can decide accept or not. i am fine. Dec 09 04:31:59 we don't, we track callsetup Dec 09 04:32:11 We don't poll from RING Dec 09 04:33:01 However, we must notify the call in case the CLIP never arrives Dec 09 04:33:16 So modify patch 4 to do that Dec 09 04:34:48 you poll from callsetup=1 ? Dec 09 04:35:26 what's difference Dec 09 04:36:05 nope Dec 09 04:36:08 callsetup=1 is ignored Dec 09 04:37:08 we notify call in CLIP. so how do you notify call without CLIP Dec 09 04:44:54 do the same CLIP_TIMEOUT thingy Dec 09 04:45:04 just don't poll, but instead notify the call as is Dec 09 04:45:11 its created with unknown caller Dec 09 04:45:44 simply find incoming call and notify Dec 09 04:47:12 might want to make the timeout just a tad bigger, like 500 Dec 09 04:50:37 ok. i understand your point Dec 09 04:51:02 for the patch I just send out. the patch number should be 3/4 instead of 3/3 in attachment. Dec 09 04:52:57 drivers/hfpmodem/voicecall.c: In function ?hfp_release_specific?: Dec 09 04:52:58 drivers/hfpmodem/voicecall.c:532: error: ?req? may be used uninitialized in this function Dec 09 04:53:16 let me check Dec 09 04:54:11 ops. will fix that. Dec 09 04:57:02 Ok, resubmit #1, get me a CLIP patch as discussed and I think we got the protocol part done Dec 09 04:57:31 Now just need audio Dec 09 04:58:53 that's great Dec 09 05:37:25 zhenhua1: Patch 4, don't resuse clcc_source for clip, just pick another variable Dec 09 05:40:49 and make sure to remove the source in _remove Dec 09 05:48:24 denkenz: if so, i have to add a varialbe in voicecall_data again Dec 09 05:49:07 something like clip_source Dec 09 05:49:12 is that ok? Dec 09 05:51:18 yep Dec 09 05:51:32 again. why not reuse clcc_source? Dec 09 05:51:58 if it's incoming call, we are safe because only one incoming call allowed Dec 09 05:53:36 maybe we can rename it to something like 'timer' or others Dec 09 05:54:52 Remember, code should be clear and readable Dec 09 05:55:10 wasting extra 4 bytes is a small price to pay Dec 09 05:55:40 ...ok. Dec 09 05:57:36 And it is actually safer Dec 09 05:57:47 Think of the end all case where a call goes from waiting to ringing Dec 09 06:01:26 i have resend the patch. even if waiting to ringing, i don't see the problem. Dec 09 06:05:15 I know the variables don't overlap, but in 6 months you'll forget, make the code readable from the very beginning Dec 09 06:31:30 holtmann, denkenz, we have a new different modem desc on my f3607 modem on Samos platform. That make the modem can not be detected, just like my f3507 card issue. Dec 09 06:31:52 so submit the id Dec 09 06:32:29 This is getting silly though Dec 09 06:32:33 How many IDs do they have :P Dec 09 06:35:21 denkenz, I will submitted the patch soon. Dec 09 06:40:16 denkenz, I think we need to add string table to hold these IDs, so it is convenient for us the add new ID. Dec 09 06:40:28 that is probably a good idea Dec 09 07:18:03 denkenz, forget the set git_config on my Samos platform. ;-), So the author of the patch is Root. Will resend it. sorry. Dec 09 09:44:11 'giorno giovani!!!! Dec 09 09:44:18 come va la nuova esperienza domestica??? Dec 09 09:44:19 :D Dec 09 09:44:32 ooops! Dec 09 09:45:34 sorry **** ENDING LOGGING AT Mon Dec 14 23:56:40 2009