-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Sat, 2020-12-12 at 21:31 +0100, Aurelien Jarno wrote: > > If you need more information don't hesitate to ask (I guess you don't > > have an iDevice to plug for testing). > > Indeed, I do not have such a device. As a first step, it would be nice > if you can set the environment variable LIBUSB_DEBUG=99 and run lsusb. > That should give us an idea why the device is ignored.
I also did a bisect run between v1.0.22 and HEAD (upstream repository) and here's the result: e2be556bd262cd260bebe3fc724509692537eba3 is the first bad commit commit e2be556bd262cd260bebe3fc724509692537eba3 Author: Chris Dickens <christopher.a.dick...@gmail.com> Date: Wed Apr 29 12:39:35 2020 -0700 linux_usbfs: Parse config descriptors during device initialization Do the work ahead of time and cache the results so that fetching config descriptors becomes a trivial operation. Signed-off-by: Chris Dickens <christopher.a.dick...@gmail.com> libusb/os/linux_usbfs.c | 263 ++++++++++++++++++++++++++--------------------- - - libusb/version_nano.h | 2 +- 2 files changed, 145 insertions(+), 120 deletions(-) bisect run success With the following bisect log: git bisect start # bad: [c6a35c56016ea2ab2f19115d2ea1e85e0edae155] libusb 1.0.24 git bisect bad c6a35c56016ea2ab2f19115d2ea1e85e0edae155 # good: [0034b2afdcdb1614e78edaa2a9e22d5936aeae5d] libusb 1.0.22 git bisect good 0034b2afdcdb1614e78edaa2a9e22d5936aeae5d # good: [48200f2cc23633899270e7c666ac7e948ead8df1] core: Fix build on linux git bisect good 48200f2cc23633899270e7c666ac7e948ead8df1 # bad: [26611eaa494ed9e077b5b0e1f999f5ae377de958] Windows: Translate ERROR_NO_SUCH_DEVICE to LIBUSB_TRANSFER_NO_DEVICE git bisect bad 26611eaa494ed9e077b5b0e1f999f5ae377de958 # good: [09d0312fbb466ce2457df94e314ba1348039138d] Xcode: Update project file git bisect good 09d0312fbb466ce2457df94e314ba1348039138d # good: [71a3fb3faadb79c2ccff8f23f0520e4015f547f3] Android: fixes unknown warning option from ndk build git bisect good 71a3fb3faadb79c2ccff8f23f0520e4015f547f3 # good: [e873677b9196b191d6cdbdf9783c6d6a18379249] descriptor: Minor improvements to the parse_descriptor() function git bisect good e873677b9196b191d6cdbdf9783c6d6a18379249 # good: [8476804b283cfed82aec5e45301b51be3ad68e99] descriptor: Remove usbi_get_config_index_by_value() git bisect good 8476804b283cfed82aec5e45301b51be3ad68e99 # good: [14a302a2f55cb2e619158854f94845f2ca2c8214] sunos: Fix a number of compiler warnings git bisect good 14a302a2f55cb2e619158854f94845f2ca2c8214 # bad: [e2be556bd262cd260bebe3fc724509692537eba3] linux_usbfs: Parse config descriptors during device initialization git bisect bad e2be556bd262cd260bebe3fc724509692537eba3 # good: [e9eec3a680cad3b2c9c5213fb7d60148cf6900da] core: Narrow the types passed to certain backend functions git bisect good e9eec3a680cad3b2c9c5213fb7d60148cf6900da # first bad commit: [e2be556bd262cd260bebe3fc724509692537eba3] linux_usbfs: Parse config descriptors during device initialization I can't just git revert the bad commit on top of master (there are conflicts), but it's worth looking at it. Regards, - -- Yves-Alexis -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAl/V7SwACgkQ3rYcyPpX RFvvowf7BoqO00heSNbxsg9mUSAIfadHNhDEbT9wHHK383SVYUeFO7XYvqsuH5La WZGKYoL1FGVNm4d6xUpmiCo44FOzoVgFK1n9Oh91YPt3guPCQFb/eWXk/szafpwl yRZ8N7ceFDcGdimVozkOIM6WQXHi3q3sH2IxzUWCzSmlpzPu/J6qkKb+6aEcBoC7 21Nq+7NhJsmtQog7Nwue2egcLucfP5VhGrz0cr5ySGY81o0tASi4ItnWzNNckKhu Otj2IB5Oz7VbK90DAbAv9qSXmHqYu7iu6wLmI1HuvqGFKwN96Zdkfc/You8wfq1I aaQzV26TTSFmiWniCckgK60B6MWlmw== =4/+F -----END PGP SIGNATURE-----