On Sat, 22 Sep 2007, Hans de Goede wrote:
> >> Now call me naive, but I would expect a mass-storage devices with no
> >> partitions mounted to autosuspend when autosuspend is enabled for that
> >> device.
> >
> > Yes, that is naive. The driver has no way to tell whether or not any
> > partiti
Alan Stern wrote:
On Sat, 22 Sep 2007, Hans de Goede wrote:
I'm afraid that that doesn't work for usb mass-storage devices.
Here is what I did:
1) kill hal
2) insert usb stick -> led lights
3):
echo -n 1 >/sys/bus/usb/devices/.../power/autosuspend
echo -n auto > /sys/bus/usb/devices/.../po
On Sat, 22 Sep 2007, Hans de Goede wrote:
> I'm afraid that that doesn't work for usb mass-storage devices.
>
> Here is what I did:
> 1) kill hal
> 2) insert usb stick -> led lights
> 3):
> echo -n 1 >/sys/bus/usb/devices/.../power/autosuspend
> echo -n auto > /sys/bus/usb/devices/.../power/l
Alan Stern wrote:
The correct answer is that HAL should top polling while the device is
suspended.
In kernels starting with 2.6.23-rc6, the correct way to enable
autosuspend for a USB device is basically like this:
echo D >/sys/bus/usb/devices/.../power/autosuspend
echo auto
Am Freitag 21 September 2007 schrieb Hans de Goede:
> Thats not what I had in mind, autosuspend doesn't work (presumably because
> hal
> keeps polling for media change) maybe I should fix hal to not keep polling
> for
> devices which don't have removable media?
If you find a way to tell which
On Fri, 21 Sep 2007, Jiri Kosina wrote:
> (linux-usb-devel needs CC)
>
> On Fri, 21 Sep 2007, Hans de Goede wrote:
>
> > 1) Would it be possible to funtionality to the kernel to suspend a device in
> >such a way that it will automatically unsuspend when used again?
>
> It is possible - USB
6 matches
Mail list logo