On Mon, Feb 03, 2025 at 07:20:01PM +0100, Aurelien Jarno wrote: > Hi, > > On 2025-01-24 23:44, Bjarni Ingi Gislason wrote: [...] > > Thanks for the patch. As the man page is coming from upstream, I would > like to get fixed there. Could you please either report it there [1] or > send me a patch with a proper Signed-off-by that I can forward there? > > Thanks > Aurelien > > [1] https://github.com/gregkh/usbutils > > -- > Aurelien Jarno GPG: 4096R/1DDD8C9B > aurel...@aurel32.net http://aurel32.net
The patch is now a little improved. Difference was created with "git diff --no-index". Patch is in the attachment.
Some cleaning of macro lines, "for" added to one line, text for one example corrected. The full report is in the Debian bug tracker #1094140. Signed-off-by: Bjarni Ingi Gislason <bjarn...@simnet.is> --- diff --git a/usbreset.1 b/usbreset.1.new index e10bf6f..75d37ec 100644 --- a/usbreset.1 +++ b/usbreset.1.new @@ -1,6 +1,6 @@ .\" SPDX-License-Identifier: GPL-2.0-only .\" Copyright (c) 2023 Aurelien Jarno <aurel...@aurel32.net> -.TH usbreset 1 "04 January 2024" "usbutils" "Linux USB Utilities" +.TH usbreset 1 "04 January 2024" usbutils "Linux USB Utilities" .IX usbreset .SH NAME usbreset \- send a USB port reset to a USB device @@ -12,17 +12,18 @@ usbreset \- send a USB port reset to a USB device .SH DESCRIPTION .B usbreset -is a utility that performs resets on USB devices. It is particularly useful +is a utility that performs resets on USB devices. +It is particularly useful for situations where a USB device is unresponsive or exhibits erratic behavior. The USB \fIdevice\fP to be reset can be specified in one of three formats: .TP -.BR PPPP:VVVV +.B PPPP:VVVV Reset by product and vendor IDs .TP -.BR BBB/DDD +.B BBB/DDD Reset by bus and device number .TP -.BR "Product" +.B Product Reset by product name .PP When run without any arguments, @@ -35,7 +36,7 @@ If the specified device is not found, a non-zero exit code is returned. .SH EXAMPLES .TP -Reset device with vendor ID 1234 and product ID 5678: +Reset device with product ID 1234 and vendor ID 5678: .B usbreset 1234:5678 .TP