[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337502: klaptopdaemon: deprecated /proc/acpi/sleep should be changed to /sys/power/state



On November 5, 2005 08:07, Daniel Schröter wrote:
> Christopher Martin wrote:
> > On November 4, 2005 11:45, Daniel Schröter wrote:
> >>A patch is avaiable on the kde bugtracking system
> >>http://bugs.kde.org/show_bug.cgi?id=111747#c1
> >
> > Thanks for the information. Have you tested this patch yourself?
>
> No, I didn't test it, but it looks very easy. If the patch would check
> for /proc/acpi/sleep and it not exist and then use /sys/power/state
> would be more complicated.
> I don't compile klaptodaemon by my self. So I can not test it (in an
> easy way).
>
> I think the patch has a problem: What happen with the 2.4 Kernels if
> there is a /proc/acpi/sleep but no /sys/power/state?

Yes, that would be a problem. I think it would be prudent to leave things as 
they are for the moment, but for the 3.5 packages, try (at least) this 
patch.

Cheers,
Christopher Martin



Reply to: