linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No disconnection event for suspended device at v5.6
@ 2020-04-15 10:32 Peter Chen
  2020-04-15 19:40 ` Alan Stern
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Chen @ 2020-04-15 10:32 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-usb@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-04-17  2:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-15 10:32 No disconnection event for suspended device at v5.6 Peter Chen
2020-04-15 19:40 ` Alan Stern
2020-04-15 23:22   ` Paul Zimmerman
2020-04-16 14:34     ` Alan Stern
2020-04-16 19:46       ` Paul Zimmerman
2020-04-16 20:20         ` Alan Stern
2020-04-17  2:42           ` Peter Chen
2020-04-16  1:18   ` Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).