Qtmoko v52-armhf : Issue to resume

Radek Polak psonek2 at seznam.cz
Tue Feb 12 14:53:52 CET 2013


On Tuesday, February 12, 2013 07:58:43 AM Adrien Dorsaz wrote:

> Hello,
> 
> Le vendredi 08 février 2013 à 17:37 +0100, Radek Polak a écrit :
> > On Friday, February 08, 2013 04:08:06 PM Adrien Dorsaz wrote:
> > > Hello!
> > > 
> > > I've noticed two issues when I resume my phone from suspend :
> > >       * Sometimes my screen kept black and I'm only able to shut down
> > >       my
> > >       
> > >         phone with power button (I didn't have my computer at these
> > >         times, so I don't know if I was able to connect with ssh)
> > >       
> > >       * Sometimes the screen display the last qtmoko image with screen
> > >       
> > >         lock, but it's stuck. Eg, now my screen dipslays 2pm (last
> > >         suspend I think), but here I'm at 3 pm now. The only one
> > >         interaction possible is to press Aux and see the "^@" strings
> > >         displayed.
> > 
> > Hmm i guess we need to reproduce it somehow. Maybe automatic suspend
> > resume cycles using rtc alarm could reproduce it - but IIRC i tried it
> > and had no luck.
> 
> I didn't have this issue since some days, but it appeared this morning
> again, after this situation :
>       * I'v made a call in the train
>       * An interruption appeared because the swiss gsm network in trains
>         is really bad
>       * So my correspondant called me back (she was in another train),
>         but I wasn't able to answer (I'm pretty sure it's because of our
>         gsm network again, we had same errors using proprietary phones)
>       * Finally I've called her again and we were able to finish our
>         discussion normally.
> 
> Furthermore, after each call end, I receive an SMS from my gsm operator
> to say me how many credits I've on my SIM card.
> 
> That's not really easy to reproduce...
> 
> I've straced again qpe process and I've seen same error with (Q)Debus.
> So I've stopped qtmoko-gta04 service, then I've restarted dbus service
> and started qtmoko-gta04 service again and all works fine.
> 
> I didn't think to strace dbus process, so it's not really relevant, but
> this workaround seems to work.
> 
> I hope to have this bug again to be able to produce more straces.

Right now as i was reading this mail i received SMS. It should wake the phone 
up - which happened, but the screen was black - just the LED was blinking 
indicating unread SMS.

So i plugged USB and logged in. I have checked screen brightness:

root at neo:~# cat /sys/class/backlight/pwm-backlight/brightness
0

so it looks that the brighness is not restored correctly. So i did:

root at neo:~# echo 100 > /sys/class/backlight/pwm-backlight/brightness

and the screen went all white. After some time the phone went to sleep and i 
woken it this time with AUX button and the phone is working ok now. This was 
on qtmoko v52 armel.

Attached is dmesg.

I will try to collect more info when it happens next time.

Regards

Radek


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmoko.org/pipermail/community/attachments/20130212/014294e6/attachment.htm>
-------------- next part --------------
[ 4402.448577] Restarting tasks ... done.
[ 4402.466461] td028ttec1_panel_resume()
[ 4402.818328] gta04_enable_lcd()
[ 4402.903198] mmc1: new SDIO card at address 0001
[ 4404.089141] libertas_sdio mmc1:0001:1 (unregistered net_device): 00:19:88:42:96:39, fw 9.70.7p0, cap 0x00000303
[ 4404.159912] libertas_sdio mmc1:0001:1 (unregistered net_device): PREP_CMD: command 0x00a3 failed: 2
[ 4404.181091] libertas_sdio mmc1:0001:1 wlan0: Marvell WLAN 802.11 adapter
[ 4412.688934] GPS SET to 1
[ 4412.692108] GPS SET to 1
[ 4412.694793] GPS down
[ 4412.728454] GPS up
[ 4412.744049] GPS idle
[ 4412.892608] GPS SET to 1
[ 4416.974243]  gadget: high-speed config #1: CDC Ethernet (ECM)
[ 4417.310150] twl4030_bci twl4030_bci: VBUS overvoltage
[ 4417.316375] twl4030_bci twl4030_bci: VBUS overvoltage
[ 4417.339538] twl4030_bci twl4030_bci: VBUS overvoltage
[17155.277618] PM: NOT Syncing filesystems ... td028ttec1_panel_suspend()
[17155.309204] gta04_disable_lcd()
[17155.312866] Freezing user space processes ... (elapsed 0.02 seconds) done.
[17155.341308] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
[17155.372619] Suspending console(s) (use no_console_suspend to debug)
[17155.393188] mmc1: card 0001 removed
[17155.526214] GPS off for suspend 1 1
[17155.549072] GPS SET to 0
[17155.549438] PM: suspend of devices complete after 169.433 msecs
[17155.550048] PM: late suspend of devices complete after 0.610 msecs
[17155.557159] GPS SET to 0
[17155.557312] PM: noirq suspend of devices complete after 7.232 msecs
[17155.557556] Successfully put all powerdomains to target state
[17155.581390] GPS SET to 0
[17155.600738] PM: noirq resume of devices complete after 42.785 msecs
[17155.601531] PM: early resume of devices complete after 0.427 msecs
[17155.602447] Bluetooth: Frame Reassembly Failed
[17155.602508] GPS SET to 1
[17155.602539] GPS SET to 1
[17155.602813] GPS resuming 1 0
[17155.602844] GPS down
[17155.611419] GPS up
[17155.627136] GPS idle
[17156.260742] PM: resume of devices complete after 659.088 msecs
[17156.346099] Unhandled fault: imprecise external abort (0x1c06) at 0xbed503c8
[17156.355682] GPS SET to 0
[17156.358398] GPS SET to 1
[17156.361175] GPS SET to 0
[17156.371490] GPS SET to 0
[17156.374664] GPS down
[17156.341918] Restarting tasks ... done.
[17156.382141] td028ttec1_panel_resume()
[17156.400512] GPS up
[17156.416107] GPS idle
[17156.677795] gta04_enable_lcd()
[17156.762512] mmc1: new SDIO card at address 0001
[17161.361907] omap-dma-engine omap-dma-engine: allocating channel for 33
[17166.708374] omap-dma-engine omap-dma-engine: freeing channel for 33
[17156.418518] !
[17167.181854] PM: NOT Syncing filesystems ... td028ttec1_panel_suspend()
[17167.244354] gta04_disable_lcd()
[17195.999389]  gadget: high-speed config #1: CDC Ethernet (ECM)

root at neo:~# cat /sys/class/backlight/pwm-backlight/brightness
0
root at neo:~# echo 100 > /sys/class/backlight/pwm-backlight/brightness


More information about the community mailing list