[EMAIL PROTECTED] apmd again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 moinmoin i just discovered something i actually can't explain to myself: (i do the sd_idleclk-trick in /etc/apm - scripts) when apmd is running while i invoke 'apm -s' i get the following in dmesg: - snip Syncing filesystems ... done. PM: Preparing system for mem sleep - snap but the system doen't suspend completely - only X freezes but ssh-ing still works when i now call 'invoke-rd.d apmd stop' the system suspends and resumes on power-button and in dmesg it continues as following (i think the 'error' is shown with the 'Can't switch VCs'-part - this doesn't occur when apmd isn't running at all): - snip Suspend: Can't switch VCs.Freezing user space processes ... (elapsed 0.02 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. PM: Entering mem sleep Suspending console(s) pcf50633 0-0073: pcf50633_suspend glamo-mci glamo-mci.0: faking cmd 7 during suspend mmc_set_power(power_mode=0, vdd=0 glamo-mci glamo-mci.0: glamo_mci_set_ios: power down. gta02_udc_command(2) suspending dma channel 0 suspending dma channel 1 suspending dma channel 2 suspending dma channel 3 GSTATUS3 0x30364084 GSTATUS4 0x0200 s3c2440-i2c s3c2440-i2c: slave address 0x10 s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz gta02_udc_command(1) s3c2440-nand s3c2440-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns not changing prescaler of PWM 3, since it's shared with timer4 (clock tick) timer_usec_ticks = 7864 timer tcon=00599109, tcnt a2c1, tcfg 0200,2000, usec 1eb8 mmc_set_power(power_mode=1, vdd=20 SD power - 3200mV glamo-mci glamo-mci.0: powered (vdd = 20) clk: 0kHz div=255 (req: 0kHz). Bus width=0 glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz div=255 (req: 195kHz). Bus width=0 glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz div=255 (req: 195kHz). Bus width=0 glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz div=255 (req: 195kHz). Bus width=0 glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz div=255 (req: 195kHz). Bus width=0 glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz div=255 (req: 195kHz). Bus width=0 glamo-mci glamo-mci.0: powered (vdd = 20) clk: 1kHz div=2 (req: 1kHz). Bus width=0 glamo-mci glamo-mci.0: powered (vdd = 20) clk: 1kHz div=2 (req: 1kHz). Bus width=2 soc-audio soc-audio: scheduling resume work PM: Finishing wakeup. Restarting tasks ... 6soc-audio soc-audio: starting resume work done. soc-audio soc-audio: resume work completed - snap regards, morlac - -BEGIN CONTACT BLOCK- eMail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] - --END CONTACT BLOCK-- - -BEGIN GEEK CODE BLOCK- Version: 3.1 GCS$/IT;d-;s:;a?;C++(+++);UL;P++(+++); L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+;!V;PS(+);PE; Y+;PGP++;t+(++);5(+)++;X(+);R*;tv-+;b++(+++);DI++; D++(+++);G(+)++;e;h-()++;r++;y++; - --END GEEK CODE BLOCK-- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFIvRqLr81gVylJyzERAnNUAKCAuEQz6J4NQpNhBy9BkYKfV0Yl6ACfW3UM 1RvvJA/LY0NhdGQi/FwQBNw= =LFyn -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [EMAIL PROTECTED] apmd again
Hi, Am Dienstag, den 02.09.2008, 12:50 +0200 schrieb Christian Adams: i just discovered something i actually can't explain to myself: (i do the sd_idleclk-trick in /etc/apm - scripts) when apmd is running while i invoke 'apm -s' i get the following in dmesg: - snip Syncing filesystems ... done. PM: Preparing system for mem sleep - snap but the system doen't suspend completely - only X freezes but ssh-ing still works when i now call 'invoke-rd.d apmd stop' the system suspends and resumes on power-button and in dmesg it continues as following (i think the 'error' is shown with the 'Can't switch VCs'-part - this doesn't occur when apmd isn't running at all): I observed the same problem, but only when X was started after apmd, not the other way around. I also observed that running strace -p pid of apmd or strace -p pid of X makes the kernel go ahead with suspending. Can you confirm these observations? What kernel version are you using? Thanks, Joachim -- Joachim nomeata Breitner Debian Developer [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [EMAIL PROTECTED] apmd again
Hi, Am Dienstag, den 02.09.2008, 17:53 +0200 schrieb Christian Adams: i can confirm your observations regarding strace -p pid of apmd but for me the starting order of apmd and X makes no difference .. my actual kernel: Linux dvalin 2.6.24 #1 PREEMPT Sun Aug 31 01:38:31 CEST 2008 armv4tl GNU/Linux (came from not longer reachable buildhost.openmoko.org/daily/ freerunner/200808/20080831 ) thanks. Unfortunately, I don’t have an idea what’s causing it, but I’d be thankful if you can debug it :-) You could test it with two instances of apmd and no X running, for example. Maybe the kernel just doesn’t like two apps listening on /dev/apm_bios. Greetings, Joachim -- Joachim nomeata Breitner Debian Developer [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [EMAIL PROTECTED] apmd again
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 moin, i tried to run two instances of apmd (with no X running) - what i got first is this: - snip dvalin:~# apmd It appears that an instance of apmd is already running as process 1590. If in reality no instance of apmd is running, remove /var/run/apmd.pid. - snap after 'rm /var/run/apmd.pid' i was allowed to run a 2nd instance of apmd and invoking 'apm -s' did what it should - FR fell asleep and woke up on powerbutton so for now i am clueless how to continue investigation .. :/ regards, morlac Am 02.09.2008 um 18:17 schrieb Joachim Breitner: Hi, Am Dienstag, den 02.09.2008, 17:53 +0200 schrieb Christian Adams: i can confirm your observations regarding strace -p pid of apmd but for me the starting order of apmd and X makes no difference .. my actual kernel: Linux dvalin 2.6.24 #1 PREEMPT Sun Aug 31 01:38:31 CEST 2008 armv4tl GNU/Linux (came from not longer reachable buildhost.openmoko.org/daily/ freerunner/200808/20080831 ) thanks. Unfortunately, I don’t have an idea what’s causing it, but I’d be thankful if you can debug it :-) You could test it with two instances of apmd and no X running, for example. Maybe the kernel just doesn’t like two apps listening on /dev/apm_bios. Greetings, Joachim - -BEGIN CONTACT BLOCK- eMail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] - --END CONTACT BLOCK-- - -BEGIN GEEK CODE BLOCK- Version: 3.1 GCS$/IT;d-;s:;a?;C++(+++);UL;P++(+++); L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+;!V;PS(+);PE; Y+;PGP++;t+(++);5(+)++;X(+);R*;tv-+;b++(+++);DI++; D++(+++);G(+)++;e;h-()++;r++;y++; - --END GEEK CODE BLOCK-- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFIvWtzr81gVylJyzERAg8bAJ4ziZ/Ojk2POlLrMKb9SDAukuCxBgCeOgVk oo6qnmfs49voo91LVkOfJo0= =cFX2 -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community