**** BEGIN LOGGING AT Thu Mar 04 02:59:58 2010 Mar 04 10:46:05 Hi denkenz Mar 04 10:46:22 I did some deeper tests Mar 04 10:47:01 and found version 0.16 working properly (I used a "normal" SHR kernel to avoid random behaviours) Mar 04 10:47:35 while 0.17 and 0.18 not working (it detects the modem but is not able to power up it) Mar 04 10:47:56 is there somewhere in the code I could investigate and maybe provide a patch? Mar 04 10:48:46 I did a simple diff by tags between 0.16 and 0.17 but the code changed a lot so I don't wanto to touch something that could break aother funciontalities Mar 04 10:48:50 thank you in advance Mar 04 10:52:13 following is the log of ofonod -n -d '*' with OFONO_AT_DEBUG=1 Mar 04 10:53:13 when sending this command: dbus-send --system --dest=org.ofono --type=method_call --print-reply /freerunner org.ofono.Modem.SetProperty string:'Powered' variant:boolean:'true' Mar 04 10:53:30 ofonod[2123]: plugins/calypso.c:write_file() /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on, 0 Mar 04 10:53:30 ofonod[2123]: plugins/calypso.c:write_file() /sys/bus/platform/devices/neo1973-pm-gsm.0/reset, 0 Mar 04 10:53:30 ofonod[2123]: plugins/calypso.c:write_file() /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on, 1 Mar 04 10:53:30 ofonod[2123]: plugins/calypso.c:write_file() /sys/bus/platform/devices/neo1973-pm-gsm.0/reset, 1 Mar 04 10:53:30 ofonod[2123]: plugins/calypso.c:write_file() /sys/bus/platform/devices/neo1973-pm-gsm.0/reset, 0 Mar 04 10:53:31 ofonod[2123]: plugins/calypso.c:modem_initialize() Mar 04 10:53:33 ofonod[2123]: src/modem.c:get_modem_property() modem 0x74a28 property Device Mar 04 10:53:35 ofonod[2123]: Setup: > AT\r Mar 04 10:53:37 ofonod[2123]: Setup: Wakeup got no response Mar 04 10:53:39 ofonod[2123]: Setup: > AT\r Mar 04 10:53:41 ofonod[2123]: Setup: < AT\r\r\nOK\r\n Mar 04 10:53:43 ofonod[2123]: Setup: Finally woke up the modem Mar 04 10:53:45 ofonod[2123]: Setup: > ATE0\r Mar 04 10:53:47 ofonod[2123]: Setup: < ATE0\r Mar 04 10:53:49 ofonod[2123]: Setup: < \r\nOK\r\n Mar 04 10:53:51 ofonod[2123]: Setup: > AT+CMUX=?\r Mar 04 10:53:53 ofonod[2123]: Setup: < \r\n+CMUX: (1),(0),(1-5),(10-100),(1-255),(0-100),( Mar 04 10:53:55 ofonod[2123]: Setup: < 2-255),(1-255),(1-7)\r\n\r\nOK\r\n Mar 04 10:53:57 ofonod[2123]: Setup: > AT+CMUX=1,0,5,64\r Mar 04 10:53:59 ofonod[2123]: Setup: < \r\nOK\r\n Mar 04 10:54:01 ofonod[2123]: plugins/calypso.c:mux_setup() 0x75f28 Mar 04 10:54:03 ofonod[2123]: DLC3: > AT\r Mar 04 10:54:05 ofonod[2123]: DLC0: < AT-Command Interpreter ready\r\n Mar 04 10:54:07 ofonod[2123]: DLC1: < AT-Command Interpreter ready\r\n Mar 04 10:54:09 ofonod[2123]: DLC2: < AT-Command Interpreter ready\r\n Mar 04 10:54:11 ofonod[2123]: DLC3: < AT-Command Interpreter ready\r\n Mar 04 10:54:13 ofonod[2123]: src/modem.c:set_powered_timeout() modem: 0x74a28 Mar 04 10:54:15 the command line result is: Error org.ofono.Error.Timedout: Operation failure due to timeout Mar 04 13:19:23 denkenz: thanks for your reply yesterday. I found out, I need to connect my modem AFTER ofono is started. If I start ofono with modem connected - it doesn't work. Mar 04 15:50:16 Djdas: Try this, in src/modem.c grep for set_powered_timeout. On the line with g_timeout_add_seconds(20, change the timeout to say 30 Mar 04 15:50:42 Djdas: And see if your modem turns on, looks like the driver is running out of time Mar 04 15:50:55 ok denkenz I'll try Mar 04 15:51:24 was this changed between .16 and .17? Mar 04 15:51:59 I don't think so, nothing was changed that would affect this Mar 04 15:52:27 It could also be we need to wait for "AT Interpreter Ready" BS before sending anything Mar 04 15:52:38 But the current way worked before... Mar 04 15:52:44 well you can try on you FR by downloading this image: http://neophysis.sourceforge.net/images/armeniacum-nde_20100304.tgz Mar 04 15:52:56 this is running 0.16 Mar 04 15:53:26 you can simply overwrite ofonod (in /usr/sbin) with 0.17 or 0.18 Mar 04 15:53:42 this is the new distribution based on ofonom the dialer should work Mar 04 15:53:54 and you can find the 2 kernels I used to do my tests Mar 04 15:53:56 in /boot Mar 04 15:54:10 I doubt the kernel should affect it, only the modem firmware Mar 04 15:54:19 moko11 as ever Mar 04 15:54:41 well I supposed the kernel when I asked you some days ago Mar 04 15:55:09 but with another team member we did deep tests and discovered was ofono since 0.17 Mar 04 15:56:20 I'll try to patch the timeout and will do tests with all the FRs of the other team members to collect as many tests as possible Mar 04 15:58:07 thank you very much I'll let you know in the next days Mar 04 15:58:29 Djdas: I'll try to do some testing here too, but I don't think anything changed in 0.17 to cause this Mar 04 16:03:58 denkenz, thank you. If it could be useful I noticed running with -n it sometimes work, while in daemon mode it won't **** ENDING LOGGING AT Fri Mar 05 02:59:58 2010