From mboxrd@z Thu Jan 1 00:00:00 1970 From: "P. Christeas" Subject: Re: 2.5.51: sleep broken Date: Fri, 13 Dec 2002 01:11:32 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <200212130111.32710.p_christ@hol.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: "Grover, Andrew" , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org > > From: P. Christeas [mailto:p_christ-U04EIuiosng@public.gmane.org] > > > > > However, /proc/acpi/sleep has all S0 S1 S2 S3 S4 S5 > > > When I 'echo 1 >/proc/acpi/sleep', nothing happens. > > > ... It's a procfs bug. > > Look for a msg on 11/30 by Pavel Machek. Apparently the proc code got > broken by the seq_file stuff... supposedly they were going to fix it, but > maybe it would be easier if we all did. > > - entry->write_proc = acpi_system_write_sleep; > + entry->proc_fops->write = acpi_system_write_sleep; > > Regards -- Andy Sorry, I was quite lazy debugging that. Seems though that 20021205 doesn't have that. I'll let you know if it should be pushed into 2.5.52.. ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/