No disconnection event for suspended device at v5.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alan,

With commit e5d078af8e5f ("USB: hub: Don't record a connect-change event
during reset-resume"), the disconnection event for the suspended device
(eg, removable hub with no device connected, auto-suspended mouse) at
roothub can't occur due to no hub->change_bits is set. Below is the
debug message:

	imx_usb 30b20000.usb: at imx_controller_resume
	usbmisc_imx 30b20200.usbmisc: wakeup int
	ci_hdrc ci_hdrc.1: at ci_controller_resume
	usb usb1: usb wakeup-resume
	usb usb1: usb auto-resume
	ci_hdrc ci_hdrc.1: resume root hub
	hub 1-0:1.0: hub_resume
	ci_hdrc ci_hdrc.1: GetStatus port:1 status 1c00100a 14
	e0 PEC CSC
	usb usb1-port1: status 0100 change 0003
	hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
	hub 1-0:1.0: hub_suspend
	usb usb1: bus auto-suspend, wakeup 1
	ci_hdrc ci_hdrc.1: suspend root hub
	ci_hdrc ci_hdrc.1: at ci_runtime_suspend
	imx_usb 30b20000.usb: at imx_controller_suspend

-- 

Thanks,
Peter Chen



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux