[debian at fr] apmd again

Christian Adams morlac at morlac.de
Tue Sep 2 18:36:03 CEST 2008


-----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:	morlac at morlac.de
   Jabber:	morlac at skavaer.homelinux.org
- ------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-----




More information about the community mailing list