Skip to content
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

Example on how to generate dfu-util -l output #16

Open
haata opened this issue Oct 2, 2023 · 0 comments
Open

Example on how to generate dfu-util -l output #16

haata opened this issue Oct 2, 2023 · 0 comments

Comments

@haata
Copy link

haata commented Oct 2, 2023

Thanks for this great library!

One of the things that's been incredibly useful from dfu-util has been dfu-util -l.

While I don't think it needs to be part of dfu-lsusb, it would be nice to have an example that shows you how to implement it yourself. Right now I use dfu-util -l to poll for devices during manufacturing (udev isn't available on Windows 😢 ), so it would be nice to remove the external dependency on dfu-util.

: dfu-util -l       
dfu-util 0.11-dev

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [308f:0028] ver=04fc, devnum=22, cfg=1, intf=0, path="5-2.2", alt=0, name="Kiibohd DFU", serial="533132004E324B46313039303 - sam4s8b:FFFF"
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

No branches or pull requests

1 participant