On Wed, Feb 3, 2016 at 1:21 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote: > Hi Peter, > > I am running imx6sl-evk with linux-next 20160203 and I am trying to > make it wake up via a USB mouse click. > > These are the steps I am doing: > > - Insert the USB mouse in the USB host port: > > usb 1-1: new low-speed USB device number 7 using ci_hdrc > input: Logitech USB Optical Mouse as > /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1:1.0/0003:046 > D:C077.0006/input/input7 > hid-generic 0003:046D:C077.0006: input: USB HID v1.11 Mouse [Logitech > USB Optical Mouse] on usb-ci_hdrc.1-1/input0 > > - Configure USB1 to be a wakeup source: > > $ echo enabled > /sys/bus/usb/devices/usb1/power/wakeup > $ echo enabled > /sys/bus/usb/devices/1-1/power/wakeup > > - Put the system in suspend > > $ echo mem > /sys/power/state > > - Clicking in the mouse button does not wakeup the system. > > Any ideas? I have also tried this: --- a/drivers/usb/chipidea/usbmisc_imx.c +++ b/drivers/usb/chipidea/usbmisc_imx.c @@ -279,7 +279,7 @@ static int usbmisc_imx6q_init(struct imx_usbmisc_data *data) spin_unlock_irqrestore(&usbmisc->lock, flags); - usbmisc_imx6q_set_wakeup(data, false); + usbmisc_imx6q_set_wakeup(data, true); return 0; ,but it does not help. -- 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