Selon Michael 'Mickey' Lauer <mic...@vanille-media.de>: > Due to the minimal amount of responses (thanks Alain!), I now have > merged the ogsmd-new-timeout branch to master.
Thanks. > > Alain2210: > > I have tried this on my EZX E680, with the "usual" patch for mediator.py > > (I put it in attachement) > > Ah right, that needs mergin. When you will have some time. > > > With this zhone and framework are working (with a adapted frameworkd.conf). > > But I still get some unhandled messages : > > 1) The phonebook : the OK answer is not send by the modem so frameworkd say > that > > there is a TIMEOUT and after that say that > > WARNING UNHANDLED INTERMEDIATE: +CPBR: > > 1,"888",129,"005F006D006500730073006100670065007200690065" > > That's interesting. Could you paste the whole debug logs? Sure : 2009.03.03 19:59:04 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: sending 22 bytes: 'AT+CPBS="SM";+CPBR=?\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 30 bytes from: '\r\n+CPBR: (1-250),20,14\r\n\r\nOK\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: COMPLETED 'AT+CPBS="SM";+CPBR=?' => ['+CPBR: (1-250),20,14', 'OK'] 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: sending 11 bytes: 'AT+CMGL=4\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 19 bytes from: '\r\n+CMS ERROR: 302\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: COMPLETED 'AT+CMGL=4' => ['+CMS ERROR: 302'] 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: sending 26 bytes: 'AT+CPBS="SM";+CPBR=1,250\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 69 bytes from: '\r\n+CPBR: 1,"888",129,"005F006D006500730073006100670065007200690065"\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 73 bytes from: '\r\n+CPBR: 2,"221",129,"005F0073007500690076006900200063006F006E0073006F"\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 77 bytes from: '\r\n+CPBR: 3,"224",129,"005F00720065006300680061007200670065006D0065006E0074"\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 77 bytes from: '\r\n+CPBR: 4,"833",129,"005F0073006500720076002E0063006C00690065006E00740073"\r\n' 2009.03.03 19:59:05 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 77 bytes from: '\r\n+CPBR: 5,"225",129,"005F0076006F0074007200650020006E0075006D00E90072006F"\r\n' 2009.03.03 19:59:10 otimed INFO offsets: n=1 mean=-24.513034 sd=0.000000 2009.03.03 19:59:10 otimed INFO adjusting clock by -24.513034 seconds 2009.03.03 19:58:56 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: TIMEOUT 'AT+CPBS="SM";+CPBR=1,250' => ??? 2009.03.03 19:58:56 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 9 bytes from: '\r\nERROR\r\n' 2009.03.03 19:58:56 ogsmd.modems.abstract.channel WARNING UNHANDLED INTERMEDIATE: +CPBR: 1,"888",129,"005F006D006500730073006100670065007200690065" 2009.03.03 19:59:17 ogsmd.channel WARNING <CallChannel via /dev/mux2>: Got unicode input. Trying to convert to plain string... (I did only some clean up) By the way, I have 4 phonebooks : SM, FD, ON et SD. But frameworkd does not know two of it. > I did not have > the chance to test much on OpenEZX, since i'm kind of disappointed by > our lack of UI [Zhone used to work on QVGA, it no longer does, so we're > back to square 2 with regards to a release...). With MS5.5 branch of oe, I have a working zhone. > > Anyways, I'll take it with me on vacation next week and will spend some > quality time getting the middleware finished (as far as kernel permits). Thanks. > > > <CallChannel via /dev/mux2>: got 253 bytes from: '\r\n+CMT: > > 111\r\n079133860940... (truncated for this mail) > > the sms is not decoded and after that I get > > Daniel would be interested in that. Do you have the full PDU? (or even > better the whole log...). > Sure again : 2009.03.03 19:59:33 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 253 bytes from: '\r\n+CMT: 111\r\n07913386094000F00405851210F83900903030120061406CC13A08367BC166A0304816D3C160A0E99B4D2E83C6EF369C5E06C9CB6374587E2E87C5EC3208A40395E1F5F4BC0CB2BEEB7310FC5DB797F52079798C0ECBCF6539C8FEA6CBCBA0F1BB0DA79741F3BA1C249697D37A74FB2D4EB3CBAEF1BB0D\r\n' 2009.03.03 19:59:33 ogsmd.modems.abstract.channel WARNING UNHANDLED INTERMEDIATE: The previous lines in log are the fact I'm calling a number that generate this SMS : 2009.03.03 19:59:17 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: sending 9 bytes: 'ATD221;\r\n' 2009.03.03 19:59:17 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 6 bytes from: '\r\nOK\r\n' 2009.03.03 19:59:17 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: COMPLETED 'ATD221;' => ['OK'] 2009.03.03 19:59:18 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 19 bytes from: '\r\n+CCTP: 1, "221"\r\n' 2009.03.03 19:59:18 ogsmd.modems.abstract.channel WARNING UNHANDLED INTERMEDIATE: +CCTP: 1, "221" 2009.03.03 19:59:18 ogsmd.channel DEBUG <UnsolicitedResponseChannel via /dev/mux0>: got 14 bytes from: '\r\n+CIEV: 6,2\r\n' 2009.03.03 19:59:18 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 14 bytes from: '\r\n+CIEV: 6,2\r\n' 2009.03.03 19:59:18 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 14 bytes from: '\r\n+CIEV: 6,2\r\n' 2009.03.03 19:59:21 ogsmd.channel DEBUG <UnsolicitedResponseChannel via /dev/mux0>: got 11 bytes from: '\r\n+ALERT \r\n' 2009.03.03 19:59:21 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 28 bytes from: '\r\n+CIEV: 5,1\r\n\r\nCONNECT: 1\r\n' 2009.03.03 19:59:21 ogsmd.modems.abstract.channel WARNING UNHANDLED INTERMEDIATE: 2009.03.03 19:59:21 ogsmd.channel DEBUG <UnsolicitedResponseChannel via /dev/mux0>: got 42 bytes from: '\r\n+CIEV: 6,3\r\n\r\n+CIEV: 3,1\r\n\r\n+CIEV: 6,0\r\n' 2009.03.03 19:59:21 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: sending 9 bytes: 'AT+CLCC\r\n' 2009.03.03 19:59:21 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 42 bytes from: '\r\n+CIEV: 6,3\r\n\r\n+CIEV: 3,1\r\n\r\n+CIEV: 6,0\r\n' 2009.03.03 19:59:21 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 42 bytes from: '\r\n+CIEV: 6,3\r\n\r\n+CIEV: 3,1\r\n\r\n+CIEV: 6,0\r\n' 2009.03.03 19:59:22 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 36 bytes from: '\r\n+CLCC: 1,1,0,0,0,"221",129\r\n\r\nOK\r\n' 2009.03.03 19:59:22 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: COMPLETED 'AT+CLCC' => ['+CLCC: 1,1,0,0,0,"221",129', 'OK'] 2009.03.03 19:59:22 ogsmd.device INFO org.freesmartphone.GSM.Call.CallStatus: 1 active {'status': 'active'} 2009.03.03 19:59:31 ogsmd.channel DEBUG <UnsolicitedResponseChannel via /dev/mux0>: got 16 bytes from: '\r\n+CESS: 3, 14\r\n' 2009.03.03 19:59:32 frameworkd.controller DEBUG alive and kicking 2009.03.03 19:59:32 ogsmd.channel DEBUG <UnsolicitedResponseChannel via /dev/mux0>: got 31 bytes from: '\r\n+CIEV: 5,0\r\n\r\nNO CARRIER: 1\r\n' 2009.03.03 19:59:32 ogsmd.modems.abstract.channel WARNING UNHANDLED INTERMEDIATE: NO CARRIER: 1 2009.03.03 19:59:32 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 14 bytes from: '\r\n+CIEV: 5,0\r\n' 2009.03.03 19:59:32 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 14 bytes from: '\r\n+CIEV: 5,0\r\n' 2009.03.03 19:59:32 ogsmd.channel DEBUG <UnsolicitedResponseChannel via /dev/mux0>: got 14 bytes from: '\r\n+CIEV: 3,0\r\n' 2009.03.03 19:59:32 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: sending 9 bytes: 'AT+CLCC\r\n' 2009.03.03 19:59:32 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 14 bytes from: '\r\n+CIEV: 3,0\r\n' 2009.03.03 19:59:32 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 14 bytes from: '\r\n+CIEV: 3,0\r\n' 2009.03.03 19:59:33 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: got 8 bytes from: '\r\n\r\nOK\r\n' 2009.03.03 19:59:33 ogsmd.channel DEBUG <MiscChannel via /dev/mux6>: COMPLETED 'AT+CLCC' => ['OK'] 2009.03.03 19:59:33 ogsmd.device INFO org.freesmartphone.GSM.Call.CallStatus: 1 release {'status': 'release'} 2009.03.03 19:59:33 ogsmd.channel DEBUG <CallChannel via /dev/mux2>: got 253 bytes from: '\r\n+CMT: 111\r\n07913386094000F00405851210F83900903030120061406CC13A08367BC166A0304816D3C160A0E99B4D2E83C6EF369C5E06C9CB6374587E2E87C5EC3208A40395E1F5F4BC0CB2BEEB7310FC5DB797F52079798C0ECBCF6539C8FEA6CBCBA0F1BB0DA79741F3BA1C249697D37A74FB2D4EB3CBAEF1BB0D\r\n' 2009.03.03 19:59:33 ogsmd.modems.abstract.channel WARNING UNHANDLED INTERMEDIATE: Thanks for the help. Sincerely, Alain _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland