[timestamp] [threadID] facility level [function call] -------------------------------------------------------------------------------- [ 0.002330] [0103bd8c] libusb: debug [libusb_get_device_list] [ 0.002364] [0103bd8c] libusb: debug [libusb_get_device_descriptor] [ 0.002373] [0103bd8c] libusb: debug [libusb_get_config_descriptor] index 0 [ 0.002377] [0103bd8c] libusb: debug [parse_configuration] skipping descriptor 0xb [ 0.002392] [0103bd8c] libusb: debug [libusb_open] open 0.5 [ 0.002426] [0103bd8c] libusb: debug [darwin_open] device open for access [ 0.002462] [0103bd8c] libusb: debug [libusb_submit_transfer] transfer 0x11f66b750 [ 0.002493] [0103bd8c] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout! [ 0.002497] [0103bd8c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling [ 0.002500] [0103bd8c] libusb: debug [handle_events] event sources modified, reallocating event data [ 0.002504] [0103bd8c] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms [ 0.004669] [0103bd8d] libusb: debug [darwin_async_io_callback] an async io operation has completed [ 0.004730] [0103bd8c] libusb: debug [usbi_wait_for_events] poll() returned 1 [ 0.004735] [0103bd8c] libusb: debug [handle_event_trigger] event triggered [ 0.004738] [0103bd8c] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status 0 [ 0.004742] [0103bd8c] libusb: debug [usbi_handle_transfer_completion] transfer 0x11f66b750 has callback 0x1033c099c [ 0.004745] [0103bd8c] libusb: debug [sync_transfer_cb] actual_length=64 [ 0.004752] [0103bd8c] libusb: debug [libusb_free_transfer] transfer 0x11f66b750 [ 0.004786] [0103bd8c] libusb: debug [libusb_submit_transfer] transfer 0x13f606710 [ 0.004806] [0103bd8c] libusb: debug [libusb_get_next_timeout] no URB with timeout or all handled by OS; no timeout! [ 0.004811] [0103bd8c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling [ 0.004814] [0103bd8c] libusb: debug [usbi_wait_for_events] poll() 1 fds with timeout in 60000ms [ 0.117581] [0103bd8d] libusb: debug [darwin_async_io_callback] an async io operation has completed [ 0.117608] [0103bd8c] libusb: debug [usbi_wait_for_events] poll() returned 1 [ 0.117615] [0103bd8c] libusb: debug [handle_event_trigger] event triggered [ 0.117621] [0103bd8c] libusb: debug [darwin_handle_transfer_completion] handling transfer completion type control with kernel status -536854447 [ 0.117627] [0103bd8c] libusb: warning [darwin_transfer_status] transfer error: timed out [ 0.117633] [0103bd8c] libusb: debug [usbi_handle_transfer_completion] transfer 0x13f606710 has callback 0x1033c099c [ 0.117639] [0103bd8c] libusb: debug [sync_transfer_cb] actual_length=64 [ 0.117649] [0103bd8c] libusb: debug [libusb_free_transfer] transfer 0x13f606710 [ 0.117681] [0103bd8c] libusb: debug [libusb_close] [ 0.117729] [0103bd8c] libusb: debug [libusb_exit] [ 0.117752] [0103bd8d] libusb: debug [darwin_event_thread_main] darwin event thread exiting [ 0.117856] [0103bd8c] libusb: debug [libusb_unref_device] destroy device 0.5 [ 0.118109] [0103bd8c] libusb: debug [libusb_unref_device] destroy device 0.3 [ 0.118193] [0103bd8c] libusb: debug [libusb_unref_device] destroy device 0.2 [ 0.118269] [0103bd8c] libusb: debug [libusb_unref_device] destroy device 0.1 [ 0.118475] [0103bd8c] libusb: debug [usbi_remove_event_source] remove fd 3 requested 64 bytes, got 64 Traceback (most recent call last): File "/Users/tlyu/src/py-hid-utils/avrdesc-demo.py", line 8, in b2 = dh.controlRead(0x80, 6, 0x0302, 0, 255, 100) File "/Users/tlyu/src/keyboardio/.venv/lib/python3.10/site-packages/usb1/__init__.py", line 1350, in controlRead transferred = self._controlTransfer( File "/Users/tlyu/src/keyboardio/.venv/lib/python3.10/site-packages/usb1/__init__.py", line 1307, in _controlTransfer mayRaiseUSBError(result) File "/Users/tlyu/src/keyboardio/.venv/lib/python3.10/site-packages/usb1/__init__.py", line 127, in mayRaiseUSBError __raiseUSBError(value) File "/Users/tlyu/src/keyboardio/.venv/lib/python3.10/site-packages/usb1/__init__.py", line 119, in raiseUSBError raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value) usb1.USBErrorTimeout: LIBUSB_ERROR_TIMEOUT [-7]