On May 4, 2010, at 6:49 AM, Alan Stern wrote: > Do you remember to write "auto" to the power/control file? I'm using usb_enable_autosuspend(), but explicitly writing "auto" doesn't seem to do anything. When I read the file I see that its contents are "auto". > It isn't. In fact, I would go so far as to say it's nearly impossible > to have power/level without power/autosuspend. Look at the code in > drivers/usb/core/sysfs.c and see what you think. You may want to put > some debugging printk statements in add_power_attributes(). Embarrassingly, it turns out that I have been looking at the wrong place in the sysfs tree. I was looking at the interface level instead of the device level; I do see the the autosuspend file there. But I still do not see my driver suspend entry point being called. Thanks, Rob. The information and any attached documents contained in this message may be confidential and/or legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender immediately by return e-mail and destroy all copies of the original message. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html