From patchwork Tue Jun 9 19:53:45 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elvis Dowson X-Patchwork-Id: 29084 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n59JsDAl007342 for ; Tue, 9 Jun 2009 19:54:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753171AbZFITyI (ORCPT ); Tue, 9 Jun 2009 15:54:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753526AbZFITyI (ORCPT ); Tue, 9 Jun 2009 15:54:08 -0400 Received: from asmtpout016.mac.com ([17.148.16.91]:48251 "EHLO asmtpout016.mac.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171AbZFITyH (ORCPT ); Tue, 9 Jun 2009 15:54:07 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [87.201.169.242] by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KKZ00HXWLXS1A80@asmtp016.mac.com> for linux-omap@vger.kernel.org; Tue, 09 Jun 2009 12:54:07 -0700 (PDT) Message-id: From: Elvis Dowson To: Linux OMAP Users Subject: omap-pm: Console not suspending Date: Tue, 09 Jun 2009 23:53:45 +0400 X-Mailer: Apple Mail (2.935.3) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi, I'm using the latest pm patches with android-2.6.29, and I have a new situation where the console tries to suspend, it tries to fade a bit, but then wakes up. On the console output, I see the following error message: PM: Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. Suspending console(s) (use no_console_suspend to debug) pwrdm when mpu_pwrdm wakes up wakeup wake lock: mmc_delayed_work Spurious irq 95: 0xffffffdf, please flush posted write for irq 86 Spurious irq 95: 0xffffffdf, please flush posted write for irq 86 mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110 PM: resume devices took 0.554 seconds Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 done. suspend: exit suspend, ret = 0 (2000-01-01 00:05:56.543487549 UTC) PM: Syncing filesystems ... done. Should these options be set? # CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL is not set # CONFIG_CONSOLE_EARLYSUSPEND is not set I have recently made some u-boot modifications to enable UART2. One of the changes removed GPIO_144 - LCD EN as shown below. Will that have any effect? iff --git a/board/omap3/overo/overo.h b/board/omap3/overo/overo.h index b595f6a..5597910 100644 MUX_VAL(CP(UART1_TX), (IDIS | PTD | DIS | M0)) /*UART1_TX*/\ MUX_VAL(CP(UART1_RTS), (IEN | PTU | DIS | M4)) /*GPIO_149*/ \ MUX_VAL(CP(UART1_CTS), (IEN | PTU | DIS | M4)) /*GPIO_150- MMC3_WP*/\ Best regards, Elvis --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/board/omap3/overo/overo.h +++ b/board/omap3/overo/overo.h @@ -213,14 +213,14 @@ const omap3_sysinfo sysinfo = { MUX_VAL(CP(MMC2_DAT6), (IEN | PTU | EN | M1)) /*MMC2_DIR_CMD*/\ MUX_VAL(CP(MMC2_DAT7), (IEN | PTU | EN | M1)) /*MMC2_CLKIN*/\ /*Bluetooth*/\ - MUX_VAL(CP(MCBSP3_DX), (IEN | PTD | DIS | M1)) /*UART2_CTS*/\ - MUX_VAL(CP(MCBSP3_DR), (IDIS | PTD | DIS | M1)) /*UART2_RTS*/\ - MUX_VAL(CP(MCBSP3_CLKX), (IDIS | PTD | DIS | M1)) /*UART2_TX*/\ - MUX_VAL(CP(MCBSP3_FSX), (IEN | PTD | DIS | M1)) /*UART2_RX*/\ - MUX_VAL(CP(UART2_CTS), (IEN | PTD | DIS | M4)) /*GPIO_144 - LCD_EN*/\ - MUX_VAL(CP(UART2_RTS), (IEN | PTD | DIS | M4)) /*GPIO_145*/\ - MUX_VAL(CP(UART2_TX), (IEN | PTD | DIS | M4)) /*GPIO_146*/\ - MUX_VAL(CP(UART2_RX), (IEN | PTD | DIS | M4)) /*GPIO_147*/\ + MUX_VAL(CP(MCBSP3_DX), (IDIS | PTD | DIS | M0)) /*McBSP3_DX*/\ + MUX_VAL(CP(MCBSP3_DR), (IEN | PTD | DIS | M0)) /*McBSP3_DR*/\ + MUX_VAL(CP(MCBSP3_CLKX), (IEN | PTD | DIS | M0)) / *McBSP3_CLKX*/\ + MUX_VAL(CP(MCBSP3_FSX), (IEN | PTD | DIS | M0)) / *McBSP3_FSX*/\ + MUX_VAL(CP(UART2_CTS), (IEN | PTU | EN | M0)) /*UART2_CTS*/\ + MUX_VAL(CP(UART2_RTS), (IDIS | PTD | DIS | M0)) /*UART2_RTS*/\ + MUX_VAL(CP(UART2_TX), (IDIS | PTD | DIS | M0)) /*UART2_TX*/\ + MUX_VAL(CP(UART2_RX), (IEN | PTD | DIS | M0)) /*UART2_RX*/\