public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch-klhGwnj84BUD5ynB6aAmlA@public.gmane.org>
To: David Douard <douard-m7abxLq4WJJQFI55V6+gNQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kacpid and my daemon
Date: 23 Jul 2002 18:34:43 +0200	[thread overview]
Message-ID: <87bs8y768s.fsf@trurl.cs.unibo.it> (raw)
In-Reply-To: <200207221802.52785.douard-m7abxLq4WJJQFI55V6+gNQ@public.gmane.org>

DD> But, I have written a little user space deamon (fansd) which periodically 
DD> check themperature, and decide wether or not turn on/off fan. Because that 
DD> feature does not work out of my (very patched DSDT) ACPI system.

That's weird -- it would appear that ACPI does properly export thermal
zones and fans to userspace, but OSPM (the kernel-side
power-management code) doesn't manage them?  I'd be curious to know
how that can happen.

DD> The strange thing is that every time my deamon decide to change
DD> the state of the fans, I have a zombi process which ps trace is :

DD> note that 4609 is the PID of my fan daemon. I cannot make those process be 
DD> collected and eliminated but my killing my deamon...

I've noticed this too, and I believe it's a bug in either ACPI's or
the kernel's code for dealing with /proc; I haven't found the time to
debug it, though.

Could you check (with strace) whether all the ``close'' system calls
in your code are successful?

                                        Juliusz



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

       reply	other threads:[~2002-07-23 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200204051427.g35ERYM20814@foobar.pps.jussieu.fr>
     [not found] ` <200207221802.52785.douard@pl.ecp.fr>
     [not found]   ` <200207221802.52785.douard-m7abxLq4WJJQFI55V6+gNQ@public.gmane.org>
2002-07-23 16:34     ` Juliusz Chroboczek [this message]
     [not found]       ` <87bs8y768s.fsf-ijrYHC+MxHL85LLnhfSrOV6hYfS7NtTn@public.gmane.org>
2002-07-23 23:00         ` Re: kacpid and my daemon David Douard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bs8y768s.fsf@trurl.cs.unibo.it \
    --to=jch-klhgwnj84bud5ynb6aamla@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=douard-m7abxLq4WJJQFI55V6+gNQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox