Hi , I have written the platform glue for ARC - EHCI controller. I provided the suspend/resume call backs in struct platform_driver with CONFIG_PM and CONFIG_USB_SUSPEND for selecti ve suspend/resume enabled.
My kernel is compile to be monolithic. So once the kernel boots up, the driver is registered. I mounted on sysfs and when i try to suspend the host controller with a camera (mass storage) pluggged in to it. I have provided some debug prints in the suspend/resume call backs i provided in the struct platform_driver. I execute the command to suspend using /sys/bus/usb/devices/usb1/powe/state ehco -n 3 > /sys/bus/usb/devices/usb1/powe/state, Shouldn't the corresponding suspend call back get invoked. For me it is not. Similarly for resume. Please tell me where i am wrong. Rak ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel