resume reason... not working. details...

Carsten Haitzler (The Rasterman) raster at openmoko.org
Fri Jul 18 18:34:30 CEST 2008


what i do...

1. apm -s (suspend)
2. press power button to wake up from suspend then cat the resume_reason
info... all details below. not working for me (according to the kernel code
i SHOULD have a "*" next to the resume reason(s)). :/

pertinent info:

---
uboot info:
---
GTA02v5 # version

U-Boot 1.3.2-rc2 (Jul  1 2008 - 19:53:10)
GTA02v5 # printenv
bootcmd=setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 0x32000000
kernel; bootm 0x32000000 baudrate=115200
usbtty=cdc_acm
stderr=usbtty
stdout=usbtty
stdin=usbtty
mtdids=nor0=physmap-flash,nand0=neo1973-nand
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000
(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000
(factory),0x0f480000(rootfs) bootdelay=5 bootargs_base=rootfstype=jffs2
root=/dev/mtdblock6 console=ttySAC2,115200 loglevel=0 bootargs=rootfstype=jffs2
root=/dev/mtdblock6 console=ttySAC2,115200 loglevel=0 partition=nor0,0
mtddevnum=0
mtddevname=nor
pcb_rev=0x000
pcf50633_int1=0x8c
pcf50633_int2=0x00

Environment size: 663/262140 bytes

---
kernel version:
---
uImage-2.6.24+git60+287b292cf95edbd82dc63085ae5f0167a6e8141f-r1-om-gta02.bin

---
kernel output:
---
# cat /sys/devices/platform/neo1973-resume.0/resume_reason
  EINT00_ACCEL1
  EINT01_GSM
  EINT02_BLUETOOTH
  EINT03_DEBUGBRD
  EINT04_JACK
  EINT05_WLAN
  EINT06_AUXKEY
  EINT07_HOLDKEY
  EINT08_ACCEL2
  EINT09_PMU
    adpins
    adprem
    usbins
    usbrem
    rtcalarm
    second
    onkeyr
    onkeyf
    exton1r
    exton1f
    exton2r
    exton2f
    exton3r
    exton3f
    batfull
    chghalt
    thlimon
    thlimoff
    usblimon
    usblimoff
    adcrdy
    onkey1s
    lowsys
    lowbat
    hightmp
    autopwrfail
    dwn1pwrfail
    dwn2pwrfail
    ledpwrfail
    ledovp
    ldo1pwrfail
    ldo2pwrfail
    ldo3pwrfail
    ldo4pwrfail
    ldo5pwrfail
    ldo6pwrfail
    hcidopwrfail
    hcidoovl
  EINT10_NULL
  EINT11_NULL
  EINT12_GLAMO
  EINT13_NULL
  EINT14_NULL
  EINT15_NULL
root at om-gta02:/sys/devices/platform/s3c2440-i2c/i2c-ad
-- 
Carsten Haitzler (The Rasterman) <raster at openmoko.org>




More information about the openmoko-kernel mailing list