Skip to content

Windows: include hub devices in list like other platforms #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

tuna-f1sh
Copy link
Contributor

I note there is mention of this in the docs but is it intended or just the nature of only using GUID_DEVINTERFACE_USB_DEVICE? Since importing GUID_DEVINTERFACE_USB_HUB for the list_buses, I realise that non-root hubs can be obtained with this too in the list_devices().

I believe it makes since to add it so hubs are included in the device list. If only because it makes Windows listing the same as the other platforms. I also think it makes sense as hub are devices and descriptors can be read, control messages used etc. unlike root hubs.

@kevinmehall
Copy link
Owner

Yeah, this seems to work, so no reason to exclude them.

@kevinmehall kevinmehall merged commit b3097f5 into kevinmehall:main Oct 19, 2024
8 checks passed
@kachick kachick mentioned this pull request Nov 15, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants