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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-23-2003, 07:09 PM
|
#1
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
03-23-2003, 08:15 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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.
|
|
|
|
03-23-2003, 08:30 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Original Poster
|
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
|
|
|
03-23-2003, 08:51 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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.
|
|
|
03-23-2003, 08:59 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Original Poster
|
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
|
|
|
03-24-2003, 01:56 PM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Original Poster
|
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
|
|
|
All times are GMT -5. The time now is 01:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|