Re: [linux-usb-devel] USB autosuspend and turning of usb pendrive leds

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hans de Goede
Date: Saturday, September 22, 2007 - 7:00 am

Alan Stern 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/level

4) wait

Nothing happens, where as sending "suspend" to power/level does turn the led 
off. 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.

And yes I'm pretty sure nothing else is talking to the device.

As usual keep please me CC-ed as I'm not on the list.

Regards,

Hans
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
USB autosuspend and turning of usb pendrive leds, Hans de Goede, (Fri Sep 21, 6:28 am)
Re: USB autosuspend and turning of usb pendrive leds, Jiri Kosina, (Fri Sep 21, 7:18 am)
Re: USB autosuspend and turning of usb pendrive leds, Hans de Goede, (Fri Sep 21, 7:20 am)
Re: USB autosuspend and turning of usb pendrive leds, Jiri Kosina, (Fri Sep 21, 8:15 am)
Re: [linux-usb-devel] USB autosuspend and turning of usb p ..., Hans de Goede, (Sat Sep 22, 7:00 am)
Re: USB autosuspend and turning of usb pendrive leds, Oliver Neukum, (Mon Sep 24, 3:36 am)
Re: USB autosuspend and turning of usb pendrive leds, Hans de Goede, (Mon Sep 24, 4:38 am)
Re: USB autosuspend and turning of usb pendrive leds, Oliver Neukum, (Mon Sep 24, 6:25 am)
Re: USB autosuspend and turning of usb pendrive leds, Bill Davidsen, (Fri Sep 28, 1:48 pm)