summaryrefslogtreecommitdiff
path: root/sysutils/hid-tools/files/patch-man_hid-decode.md
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/hid-tools/files/patch-man_hid-decode.md')
-rw-r--r--sysutils/hid-tools/files/patch-man_hid-decode.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/hid-tools/files/patch-man_hid-decode.md b/sysutils/hid-tools/files/patch-man_hid-decode.md
new file mode 100644
index 000000000000..9f15d0d35296
--- /dev/null
+++ b/sysutils/hid-tools/files/patch-man_hid-decode.md
@@ -0,0 +1,25 @@
+Remove unsupported sysfs-dependent parts from manpage.
+
+--- man/hid-decode.md.orig 2019-03-29 01:29:29 UTC
++++ man/hid-decode.md
+@@ -11,8 +11,6 @@ SYNOPSIS
+
+ **hid-decode** */dev/hidraw0*
+
+-**hid-decode** */dev/input/event0*
+-
+ **hid-decode** *hid-recording*
+
+ DESCRIPTION
+@@ -20,11 +18,8 @@ DESCRIPTION
+ **hid-decode** decodes one or more HID report descriptors into into
+ human-readable format. It supports a variety of inputs:
+
+-- a binary format as exported in sysfs, e.g.
+- _/sys/class/input/event0/device/device/report_descriptor_
+ - the format exported by **hid-recorder(1)**
+ - a _/dev/hidraw_ node
+-- a _/dev/input/event_ node
+
+ The format is deduced based on the input arguments. Undetected formats are
+ assumed to be binary files.