[ltp] ibm-acpi: request for testing (fast, easy test, any kernel)

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Tue, 17 Oct 2006 20:39:54 -0300


Please, if you own a:

	A31 or newer A-series
	T23 or newer T-series
	R50 or newer R-series
	X32 or newer X-series
	any Z series

Would you kindly take a few minutes to perform the following simple and safe
test?

The objective of this test is to determine exactly when should we consider
that a ThinkPad is lying about its fan status.  The results of this test
will help improve ibm-acpi support for all the above mentioned models.

1. Prepare the thinkpad for the test:
	- make sure no fan control scripts or anything else that will
	  write to /proc/acpi/ibm/fan or /proc/acpi/ibm/ecdump will run
	  on the next reboot

	- if you don't use ibm-acpi as a module and have it compiled
	  into the kernel, make sure the ibm_acpi.experimental=1 parameter
	  will be given to the kernel command line by the boot loader

	- turn *OFF* the thinkpad.  Sleep is not enough.

2. Do the test:

	- turn ON the thinkpad, connected to AC power

	- boot linux, remeber that if your ibm-acpi is not a module,
	  you need to give the ibm_acpi.experimental=1 parameter to
	  LILO/GRUB

	  If you can boot in single user mode, that would be
	  best.

	- check if the file /proc/acpi/ibm/ecdump exists. If it
	does not exist, please issue the commands, as root: 
		rmmod ibm-acpi
		modprobe ibm-acpi experimental=1
	to reload the ibm-acpi module with ecpdump support.

	- issue the command:
		cat /proc/acpi/ibm/ecdump

	- check if the *LAST* value in the line that reads EC 0x20
	  is different from 07.   If it is not 07, write down that
	  value  (this is the value of EC register 0x2F, which is
	  the fan control register).

3. Report back:

	If the last value of line EC 0x20 of the ecdump was different
	from 07, please send me email with the value you got, and
	the output of "dmidecode" for your ThinkPad.

Depending on the results of this test, it will be possible to narrow down
exactly which ThinkPads lie about their fan status when they are turned on,
and wether they ever show a value different than 07 when lying... 

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh