usbmuxd icon indicating copy to clipboard operation
usbmuxd copied to clipboard

usb: check if the device is alive before remove the device

Open aokblast opened this issue 5 months ago • 0 comments

The device may disconnect and connected (hotplug) before the initialization is finished. When disconnected, the usbmuxd will try to call device_remove in usb.c. However, the device is added to devicelist(in device.c) after initialization. Thus it cannot find the corresponding usb device and unable to remove the device.

aokblast avatar Jul 04 '25 06:07 aokblast