Skip to content

default to configuration 0 if the bConfigurationValue file is empty#181

Merged
kevinmehall merged 3 commits intokevinmehall:mainfrom
abdullah-albanna:main
Feb 17, 2026
Merged

default to configuration 0 if the bConfigurationValue file is empty#181
kevinmehall merged 3 commits intokevinmehall:mainfrom
abdullah-albanna:main

Conversation

@abdullah-albanna
Copy link
Contributor

if that file is empty, you'll get locked out, because you can't open the device so you can set a configuration

@kevinmehall
Copy link
Owner

Thanks!

Confirmed that Linux seems to return the empty string rather than 0 in bConfigurationValue when the device is unconfigured.

@kevinmehall kevinmehall merged commit 94dffc4 into kevinmehall:main Feb 17, 2026
8 checks passed
@kevinmehall
Copy link
Owner

Released in v0.2.2.

@abdullah-albanna
Copy link
Contributor Author

Nice

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