You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most (all?) times that USB VID/PID values are written they are written as hexadecimal without the 0x prefix. This is confusing when using cargo hf2 because you end up with errors like:
$ cargo hf2 --vid 2886 --pid 002f --example blink
error: Invalid value for '--pid <pid>': invalid digit found in string
udev rules and lsusb both print these values without the 0x prefix, so it feels unergonomic to reject those same values here.
The text was updated successfully, but these errors were encountered:
On Sun, Apr 12, 2020, 5:39 PM Garret Kelly ***@***.***> wrote:
Most (all?) times that USB VID/PID values are written they are written as
hexadecimal without the 0x prefix. This is confusing when using cargo hf2
because you end up with errors like:
$ cargo hf2 --vid 2886 --pid 002f --example blink
error: Invalid value for '--pid <pid>': invalid digit found in string
udev rules and lsusb both print these values without the 0x prefix, so it
feels unergonomic to reject those same values here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADPI5A5ZNMXD6DR5RFAEADRMJNMHANCNFSM4MGT6XBQ>
.
Most (all?) times that USB VID/PID values are written they are written as hexadecimal without the
0x
prefix. This is confusing when usingcargo hf2
because you end up with errors like:udev rules and lsusb both print these values without the
0x
prefix, so it feels unergonomic to reject those same values here.The text was updated successfully, but these errors were encountered: