Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1598575 > unrolled thread
| Started by | Martin Kepplinger <martink@posteo.de> |
|---|---|
| First post | 2017-03-12 13:00 +0100 |
| Last post | 2017-03-14 00:20 +0100 |
| Articles | 5 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/4] Documentation: hid: fix path to input bus definitions Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
[PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
[PATCH 2/4] Documentation: input: fix path to input code defnitions Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
[PATCH 3/4] Documentation: admin-guide: fix path to input key definitions Martin Kepplinger <martink@posteo.de> - 2017-03-12 13:00 +0100
Re: [PATCH 1/4] Documentation: hid: fix path to input bus definitions Jonathan Corbet <corbet@lwn.net> - 2017-03-14 00:20 +0100
| From | Martin Kepplinger <martink@posteo.de> |
|---|---|
| Date | 2017-03-12 13:00 +0100 |
| Subject | [PATCH 1/4] Documentation: hid: fix path to input bus definitions |
| Message-ID | <tkakh-Zu-1@gated-at.bofh.it> |
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger <martink@posteo.de> --- Documentation/hid/hidraw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/hid/hidraw.txt b/Documentation/hid/hidraw.txt index 029e6cb..c8436e3 100644 --- a/Documentation/hid/hidraw.txt +++ b/Documentation/hid/hidraw.txt @@ -81,7 +81,7 @@ of: BUS_HIL BUS_BLUETOOTH BUS_VIRTUAL -which are defined in linux/input.h. +which are defined in uapi/linux/input.h. HIDIOCGRAWNAME(len): Get Raw Name This ioctl returns a string containing the vendor and product strings of -- 2.1.4
[toc] | [next] | [standalone]
| From | Martin Kepplinger <martink@posteo.de> |
|---|---|
| Date | 2017-03-12 13:00 +0100 |
| Subject | [PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition |
| Message-ID | <tkakh-Zu-17@gated-at.bofh.it> |
| In reply to | #1598575 |
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger <martink@posteo.de> --- Documentation/input/ff.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/input/ff.txt b/Documentation/input/ff.txt index b3867bf..be742ee 100644 --- a/Documentation/input/ff.txt +++ b/Documentation/input/ff.txt @@ -106,9 +106,9 @@ allocate a new effect. Effects are file descriptor specific. -See <linux/input.h> for a description of the ff_effect struct. You should also -find help in a few sketches, contained in files shape.fig and interactive.fig. -You need xfig to visualize these files. +See <uapi/linux/input.h> for a description of the ff_effect struct. You should +also find help in a few sketches, contained in files shape.fig and +interactive.fig. You need xfig to visualize these files. 3.3 Removing an effect from the device ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.1.4
[toc] | [prev] | [next] | [standalone]
| From | Martin Kepplinger <martink@posteo.de> |
|---|---|
| Date | 2017-03-12 13:00 +0100 |
| Subject | [PATCH 2/4] Documentation: input: fix path to input code defnitions |
| Message-ID | <tkakh-Zu-9@gated-at.bofh.it> |
| In reply to | #1598575 |
The UAPI header split failed to update the documentation in input-programming.txt; fix things accordingly. Signed-off-by: Martin Kepplinger <martink@posteo.de> --- Documentation/input/input-programming.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/input/input-programming.txt b/Documentation/input/input-programming.txt index 7f8b9d9..c3b940b 100644 --- a/Documentation/input/input-programming.txt +++ b/Documentation/input/input-programming.txt @@ -174,8 +174,8 @@ It's reported to the input system via: input_report_key(struct input_dev *dev, int code, int value) -See linux/input.h for the allowable values of code (from 0 to KEY_MAX). -Value is interpreted as a truth value, ie any nonzero value means key +See uapi/linux/input-event-codes.h for the allowable values of code (from 0 to +KEY_MAX). Value is interpreted as a truth value, ie any nonzero value means key pressed, zero value means key released. The input code generates events only in case the value is different from before. -- 2.1.4
[toc] | [prev] | [next] | [standalone]
| From | Martin Kepplinger <martink@posteo.de> |
|---|---|
| Date | 2017-03-12 13:00 +0100 |
| Subject | [PATCH 3/4] Documentation: admin-guide: fix path to input key definitions |
| Message-ID | <tkaki-Zu-21@gated-at.bofh.it> |
| In reply to | #1598575 |
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger <martink@posteo.de> --- Documentation/admin-guide/sysrq.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/sysrq.rst b/Documentation/admin-guide/sysrq.rst index d1712ea..7b9035c 100644 --- a/Documentation/admin-guide/sysrq.rst +++ b/Documentation/admin-guide/sysrq.rst @@ -212,7 +212,8 @@ I hit SysRq, but nothing seems to happen, what's wrong? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There are some keyboards that produce a different keycode for SysRq than the -pre-defined value of 99 (see ``KEY_SYSRQ`` in ``include/linux/input.h``), or +pre-defined value of 99 +(see ``KEY_SYSRQ`` in ``include/uapi/linux/input-event-codes.h``), or which don't have a SysRq key at all. In these cases, run ``showkey -s`` to find an appropriate scancode sequence, and use ``setkeycodes <sequence> 99`` to map this sequence to the usual SysRq code (e.g., ``setkeycodes e05b 99``). It's -- 2.1.4
[toc] | [prev] | [next] | [standalone]
| From | Jonathan Corbet <corbet@lwn.net> |
|---|---|
| Date | 2017-03-14 00:20 +0100 |
| Subject | Re: [PATCH 1/4] Documentation: hid: fix path to input bus definitions |
| Message-ID | <tkHpU-85V-19@gated-at.bofh.it> |
| In reply to | #1598575 |
On Sun, 12 Mar 2017 12:54:21 +0100 Martin Kepplinger <martink@posteo.de> wrote: > The UAPI header split failed to update the documentation here; fix things > accordingly. I've applied all four to the docs tree, thanks. jon
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web