LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-07-2007, 03:52 PM   #1
matti3
LQ Newbie
 
Registered: Nov 2007
Location: Belgium
Distribution: openSUSE 11.3
Posts: 13

Rep: Reputation: 0
problem rewriting trip_points


Hi,

every 6 seconds, i get the following in my /var/log/messages logfile:

Code:
Nov  7 21:40:18 sushi kernel: ACPI: Transitioning device [FAN] to D0
Nov  7 21:40:18 sushi kernel: ACPI: Transitioning device [FAN] to D0
Nov  7 21:40:18 sushi kernel: ACPI: Unable to turn cooling device [dffefd9c] 'on'
it is spamming my logs like..

it seems like acpi believes I have a fan in passive cool mode, while I don't, so it fails enabling that fan. My goal is to raise the passive cool mode trip point, so that my system is always in active mode. As a sort of work around, obviously.

I followed the advice in this nice acpi documentation. Unfortunately, I seem to be unable to write new trip points. Here is what I do:

Code:
# echo -n "85:0:75:55:0" > /proc/acpi/thermal_zone/THRM/trip_points
bash: echo: write error: Invalid argument
I write a critical temp, "hot" i don't have, i set the passive trip point fairly high (75), and i set my normal active cooling trip point to 55 °C. I don't have a second fan.

see my "cat /proc/acpi/thermal_zone/THRM/trip_points" output for a better view on my situation:

Code:
critical (S5):           76 C
passive:                 55 C: tc1=4 tc2=3 tsp=60 devices=CPU0
active[0]:               55 C: devices= FAN
I have the impression it is a suse specific thing, as everyone else seems to be able to write some values?

What am I doing wrong?

tia
matthias
 
Old 11-09-2007, 07:29 AM   #2
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 4,258

Rep: Reputation: Disabled
8.4 link example is quoted as
echo 99:80:35:75:60:55:50:45 > /proc/acpi/thermal_zone/(yourpathway)/trip_points

why try echo -n "numbers" ?

If I am right, the write error in bash is due to bad syntax.

BTW I have not tried this myself, only following your excellent link and re-looking at your first code error
 
Old 11-13-2007, 12:59 PM   #3
matti3
LQ Newbie
 
Registered: Nov 2007
Location: Belgium
Distribution: openSUSE 11.3
Posts: 13

Original Poster
Rep: Reputation: 0
in my post, I only posted the syntax using quotes (and -n)), but in fact I tried every possible way so also the one without quotes

I only have one thermal zone and that is THRM.

so I don't find any error in my command..
 
Old 11-13-2007, 04:55 PM   #4
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 4,258

Rep: Reputation: Disabled
fair enough, delete all that stuff and try
lm_sensors....it needs a kernel module for i2c but the documentation tells you how to build it and how to copy stuff into your boot up scripts
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help rewriting Ubuntu 6.06 phantom_cyph Ubuntu 0 03-07-2007 08:14 PM
rewriting mesg GarroteYou Programming 1 05-16-2005 10:38 AM
how to edit /proc/acpi/thermal_zone/THRM/trip_points ? qwijibow Linux - Hardware 4 03-18-2005 05:16 AM
rewriting my files jsfour Slackware 9 12-03-2003 04:06 PM
Filesystem kernel rewriting Problem catiger Linux - Software 0 07-11-2002 08:53 AM


All times are GMT -5. The time now is 12:25 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
Open Source Consulting | Domain Registration