[PATCH linux-acpi] fix acpi fan state set error

2008-01-04 Thread Yi Yang
Subject: ACPI: fix acpi fan state set error From: Yi Yang <[EMAIL PROTECTED]> Under /proc/acpi, there is a fan control interface, a user can set 0 or 3 to /proc/acpi/fan/*/state, 0 denotes D0 state, 3 denotes D3 state, but in current implementation, a user can set a fan to D1 state by any char

[PATCH linux-acpi] fix acpi fan state set error

2008-01-04 Thread Yi Yang
Subject: ACPI: fix acpi fan state set error From: Yi Yang [EMAIL PROTECTED] Under /proc/acpi, there is a fan control interface, a user can set 0 or 3 to /proc/acpi/fan/*/state, 0 denotes D0 state, 3 denotes D3 state, but in current implementation, a user can set a fan to D1 state by any char