Re: [linux-usb-devel] error to be returned while suspended

Oliver Neukum
2006-10-08T13:23:30Z

Am Sonntag, 8. Oktober 2006 02:03 schrieb David Brownell:
> > The power management functions without
> > timeout are also exported. For other power control features like
> > cpu frequency considerable effort has been made to export them to
> > user space.
>
> Yes, and many of us use the much lighter weight kernel based control
> models by preference.   Why waste hundreds of Kbytes of userspace for
> a daemon when a few hundred bytes of kernel code can implement a
> better and more reactive kernel policy for cpufreq?

That's an important aspect. How about implementing autosuspend
first and keeping the sysfs-based suspension for now? If autosuspend
is done, we have something to compare too. If a different solution
emerges to be advantagous under some conditions we can talk about
the interface later.

Regards
Oliver