LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-13-2006, 02:04 PM   #1
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Rep: Reputation: 15
ACPI question - Toshiba M100 (Slackware 11)


I hope this won't sound like a stupid question, but i'm confused. I'm running slackware 11 on my laptop, Toshiba M100 (Intel Core Duo, 1.67 GHz with Phoenix BIOS) and i seem to be having problems with ACPI. ACPI sems to work on my machine (the fan seems to be working, power profiles and speedstep are also working), but when i try to cat /proc/acpi/event or start acpid i get the following message -
"cannot read /proc/acpi/event. Device or resource busy".
I consider this to be a problem, as i have no thermal or fan info )in /proc/acpi/fan or /proc/acpi/thermal_zone) and i'm not sure if everything is working properly. I recompiled my kernel manually, so ACPI is included in it (it's not loading as a module, but is compiled into kernel), and i'm pretty sure i did it properly. On boot everything seems to work normaly, there are no ACPI errors when i scroll through dmesg output, and ACPi plug&play support is working. I've been looking for possible solutions on internet, and someone mentioned that X window system can lock /acpi/proc/event file sometimes, so i did
"lsof /proc/acpi/event"
and the output was acpid. I'm now seriously confused, does anybody have any idea if this is a problem(as i'm not using linux for long, i know how to do some things but i'm not an experienced user yet). I'm running 2.6.18.1 vanilla kernel. I haven't posted any files or outputs, as i'm not sure what i should post. If there are files that need to be attached, i'll post them, just tell me what you need. Thanks for any help
 
Old 11-15-2006, 02:53 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
but when i try to cat /proc/acpi/event or start acpid i get the following message -
"cannot read /proc/acpi/event. Device or resource busy".
That's what I get too. Do you have any reason to believe you'd get anything different?
Quote:
I consider this to be a problem, as i have no thermal or fan info )in /proc/acpi/fan or /proc/acpi/thermal_zone) and i'm not sure if everything is working properly.
... hmmm, maybe that's not supported.

Note: I don't have any thermal infor in /proc/acpi/thermal_zone either... for me, the information is in the "THRM" subdirectory, amongst a range of files:
Code:
$ ls /proc/acpi/thermal_zone/THRM
cooling_mode  polling_frequency  state  temperature  trip_points
There is nothing in /proc/acpi/fan for me either - but my fan starts and stops OK.
 
Old 11-15-2006, 08:28 AM   #3
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge
Note: I don't have any thermal infor in /proc/acpi/thermal_zone either... for me, the information is in the "THRM" subdirectory, amongst a range of files:
Code:
$ ls /proc/acpi/thermal_zone/THRM
cooling_mode  polling_frequency  state  temperature  trip_points
There is nothing in /proc/acpi/fan for me either - but my fan starts and stops OK.
Thanks 4 the reply. The thing that bothers me is that you have THRM folder in /proc/acpi/thermal_zone, while my /proc/acpi/thermal_zone folder is empty. i don't mind the fan control, but i mind the fact that i have no trip point or anything, so my fan works weird.

Just to update this thread, i managed to get the temperature readings 4 my proc, using omnibook drivers from sourceforge.
 
Old 11-16-2006, 06:37 AM   #4
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Original Poster
Rep: Reputation: 15
Sorry 4 bumping the thread, but i managed to find some new info, which might help in resolving the /proc/acpi/thermal_zone problem. According to the article i managed to google , that folder is empty "because of power-saving c-csates in idle" (according to Adrian Bunk), although i do not understand that.

Hopefully this might be of use to somebody experiencing same ACPI troubles
 
Old 11-16-2006, 06:38 AM   #5
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Original Poster
Rep: Reputation: 15
Here is the link to the mentioned article:

http://lkml.org/lkml/2004/11/22/355

(3 post rule)
 
Old 11-17-2006, 02:28 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The c-state mentioned (misspelled) is the CPU-sleep state.
I used to know what C1 C2 etc meant, but it's been too long since I was hacking acpi. The states are supplied by the dsdt in BIOS.

The reply seems somewhat glib - I don't know why a high c-state should mean nothing in /proc/acpi/thermal_zone ... perhaps it is because temperature monitoring is done elsewhere. Anyway - you can see the c-states for yourself in

/proc/acpi/processor/*/power ... i.e.
Code:
$ cat /proc/acpi/processor/*/power
active state:            C2
max_cstate:              C8
bus master activity:     ffffffff
states:
    C1:                  type[C1] promotion[C2] demotion[--] latency[000] usage[00036390]
   *C2:                  type[C2] promotion[C3] demotion[C1] latency[099] usage[00288293]
    C3:                  type[C3] promotion[--] demotion[C2] latency[999] usage[00000114]
http://acpi.sourceforge.net/document...processor.html
 
Old 11-17-2006, 05:22 PM   #7
jets0n
Member
 
Registered: Aug 2006
Distribution: Slackware | Ubuntu | Debian | CentOS
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks 4 the info :thumbs up:. this seems to be a general issue with my laptop's BIOS version, as i have the same problem with Mandriva(/proc/acpi/thermal_zone is an empty folder). i'll try to find a solution, and post new replies has i come along
 
  


Reply



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
Toshiba M100 PSMA0A 00G006 And Fedora 4 vishallagdev Linux - Laptop and Netbook 4 03-07-2006 04:39 AM
I need an APM or ACPI Guru to coax M100 to sleep Riddick Linux - Laptop and Netbook 4 01-15-2006 04:07 PM
Kernel Options for Pentium-M Toshiba M100 Riddick Linux - Laptop and Netbook 1 12-07-2005 05:16 PM
Installing Linux 7.3 on Toshiba M100 sleroy79 Linux - Laptop and Netbook 1 05-19-2004 09:05 AM
Toshiba M100 Redhat install problem DenhamWard Linux - Laptop and Netbook 2 10-20-2003 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration