On Tue, 9 Jan 2007, Jon Smirl wrote: > Is there some tool or sys variable that can toggle power to the > device? That will let me see if it is in sleep mode when it shouldn't > be.
If you turn on CONFIG_PM_SYSFS_DEPRECATED then you can suspend your device by doing: echo -n 2 >/sys/bus/usb/devices/.../power/state and resume it by writing a '0' instead of a '2'. The value in that file will tell you the device's current state. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel