Re: HOWTO Fix A Buggy DSDT File
peterwill:
First lets see if you can control your fan before we get dirty. Open a terminal and become root with Then run this command to see if we can turn it on:
Code:
echo 0 > /proc/acpi/fan/FAN1/state
Then check to see what the state is with
Code:
cat /proc/acpi/fan/FAN1/state
If that shows it on, then I can probably write an init script for you that will switch it on at boot and tell ACPI to poll the BIOS so it knows when to kick it on.
1 Attachment(s)
Re: HOWTO Fix A Buggy DSDT File
chavanak:
Code:
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 29 Optimizations
I fixed _WAK error and temp readings. You should be able to hibernate/suspend, and it should run cooler/quieter. Keep the dsdt.aml in a safe place for future use. Follow the rest of the how to and add acpi_osi="Linux" as stated. Post a copy of your dmesg output afterwards.
Attachment 115938
Re: HOWTO Fix A Buggy DSDT File
Quote:
Originally Posted by
67GTA
peterwill:
First lets see if you can control your fan before we get dirty. Open a terminal and become root with
Then run this command to see if we can turn it on:
Code:
echo 0 > /proc/acpi/fan/FAN1/state
Then check to see what the state is with
Code:
cat /proc/acpi/fan/FAN1/state
If that shows it on, then I can probably write an init script for you that will switch it on at boot and tell ACPI to poll the BIOS so it knows when to kick it on.
Thanks!.. The fan switched on alright.. ie state returned ON. However did a quick check on the temperature and it still showed as rising from 66 -- 69 in about 3 mins... Any thoughts on why this is so ?
Re: HOWTO Fix A Buggy DSDT File
Do you have lm-sensors installed? Install them, and run
Code:
sudo sensors-detect
in a terminal. Hit enter for each question except the last. You want the sensors written to /etc/modules and the default is no. Type in "yes" and hit enter for the last one. Go to Menu>System>Administration>Services and check the box for the sensors. Reboot to activate them and see if the temp is any lower while the fan is on. The fact that the fan can be controlled means the BIOS is not controlling it. There is a bug with ACPI because it is disabled by default. You might want to file a bug on launchpad even if we get it working.
Re: HOWTO Fix A Buggy DSDT File
Hi,
Thanks a lot 67GTA as you mentioned it is much better now!!! I will keep it in a safe place. Thanks once again!!!!
Cheers,
Chav
Re: HOWTO Fix A Buggy DSDT File
Quote:
Originally Posted by
67GTA
Do you have lm-sensors installed? Install them, and run
Code:
sudo sensors-detect
in a terminal. Hit enter for each question except the last. You want the sensors written to /etc/modules and the default is no. Type in "yes" and hit enter for the last one. Go to Menu>System>Administration>Services and check the box for the sensors. Reboot to activate them and see if the temp is any lower while the fan is on. The fact that the fan can be controlled means the BIOS is not controlling it. There is a bug with ACPI because it is disabled by default. You might want to file a bug on launchpad even if we get it working.
Thanks 67GTA!.. I installed lm-sensors.. The output showed it was not able to detect the sensors.
-----
Sorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an
I2C or SMBus adapter that is not supported. See doc/FAQ,
doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
----
On rebooting with the system-Admin-services-hardware monitor(lm-sensors) checked it is still showing rising temp..
This looks like a serious issue for me.. As I am concerned that the rising temps would fry the computer..
Does this happen with versions of Ubuntu (after Hardy Heron ) as well. ?
I am just about to wipe out this distro and try Red Hat...
As this is clearly unworkable for sustained development use ...
Thanks again for helping with the understanding of this issue.
Cheers
Peter
Re: HOWTO Fix A Buggy DSDT File
peterwill:
While I was researching your problem, I ran across toshset. It is in the repos. It is made just for Toshiba laptops and controls fan/temp and a couple of other things. From what I have seen, Toshibas seem to have a lot of trouble with fans/heat and Linux. You might want to check it out. If that doesn't help, I would suggest trying Opensuse. Their acpi implementation always seemed to be a little better to me.
Re: HOWTO Fix A Buggy DSDT File
Hi 67GTA, I am still reading :)
Found some instances of "acpi_osi="Linux" that have syntax of acpi_osi="!Linux"
From what I've been reading, adding that bang seems to help in some cases. Do you happen to know why?
Here's a post from Len Brown at Intel mentioning that particular command.
http://forum.soft32.com/linux/PATCH-...ict346586.html
Thoughts?
Re: HOWTO Fix A Buggy DSDT File
Quote:
Originally Posted by
67GTA
peterwill:
While I was researching your problem, I ran across toshset. It is in the repos. It is made just for Toshiba laptops and controls fan/temp and a couple of other things. From what I have seen, Toshibas seem to have a lot of trouble with fans/heat and Linux. You might want to check it out. If that doesn't help, I would suggest trying Opensuse. Their acpi implementation always seemed to be a little better to me.
Are you suggesting that even fixing the DSDT errors won't get the fan to cool the laptop ? I thought if there was an error free DSDT, then it could be complied and at boot time the dsdt supplied ( by the BIOS) could be overridden and hence we could get the ACPI interface working ok( as this controls the fans, thermal zones etc ). So now it appears to be that we have to fix the DSDT , recompile so that the OS could load it at boot time.
Any possibilities of fixing the DSDT src to recompile without errors ?
Thanks
Peter
Re: HOWTO Fix A Buggy DSDT File
Quote:
Originally Posted by
67GTA
peterwill:
While I was researching your problem, I ran across toshset. It is in the repos. It is made just for Toshiba laptops and controls fan/temp and a couple of other things. From what I have seen, Toshibas seem to have a lot of trouble with fans/heat and Linux. You might want to check it out. If that doesn't help, I would suggest trying Opensuse. Their acpi implementation always seemed to be a little better to me.
I downloaded toshset and ran make but it failed to produce an executable(
not a 64bit version ). But came across this post
http://ubuntuforums.org/showthread.php?t=1043248
where acpitool is mentioned. So downloaded and installed that tool.
and interestingly this tool is supposed to support Toshiba laptops for fan control ( Forced mode )
ie , acpitool -F 1 ( 1 is the on state )
but I get the following response.
Forcing the fan of/off is only supported on Toshiba laptops.
No Toshiba ACPI extensions were found.
Somehow it thinks I am not running a Toshiba Laptop.. Possibly due to a missing Toshiba Extensions package ?
Cheers
Peter