gregkh / usbutils

USB utilities for Linux, including lsusb
http://www.linux-usb.org
354 stars 199 forks source link

usbreset: Allow idProduct and idVendor to be 0 #165

Closed kristofferkoch closed 1 year ago

kristofferkoch commented 1 year ago

idProduct at least, is valid as 0, and I guess idVendor can typically be left at 0 while developing some new usb thing.

gregkh commented 1 year ago

Ah, nice, 0 is commonly used by "generic" class devices that want to not have to pay for a vendor id, odd that no one has hit this before now.

gregkh commented 1 year ago

Thanks!