Ticket #112 (closed enhancement: fixed)

Opened 2 years ago

Last modified 18 months ago

darwin: improved device enumeration

Reported by: hjelmn Owned by: hjelmn
Milestone: Component: libusb-1.0
Keywords: Cc: sean@…
Blocked By: Blocks:

Description

Updated device enumeration code to catch some buggy devices.

Attachments

darwin_device_enumeration.patch (10.5 KB) - added by hjelmn 2 years ago.

Download all attachments as: .zip

Change History

Changed 2 years ago by hjelmn

comment:1 Changed 21 months ago by rogueresearch

  • Cc sean@… added

comment:2 Changed 20 months ago by rogueresearch

I'm not sure what this bug is, but am generally interested in darwin-related fixes.

Will this fix be in 1.0.9?

comment:3 Changed 20 months ago by hjelmn

  • Resolution set to fixed
  • Status changed from new to closed

Already in 1.0.9rc.

Last edited 20 months ago by hjelmn (previous) (diff)

comment:4 Changed 20 months ago by hjelmn

Ack, wrong ticket. This ticket generally improves enumeration. There is also a fix that should allow for the enumeration of finicky devices (devices that don't always return a descriptor).

comment:5 Changed 18 months ago by Nathan Hjelm <hjelmn@…>

In [0db8cba7f2c372f0127c7df9724e5a35e93f2069/libusb]:

Darwin: Improve device enumeration performance

The device location is saved, and later used whenever iterating over
devices. Fixes #111 and #112.

[stuge: Formatting fixes and split out libusb_get_device_speed() change]
[stuge: Combine with patch that uses the saved device location]

Note: See TracTickets for help on using tickets.