LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-23-2003, 07:09 PM   #1
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,988
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi


Hi Guys!

I was just wondering whether anyone here
managed not only to patch that acpi patch
against a stock 2.4.20 kernel (the patch worked
well for me, too) but could make any use of
it afterwards? To my greatest surprise the
result was that the subdirectories that used
to reside in /proc/acpi (e.g. /proc/acpi/battery)
ended up in /proc (e.g. /proc/battery) afterwards,
and the acpi-daemon refused to run, stating (and
rightfully so) that there's no /proc/acpi ...

If you succeeded, please tell me how :)

Cheers,
Tink
 
Old 03-23-2003, 08:15 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
If you're using acpid you can tel it to use a different event path. From the man page...
Quote:
-e, --eventfile filename
This option changes the event file from which acpid reads events. Default is
/proc/acpi/event.
 
Old 03-23-2003, 08:30 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,988
Blog Entries: 11

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Thanks for the response!

I don't utilize /proc/acpi/event (not interested in
suspending the box, or putting it to sleep), and am
primarily after reading battery states and thermal
information .... but I'll give the patched kernel
another try later :} and check whether tools for
gathering acpi information can happily live without
/proc/acpi ...

Cheers,
Tink
 
Old 03-23-2003, 08:51 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Oh... battery info. Tried that on two notebooks so far and was unable to make it go. I could monitor all the buttons and timer events, but not the battery.

I think the way acpid works is that it _needs_ to read the /proc/acpi/battery as a change in battery status generates an event.
 
Old 03-23-2003, 08:59 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,988
Blog Entries: 11

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
I decided to be brave, patched my kernel
to 2.4.21pre5 and applied the most recent
available acpi-patch for that one ...
make dep && make bzImage running as I type :)
this message ...

Cheers,
Tink
 
Old 03-24-2003, 01:56 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,988
Blog Entries: 11

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
DOH ... same result. I wonder whether any
of the ACPI developers are going to react
to my question as to why this happens this
time around :(

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/acpi missing after upgrading to kernel 2.6.7 miguelash Slackware 12 08-11-2004 08:57 PM
acpi & kernel 2.4.25 KMcD Linux - Laptop and Netbook 0 03-09-2004 10:09 AM
acpi (no /proc/acpi)??? JimDog Linux - Newbie 2 01-25-2004 12:14 AM
/proc/acpi missing no_leaf_clover Linux - Software 3 12-18-2003 04:28 AM
/proc/acpi does not exiat jjge Linux - Software 2 09-09-2003 01:00 PM


All times are GMT -5. The time now is 03:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration