Re: [ACPI-sppt] ACPI not writing to /proc/acpi/event

Brett Blackham <[email protected]> Tue, 23 Sep 2003 11:37:25 -0600
Newsgroups gmane.linux.acpi.support
Organization Oakley Networks
Message-ID <[email protected]>
Okay, I havn't been 100% open with you.  I do have acpid 1.0.2 installed.  I 
have it start up in the rc3.d.  I would first tail -f /var/log/acpid and 
/var/log/messages then press the power button.  Then I would shutdown acpid 
and then cat /proc/acpi/events.  (I couldn't cat it when acpid was running).  
I also had acpid configured with the event/default calling a sciprt that 
would just log what it recived like so: $1 >> /tmp/1.log and $2 >> /2.log. 
Thus I feel its safe to say ACPI is not sending any messages.   

In my many kernel builds I did some with debug and some without.  Result was 
the same.  I wouldn't recive any /var/log/messages or /var/log/acpid events 
and my /tmp/2.log and 1.log files would be empty.  

On Tuesday 23 September 2003 10:29 am, Carl L. Gilbert wrote:
> you are not running acpid are you? if not try installing that and seeing
> what it says.
>
> Didi you build your kernel with ACPI debugging enabled?  If not, rebuild
> with ACPI enabled so you can see the events in the log.
>
>
> CL
>
> On Tue, 2003-09-23 at 12:18, Brett Blackham wrote:
> > I've never cared much more modules so I've been building it all into the
> > kernel.  As for the monitoring I was just doing a 'cat
> > /proc/acpi/events'. Thanks for the feedback can you think of anything
> > else I might try.
> >
> > On Monday 22 September 2003 10:20 pm, Carl L. Gilbert wrote:
> > > make sure you build the stuff into the kernel.  if you make the stuff
> > > modules, make sure you load the modules before you try to use ACPI
> > > stuff.
> > >
> > > as for the one time events, make sure you are monitoring it correctly.
> > > I had that problem but it was because of my monitoring script I
> > > created.
> > >
> > > CL
> > >
> > > On Mon, 2003-09-22 at 19:52, Brett Blackham wrote:
> > > > I have ACPI built into the kernel but I can't see any messages in
> > > > event when I cat it.  I played around with a couple of different
> > > > kernels and got it to work for a little bit.  When it was working I
> > > > could only press the power button once and it would receive that one
> > > > event.  When I pressed it again nothing was sent.  It would not
> > > > receive an event until I powered down and back up.  In my attempt to
> > > > get it working 100% of the time I seemed to have broken it further. 
> > > > I can't even get it to receive the first message now.  I tried nearly
> > > > every combo of kernel .config but can't get it back the way it once
> > > > was.   I didn't save the .config file of the almost working kernel
> > > > but I'm sure in my nearly 30 different kernel builds and BIOS configs
> > > > I've came across the same kernel config which leads me to believe its
> > > > buggy.  (Guess thats why I had to select allow experamental code to
> > > > get the ACPI section)
> > > >
> > > > Does anyone have any suggestions on how I might get this working?
> > > >
> > > >
> > > > System:  Redhat 8.0 base w/ Gentoo hardened 2.4.21 kernel.
> > > > Motherboard: Tyan S2721-533 V1.01
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This sf.net email is sponsored by:ThinkGeek
> > > > Welcome to geek heaven.
> > > > http://thinkgeek.com/sf
> > > > _______________________________________________
> > > > ACPI-support mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/acpi-support



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