zebrunner / mcloud-ios-connector

0 stars 0 forks source link

investigate if below error message affects startup #14

Closed vdelendik closed 3 months ago

vdelendik commented 4 months ago

during usbmuxd startup for iOS Linux connector we see such errors but services could start

[31/05/2024 17:08:48] [INFO] Start containerized usbmuxd service/process
[17:08:48.442][3] usbmuxd v1.1.1 starting up
[17:08:48.442][3] Using libusb 1.0.26
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/121, errno=2
[17:08:48.456][2] Could not open device 5-121: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/120, errno=2
[17:08:48.466][2] Could not open device 5-120: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/023, errno=2
[17:08:48.476][2] Could not open device 1-23: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/051, errno=2
[17:08:48.486][2] Could not open device 1-51: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/046, errno=2
[17:08:48.496][2] Could not open device 1-46: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/127, errno=2
[17:08:48.506][2] Could not open device 5-127: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/003/056, errno=2
[17:08:48.517][2] Could not open device 3-56: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/003, errno=2
[17:08:48.528][2] Could not open device 5-3: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/119, errno=2
[17:08:48.538][2] Could not open device 5-119: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/126, errno=2
[17:08:48.548][2] Could not open device 5-126: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/003/060, errno=2
[17:08:48.558][2] Could not open device 3-60: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/048, errno=2
[17:08:48.568][2] Could not open device 1-48: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/014, errno=2
[17:08:48.578][2] Could not open device 1-14: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/003/054, errno=2
[17:08:48.588][2] Could not open device 3-54: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/045, errno=2
[17:08:48.599][2] Could not open device 1-45: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/115, errno=2
[17:08:48.609][2] Could not open device 5-115: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/058, errno=2
[17:08:48.619][2] Could not open device 1-58: LIBUSB_ERROR_NO_DEVICE
libusb: error [get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/022, errno=2
[17:08:48.629][2] Could not open device 1-22: LIBUSB_ERROR_NO_DEVICE
[17:08:48.629][3] Initialization complete
[17:08:48.630][3] Connecting to new device on location 0x30039 as ID 1
[17:08:48.630][1] Received TCP packet from device 1 but the device isn't active yet, discarding
[17:08:48.630][1] Received TCP packet from device 1 but the device isn't active yet, discarding
[17:08:48.630][3] Connected to v2.0 device 1 on location 0x30039 with serial number 00...801E
[31/05/2024 17:08:50] [INFO] Device '00008...801E' is available.
azarouski commented 3 months ago

This message is result of usbmuxd -f command.

-f means:

Do not daemonize (implies one -v).

-v means:

be verbose (use twice or more to increase verbose level).

Since usbmuxd operates in hot-plug mode, it attempts to monitor all connected devices. The -f flag causes the -v flag to produce expanded output, and we see output messages like these. This message does not affect startup.