Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #385 (new defect)

Opened 4 years ago

Last modified 3 years ago

late "+CGEV: ME DEACT" can wake up phone immediately after suspend

Reported by: lindi Owned by: mickey
Priority: minor Milestone:
Component: framework/ogsmd Version:
Keywords: Cc:

Description

If I stop gprs and put phone to suspend it sometimes wakes up since it receives late

Mar 17 23:00:28 ginger ogsmd.channel DEBUG    <UnsolicitedResponseChannel via /dev/pts/2>: got 44 bytes: '\r\n+CGEV: ME DEACT "IP","085.077.213.043",1\r\n'

I am polling for pppd to exit and waiting 10 seconds after that but it does not seem to always help.

Proposed solution: How about sending a signal when gprs connection has been cracefully shut down so that I could

1) org.freesmartphone.GSM.PDP.DeactivateContext? 2) wait for signal 3) initiate suspend

and be sure that phone won't wake up immediately?

version info

kernel: Linux ginger 2.6.28-GTA02_lindi-andy-tracking_b8b36e5ec3db71d5-mokodev #53 PREEMPT Sun Feb 22 13:08:50 UTC 2009 armv4tl GNU/Linux
kernel cmdline: rootfstype=jffs2 root=/dev/mtdblock6 console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs) rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5 panic=10 mem=127M
gsm0710muxd: abcbcd7cc532a8834906de3fc24c8f8fe7643cd4
frameworkd: e6c36e917cc75809f60fa587b68bbf6be0c5bf58
u-boot: U-Boot 1.3.2+gitr46+dc633f4be2527f844158aa5085c278b0c3039d3f (Aug  8 2008 - 03:58:49)
xglamo: 1.3.0.0+git20080807-3
distro: debian gnu/linux unstable
dialer: kapula Thu Feb 5 02:10:58 EET 2009 timo.lindfors@iki.fi
gsm firmware: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11b1
hardware revision:  0350

Attachments

OK-on-misc-channel-wakes-up.log (7.5 KB) - added by lindi 4 years ago.
log where "OK" on misc channel wakes the phone up

Change History

comment:1 Changed 4 years ago by lindi

Could you perhaps send a signal gprs connection has been properly shut down? This late

+CGEV: ME DEACT "IP","085.076.212.009",1

is sometimes very late and wakes the phone up if it has already gone to suspend.

Changed 4 years ago by lindi

log where "OK" on misc channel wakes the phone up

comment:2 Changed 3 years ago by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin

Note: See TracTickets for help on using tickets.