[ibm-acpi-devel] ibm_acpi forces Screen out of standby after 1m

2007-04-27 Thread Sascha Heid
Hi List, im using Ubuntu Feisty (Kernel 2.6.20-15) now but IIRC i had the same problem in gentoo. Exactly 1m after the Screen of my thinkpad X60T goes into standby it will come back up again. Ubuntu has this onscreen brightness control thingie and it will show up as well then. I first suspected xo

Re: [ibm-acpi-devel] ibm_acpi forces Screen out of standby after 1m

2007-04-27 Thread Henrique de Moraes Holschuh
On Fri, 27 Apr 2007, Sascha Heid wrote: > im using Ubuntu Feisty (Kernel 2.6.20-15) now but IIRC i had the same > problem in gentoo. > Exactly 1m after the Screen of my thinkpad X60T goes into standby it > will come back up again. Ubuntu has this onscreen brightness control > thingie and it will sh

[ibm-acpi-devel] [GIT PULL] thinkpad-acpi fixes and sysfs support part 2

2007-04-27 Thread Henrique de Moraes Holschuh
Len, Please pull from: git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git for-upstream/acpi-test to receive the following patches *already* in acpi-test: ACPI: ibm-acpi: kill trailing whitespace ACPI: ibm-acpi: rename some identifiers ACPI: ibm-acpi: add header file

[ibm-acpi-devel] [PATCH 1/9] ACPI: thinkpad-acpi: add a fan-control feature master toggle

2007-04-27 Thread Henrique de Moraes Holschuh
Len Brown considers that an active by default fan control interface in laptops may be too close to giving users enough rope. There is a good chance he is quite correct on this, especially if someone decides to use that interface in applets and users are not aware of its risks. This patch adds a m

[ibm-acpi-devel] [PATCH 4/9] ACPI: thinkpad-acpi: map ENXIO to EINVAL for fan sysfs

2007-04-27 Thread Henrique de Moraes Holschuh
Currently, all fan control operations return ENXIO if unsupported operations are requested, but return EINVAL if invalid fan modes are requested on a given ThinkPad. This is not strictly correct for sysfs, so map ENXIO to EINVAL in the sysfs attribute store handlers, as we do benefit from the ENXI

[ibm-acpi-devel] [GIT PULL] thinkpad-acpi fixes and sysfs support part 2 (try 2)

2007-04-27 Thread Henrique de Moraes Holschuh
Len, Please pull from: git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git for-upstream/acpi-test to receive the following patches *already* in acpi-test: ACPI: ibm-acpi: kill trailing whitespace ACPI: ibm-acpi: rename some identifiers ACPI: ibm-acpi: add header file

[ibm-acpi-devel] [PATCH 6/9] ACPI: thinkpad-acpi: improve debugging for acpi helpers

2007-04-27 Thread Henrique de Moraes Holschuh
Some issues with the dock subdriver proved that a slightly improved debugging setup for ACPI notifiers and handler helpers would be useful. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c | 31 --- 1 files changed, 20 i

[ibm-acpi-devel] [PATCH 7/9] ACPI: thinkpad-acpi: improve dock subdriver initialization

2007-04-27 Thread Henrique de Moraes Holschuh
The dock sub-driver has split-personality (two subdrivers), and it was doing some unoptimal things on init because of that. Fix it so that the second half of it will only init when necessary, and only if the first half initialized sucessfully in the first place. Signed-off-by: Henrique de Moraes

[ibm-acpi-devel] [PATCH 5/9] ACPI: thinkpad-acpi: improve fan control documentation

2007-04-27 Thread Henrique de Moraes Holschuh
Improve fan control documentation and fix one mistake. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- Documentation/thinkpad-acpi.txt | 18 +- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thin

[ibm-acpi-devel] [PATCH 3/9] ACPI: thinkpad-acpi: fix a fan watchdog invocation

2007-04-27 Thread Henrique de Moraes Holschuh
The fan control watchdog was being called in one place even when the fan control operation had failed. Fix it. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/misc

[ibm-acpi-devel] [PATCH 9/9] ACPI: thinkpad-acpi: add sysfs support to wan and bluetooth subdrivers

2007-04-27 Thread Henrique de Moraes Holschuh
Add support to sysfs to the wan and bluetooth subdrivers. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- Documentation/thinkpad-acpi.txt | 61 ++--- drivers/misc/thinkpad_acpi.c| 144 +++--- drivers/misc/thinkpad_acpi.h|

[ibm-acpi-devel] [PATCH 8/9] ACPI: thinkpad-acpi: add sysfs support to hotkey subdriver

2007-04-27 Thread Henrique de Moraes Holschuh
Add the hotkey sysfs support. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- Documentation/thinkpad-acpi.txt | 58 ++ drivers/misc/thinkpad_acpi.c| 127 +++ drivers/misc/thinkpad_acpi.h|2 + 3 files changed, 17

[ibm-acpi-devel] [PATCH 2/9] ACPI: thinkpad-acpi: do not arm fan watchdog if it would not work

2007-04-27 Thread Henrique de Moraes Holschuh
Do not enable/rearm the fan control safety watchdog if we would not be able to do anything to the fan anyway. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/misc/thi

[ibm-acpi-devel] [PATCH 1/9] ACPI: thinkpad-acpi: add a fan-control feature master toggle

2007-04-27 Thread Henrique de Moraes Holschuh
Len Brown considers that an active by default fan control interface in laptops may be too close to giving users enough rope. There is a good chance he is quite correct on this, especially if someone decides to use that interface in applets and users are not aware of its risks. This patch adds a m

Re: [ibm-acpi-devel] [PATCH 1/9] ACPI: thinkpad-acpi: add a fan-control feature master toggle

2007-04-27 Thread Henrique de Moraes Holschuh
Drat, sorry about this, I gave git send-email a mbox file instead of a directory by mistake. I will resend it. -- "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 Vall

[ibm-acpi-devel] Conversion of ibm-acpi to hwmon sysfs sent to ACPI tree

2007-04-27 Thread Henrique de Moraes Holschuh
FYI: I have sent a group of patches to Len Brown (ACPI tree maintainer) that adds hwmon support to thinkpad-acpi (ibm-acpi's new name). It exports 16 temperatures and one fan with PWM control through the hwmon interface, and targets 2.6.22. The patches make extensive use of ENXIO for temperature

Re: [ibm-acpi-devel] ibm_acpi forces Screen out of standby after 1m

2007-04-27 Thread Sascha Heid
Sorry for accusing the wrong software again (it was xorg one hour ago) :-) It turned out that it is gnome-screensaver (at least for now). It is set to 1m but i have it disabled in the GUI dialog so i assumed it would not "run". There is a gnome-screensaver process running though and killing it fixe

[ibm-acpi-devel] [OT] screen savers

2007-04-27 Thread Henrique de Moraes Holschuh
On Sat, 28 Apr 2007, Sascha Heid wrote: > It turned out that it is gnome-screensaver (at least for now). > It is set to 1m but i have it disabled in the GUI dialog so i assumed > it would not "run". > There is a gnome-screensaver process running though and killing it > fixes the problem. It is amu

Re: [ibm-acpi-devel] [OT] screen savers

2007-04-27 Thread Sascha Heid
2007/4/28, Henrique de Moraes Holschuh <[EMAIL PROTECTED]>: > It is amusing to know that gnome-screensaver is just as much a utter piece > of crap as its KDE counterpart. LOL, its not the only amusing part of gnome-screensaver. I dont know if you use Gnome but in gnome's power-manager where you s