-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Return kernel driver name -- New API #1225
Comments
Reference issue from avrdude project. |
Maybe IOKit for macOS. Not likely going to change but that is the actual driver we are using. |
Hello @mcuee : do you know if someone is working on this? |
As far as I know, nobody is working on this. |
I volunteer to implement it if it is still needed (It looks like it is given the diversity of
And expose that in libusb.h
And I would implement that method in all the backends. Would that work with libusb approvers (@mcuee ?) or there is a better to implement it? |
Looks like a good plan. A PR will be welcome. But before submitting a PR, let's hear from @hjelmn and @tormodvolden to see if they like the proposal or not. |
Ping @hjelmn / @tormodvolden ? |
@fabiensanglard : this looks good to me. I was wondering whether this information could be added to an existing structure returned by an function of the current API, but I didn't find a match, so I am OK with augmenting the API. It would be even cooler to be able to retrieve the driver version alongside the driver name, but this is another completely different story and may not apply to all backend. |
We are a bit busy with releasing 1.0.27 now. I will come back to this later. |
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Sorry about the presubmit spam. Next time, I will add the issue reference once all tests are passing to avoid it. I still need to figure out the signing but #1404 is in reviewable state. |
Hello, thank you. Don't worry about / waste your time with signing your commit, it is actually not a requirement here (as opposed to what is said by the "Merge is blocked". See for instance this answer from an admin: #1397 (comment) |
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Fixes issue libusb#1225
Right now we only provide the driver name (WinUSB, libusb0.sys or libusbk.sys) in debug messages. It will be good to provide this function. For other OS, we can returen a generic name.
Windows -- return
WinUSB
,libusbK
orlibusb-win32
accordingly.Linux -- return
usbfs
macOS -- return
NIL
-->IOKit
BSDs -- return
ugen
The text was updated successfully, but these errors were encountered: