**** BEGIN LOGGING AT Fri Dec 04 02:59:57 2009 Dec 04 14:31:57 holtmann, denkenz, git://git.infradead.org/users/cktakahasi/bluez.git telit branch contains the BlueZ SimAccess client implementation based on our discussion. It is similar to HandsfreeGateway and HandsfreeAgent you proposed. Dec 04 14:37:24 denkenz, There is only one difference, I replaced Release by Disconnect since we need to address "graceful" SAP disconnection. Do we need Release method in the agent interface? Maybe only to address the case that bluetoothd exits Dec 04 16:17:09 gnu: lev: panic on oops? if your on g1 try mtd panic if ramconsole one doesn't work. ask in #android they should at least help us with that Dec 04 16:17:13 it's their code Dec 04 16:47:24 krau: What is this graceful disconnect ? Dec 04 16:47:54 krau: AFAIK oFono can listen on IO_HUP IO_ERR on the socket, isn't that equivalent? Dec 04 16:51:57 padovan: Check out Claudio's git, that should get you well on your way for HFP Dec 04 16:56:41 I'll get them in the other channel, didn't mean to take this place over anyway Dec 04 16:56:47 denkenz, we can't simply close the socket, it is recomended send SAP DISCONNECT_REQ. Probably this message is sent when the AT command to disable remote sap is sent. Dec 04 16:57:21 Ah, ok Dec 04 16:57:24 That makes sense Dec 04 16:57:33 I'd still keep the Release method though Dec 04 16:58:14 Also, it should be oFono who shuts down the link through use of Powered=False Dec 04 16:58:51 denkenz, but when call Release? Before bluetoothd/sim access client exits? Dec 04 16:59:10 Suppose you remove the paired device? Dec 04 16:59:30 yep, I forgot this case Dec 04 17:00:04 fine, I will add Release method Dec 04 17:00:29 Btw, we're not even sure what Release does for HFP ;) Dec 04 17:00:43 I think jhe wanted it for consistency, but its been a while since that discussion Dec 04 17:00:57 denkenz: ok, taking a look at it now. :) Dec 04 17:01:20 For HFP we don't need any graceful disconnect, since we can just close the socket Dec 04 17:01:56 I suspect that this might be the case for SAP too Dec 04 17:02:05 If you want to disconnect properly, use oFono Dec 04 17:02:30 Otherwise we treat it like forcing breaking the link of the rfcomm channel Dec 04 17:03:16 ok, we will see when we start the tests Dec 04 17:03:27 Nod, just we might get into weird situations where: Dec 04 17:03:53 external app -> BlueZ.Sap.Disconnect -> ofono.Disconnect -> BlueZ.Sap.Disconnect, etc :) Dec 04 17:08:34 looping? I am not following, why oFono is calling BlueZ.Sap.Disconnect? For Powered=false Unregister agent should be called Dec 04 17:09:25 anyway, this modification is simple, we can figure out when we start the tests in the hw Dec 04 17:09:52 No, for Powered=False from oFono we actually have to call Disconnect Dec 04 17:10:33 oFono will take care of sending the SAP DISCONNECT_REQ Dec 04 17:11:02 Just like oFono has to call Connect too Dec 04 17:11:07 hi folks Dec 04 17:11:20 I've got a problem developing msm_snd-driver Dec 04 17:11:24 http://pastebin.com/m3dd0aa18 Dec 04 17:11:30 lin 664 Dec 04 17:11:54 does someone have an idea, what select is ment to do there? Dec 04 17:12:06 I know, that it waits for data to be ready Dec 04 17:12:51 he's asking if another method would be better Dec 04 17:13:02 you're waiting on a single fd? Dec 04 17:13:15 I suspect this is the wrong channel Dec 04 17:13:33 oh sorry is there a better one? Dec 04 17:13:52 no good general unix place where people ask questions Dec 04 17:14:05 we're just trying to get ofono working on our hardware Dec 04 17:14:13 ask/answer questions Dec 04 17:15:23 you still working on g1 den or who was that? Dec 04 17:15:51 dilinger Dec 04 17:15:53 I don't have a g1 Dec 04 17:15:56 right d/d Dec 04 17:16:34 krau: Anyway, lets figure it out once we have the hardware Dec 04 17:16:47 krau: I'm supposed to have 2 uc864 devices on order Dec 04 17:19:21 denkenz, fine. The Disconnect is a minor detail when can discuss it again when we receive the hw. Dec 04 23:36:52 booklet: 0x0c45 0x6409 Dec 04 23:38:25 Bluetooth Device (RFCOMM Protocol TDI) Dec 04 23:38:49 the fisrt one is a composite device but I don't see individuaol enumerated serial devices Dec 05 00:09:10 holtmann: http://pastebin.ca/1702519 Dec 05 01:15:24 hey guys - what was the protocol that the modem in the n900 uses called again? Dec 05 01:17:09 ah i was searching for ISI Dec 05 02:16:37 denkenz: Looks good. Like that. Dec 05 02:44:16 Ok pushed Dec 05 02:55:22 Why are you bothering with SIGPIPE? **** ENDING LOGGING AT Sat Dec 05 02:59:57 2009