yep you're right.... i cannot modify my trippoints so this file cannot be modified.... <br>i don't think that it's random, since it is 40 c.... try doing some compiling or so and see if it goes up and then stop compiling and do nothing and see if it goes down.... this will tell you if thermal is working....
<br>for dsdt problem you have follow this guide:<br><a href="http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems">http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems</a><br>if it gives you errors when recompiling dsdt then it may be a dsdt problem, but if it gives you no problem recompiling it then it may be that you need some additional modules like asus_acpi or ibm or toshiba ones based on your pc model. i don't know what you're using (i've managed to see some lenovo, asus toshiba and acer models around and for what i know every one of then needs an additional acpi module to have it work correctly). that was why i've asked you for your brand and model name.
<br><br><div><span class="gmail_quote">2007/10/11, Marco Calviani <<a href="mailto:marco.calviani@...">marco.calviani@...</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Beso,<br> i've tried with your trip_points modification but it gives this error:<br><br>bash: echo: write error: Invalid argument<br><br>like i'm not able to write on that file.<br><br>And of course acpitool gives me a random ACPI temperature:
<br><br> Battery #1 : charged<br> AC adapter : on-line<br> Thermal zone 1 : ok, 40 C<br><br>PS: i followed all your suggestions concerning the microcode and fan<br>option in the kernel.<br>Could this be a problem of DSDT?
<br><br>regards,<br>m<br><br>On 10/10/07, Beso <<a href="mailto:givemesugarr@...">givemesugarr@...</a>> wrote:<br>><br>><br>> 2007/10/10, Marco Calviani <<a href="mailto:marco.calviani@...">
marco.calviani@...</a>>:<br>> > Hi Beso,<br>> > sorry i misunderstood your suggestion. I did what you suggest and<br>> > this is the result of the trip_points:<br>> ><br>> > critical (S5): 100C
<br>><br>> wow.... you don't have anything that says to the cpu to slow down when it<br>> reaches some point....<br>> now, to add some other trip points you have to copy these in a konsole with<br>> root priviledges:
<br>> echo "passive: 78 C: tc1=3 tc2=1 tsp=150 devices=CPU0 \<br>> active: 68 C: devices= FN1 \<br>> active: 58 C: devices= FN2" >><br>> /proc/acpi/thermal_zone/TZ01/trip_points
<br>><br>> then do a cat on the thermal_zone/TZ0/trip_points to see if you've added the<br>> lines for passive and active lines.<br>> that means that when your thermal reaches 78 degrees it will slow down the
<br>> processor. from 58 to 68 it will turn on the fan but don't turn down the<br>> speed of the processor, below 58 it will turn off the fan.<br>> ><br>> ><br>><br>> > which i suppose is the reason why at that temperature the laptop switch
<br>> off.<br>> > So, nothing except for the critical state. Should i have to add there<br>> something?<br>><br>> if the pc turns down then it can read from somewhere the actual thermal<br>> point. you try to see after actually setting the things i've just said, if
<br>> your pc is behaving as it should. remember to also turn on the polling<br>> frequency. without it it will not look for thermal changes. and remember to<br>> actually compile the mce and speedstep features in the kernel and not as
<br>> module and reboot and then set the things i've mentioned. after that type<br>> acpitool (it should be installed by default with the acpi package) and see<br>> what it says. it should give something like this:
<br>><br>> > Battery #1 : charging, 46.00%, 01:17:04<br>> > AC adapter : on-line<br>> > Thermal zone 1 : activ, 58 C<br>><br>> it indicates, as you can see not only the battery and ac status but also the
<br>> current processor mode (active) and the current thermal temperature.... if<br>> you don't have acpitool try acpi -t (you'll surely have either one or the<br>> other) and it should indicate the thermal state and temperature. if this
<br>> command don't give you these infos then you'll have to be very careful using<br>> your pc since acpi probably don't support santarosa well. you should then<br>> unmask newer acpi in portage (adding acpi in /etc/package.keywords) and try
<br>> with the new acpi ( 1.0.6).<br>> you may need some additional acpi modules, like ibm_acpi for example, but<br>> that depends on your's pc brand. i'm looking around to see if there were<br>> someone that had problems with santarosa and linux acpi, but for the moment
<br>> i couldn't find something useful. try what i've said and see if the things<br>> work. if they work then append the tweak in some script that starts at boot<br>> like the top of xdm script and you'll have a functional system. let me know
<br>> if you were succesful on that.<br>><br>><br>> > An additional problem is this:<br>> > doing a<br>> > $ cat /proc/acpi/thermal_zone/TZ01/temperature<br>> > it gives only a:<br>> >
<br>> > temperature: 0C<br>> ><br>> > My question is:<br>> > even if i change the polling frequency, how the fan can start if the<br>> > temperature gives 0??<br>> > Do you know if it's possible to link the fan start with the core
<br>> > temperature instead of the ACPI thermal zone?<br>><br>> probably the fan don't start since you have it as a module. i've curently<br>> had the same problem which solved by compiling it integrated in the kernel.
<br>> the fan in your case should always be on, not always be off....<br>><br>> ><br>> > Regards,<br>> > m<br>> ><br>> > ><br>> > > thats why i told you to do this commanda:
<br>> > > > echo "2 seconds" ><br>> > > /proc/acpi/thermal_zone/TZ01/polling:frequency<br>> > > ><br>> > > this enables the polling of your thermal every 2 seconds. this should
<br>> be<br>> > > enough.<br>> > > do you have the other file that i mentioned:<br>> > > > /proc/acpi/thermal_zone/TZ01/trip_points ?!<br>> > > this sets the trip points for your processor. whitout it you governor
<br>> cannot<br>> > > understand what to do even if it polls right.<br>> > ><br>> > > as for the kernel thigs, set these options:<br>> > > select processor type: intel core2 instead of normal x86
<br>> > > CONFIG_X86_SPEEDSTEP_CENTRINO=y instead of m<br>> > > CONFIG_ACPI_FAN=y instead of m<br>> > > CONFIG_MICROCODE=y instead of m (for what i know cpu micocode is needed<br>> on<br>> > > intels)
<br>> > > CONFIG_K8_NUMA=n instead of y (this should be the amdk8 numa, that you<br>> > > should not need. if it's not then let him be)<br>> > > CONFIG_X86_MCE_AMD=n instead of y (you don't need amd mce features since
<br>> > > they are not included into intel cpus)<br>> > > CONFIG_NR_CPUS=32 <-- this leaves me a little dazzled: do you really<br>> have 32<br>> > > cpus in your core?! for what i know this sets the real number of cpus
<br>> inside<br>> > > the kernel, but i might be wrong. so if this is really what i think it<br>> is,<br>> > > ie the real nr of cpus (not virtual ones) set this to 2 or 4 based on<br>> your<br>
> > > cpu cores.<br>> > > CONFIG_HOTPLUG_CPU=n instead of y (i don't really think that you'll<br>> unplug<br>> > > your cpu from your laptop when the laptop is still running considering
<br>> that<br>> > > you don't use multi cpus but a single multicore cpu. the same goes for<br>> > > memory hotplug: i don't think that your laptop supports it, so just<br>> disable<br>> > > it.)
<br>> > > for what i have seen the acpi problems may be due to a failure in<br>> loading<br>> > > the intel speedstep module. if you look into the modules loaded (lsmod)<br>> you<br>> > > should not see it. so it's better to insert it directly in the kernel,
<br>> since<br>> > > it is one of the first modules called (if you use it as a module you<br>> should<br>> > > be loading it with initramdisk before loading acpi to have a full acpi<br>> > > configuration).
<br>> > > try setting these options and recompile and install the new kernel and<br>> > > modules and reboot (kexec is not working on my amd turion with 64bit<br>> enabled<br>> > > and so may also be for your core2duo).
<br>> > ><br>> > > 2007/10/10, Marco Calviani < <a href="mailto:marco.calviani@...">marco.calviani@...</a>>:<br>> > > > Sorry i missed the attachment.<br>> > > >
<br>> > > > regards,<br>> > > > m<br>> > > ><br>> > > ><br>> > ><br>> > ><br>> > ><br>> > > --<br>> > > dott. ing. beso<br>> > --
<br>> > <a href="mailto:firstname.lastname@example.org">email@example.com</a> mailing list<br>> ><br>> ><br>><br>><br>><br>> --<br>> dott. ing. beso<br>--<br><a href="mailto:firstname.lastname@example.org">
email@example.com</a> mailing list<br><br></blockquote></div><br><br clear="all"><br>-- <br>dott. ing. beso