Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH v3] Input: yealink.rst: Fix typos and wording
@ 2026-09-06  9:55 Manuel Ebner
  2026-09-06 16:33 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Manuel Ebner @ 2026-09-06  9:55 UTC (permalink / raw)
  To: Henk Vergonet, Dmitry Torokhov, Jonathan Corbet, Shuah Khan
  Cc: Manuel Ebner, Randy Dunlap, linux-input, linux-doc, linux-kernel

Improve readability.

Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
CC: Randy Dunlap <rdunlap@infradead.org>
---
[v3]
 fix wording
 droped white-space fixes

[v2]
 add ']' instead of remove '[' as randy suggested
 fix a couple more issues in the file

[v1]
 https://lore.kernel.org/all/20260904121026.759218-3-manuelebnerli@mailbox.org/
---
 Documentation/input/devices/yealink.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/input/devices/yealink.rst b/Documentation/input/devices/yealink.rst
index bb5a1aafe..de1460b6b 100644
--- a/Documentation/input/devices/yealink.rst
+++ b/Documentation/input/devices/yealink.rst
@@ -120,9 +120,10 @@ Reading /sys/../lineX will return the format string with its current value.
 Writing to /sys/../lineX will set the corresponding LCD line.
 
  - Excess characters are ignored.
- - If less characters are written than allowed, the remaining digits are
+ - If fewer characters than allowed are written, the remaining digits are
    unchanged.
- - The tab '\t'and '\n' char does not overwrite the original content.
+ - The tab '\t' and newline '\n' characters do not overwrite the original
+   content.
  - Writing a space to an icon will always hide its content.
 
   Example::
@@ -205,7 +206,7 @@ Troubleshooting
 :Q: Module yealink compiled and installed without any problem but phone
     is not initialized and does not react to any actions.
 :A: If you see something like:
-    hiddev0: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone
+    hiddev0: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone]
     in dmesg, it means that the hid driver has grabbed the device first. Try to
     load module yealink before any other usb hid driver. Please see the
     instructions provided by your distribution on module configuration.
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] Input: yealink.rst: Fix typos and wording
  2026-09-06  9:55 [PATCH v3] Input: yealink.rst: Fix typos and wording Manuel Ebner
@ 2026-09-06 16:33 ` Randy Dunlap
  2026-09-07  0:49   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2026-09-06 16:33 UTC (permalink / raw)
  To: Manuel Ebner, Henk Vergonet, Dmitry Torokhov, Jonathan Corbet,
	Shuah Khan
  Cc: linux-input, linux-doc, linux-kernel

Hi,

On 9/6/26 2:55 AM, Manuel Ebner wrote:
> Improve readability.
> 
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> CC: Randy Dunlap <rdunlap@infradead.org>
> ---
> [v3]
>  fix wording
>  droped white-space fixes
> 
> [v2]
>  add ']' instead of remove '[' as randy suggested
>  fix a couple more issues in the file
> 
> [v1]
>  https://lore.kernel.org/all/20260904121026.759218-3-manuelebnerli@mailbox.org/
> ---
>  Documentation/input/devices/yealink.rst | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/input/devices/yealink.rst b/Documentation/input/devices/yealink.rst
> index bb5a1aafe..de1460b6b 100644
> --- a/Documentation/input/devices/yealink.rst
> +++ b/Documentation/input/devices/yealink.rst
> @@ -120,9 +120,10 @@ Reading /sys/../lineX will return the format string with its current value.
>  Writing to /sys/../lineX will set the corresponding LCD line.
>  
>   - Excess characters are ignored.
> - - If less characters are written than allowed, the remaining digits are
> + - If fewer characters than allowed are written, the remaining digits are
>     unchanged.
> - - The tab '\t'and '\n' char does not overwrite the original content.
> + - The tab '\t' and newline '\n' characters do not overwrite the original
> +   content.

In looking at the produced html, the backslashes above are missing.
This fixes it, although I don't know if it's the best or only fix:

 - The tab '\\t' and newline '\\n' characters do not overwrite the original
   content.

With that fixed:
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

>   - Writing a space to an icon will always hide its content.
>  
>    Example::
> @@ -205,7 +206,7 @@ Troubleshooting
>  :Q: Module yealink compiled and installed without any problem but phone
>      is not initialized and does not react to any actions.
>  :A: If you see something like:
> -    hiddev0: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone
> +    hiddev0: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone]
>      in dmesg, it means that the hid driver has grabbed the device first. Try to
>      load module yealink before any other usb hid driver. Please see the
>      instructions provided by your distribution on module configuration.

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] Input: yealink.rst: Fix typos and wording
  2026-09-06 16:33 ` Randy Dunlap
@ 2026-09-07  0:49   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-09-07  0:49 UTC (permalink / raw)
  To: Manuel Ebner, Henk Vergonet, Dmitry Torokhov, Jonathan Corbet,
	Shuah Khan
  Cc: linux-input, linux-doc, linux-kernel



On 9/6/26 9:33 AM, Randy Dunlap wrote:
> Hi,
> 
> On 9/6/26 2:55 AM, Manuel Ebner wrote:
>> Improve readability.
>>
>> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
>> CC: Randy Dunlap <rdunlap@infradead.org>
>> ---
>> [v3]
>>  fix wording
>>  droped white-space fixes
>>
>> [v2]
>>  add ']' instead of remove '[' as randy suggested
>>  fix a couple more issues in the file
>>
>> [v1]
>>  https://lore.kernel.org/all/20260904121026.759218-3-manuelebnerli@mailbox.org/
>> ---
>>  Documentation/input/devices/yealink.rst | 7 ++++---
>>  1 file changed, 4 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/input/devices/yealink.rst b/Documentation/input/devices/yealink.rst
>> index bb5a1aafe..de1460b6b 100644
>> --- a/Documentation/input/devices/yealink.rst
>> +++ b/Documentation/input/devices/yealink.rst
>> @@ -120,9 +120,10 @@ Reading /sys/../lineX will return the format string with its current value.
>>  Writing to /sys/../lineX will set the corresponding LCD line.
>>  
>>   - Excess characters are ignored.
>> - - If less characters are written than allowed, the remaining digits are
>> + - If fewer characters than allowed are written, the remaining digits are
>>     unchanged.
>> - - The tab '\t'and '\n' char does not overwrite the original content.
>> + - The tab '\t' and newline '\n' characters do not overwrite the original
>> +   content.
> 
> In looking at the produced html, the backslashes above are missing.
> This fixes it, although I don't know if it's the best or only fix:
> 
>  - The tab '\\t' and newline '\\n' characters do not overwrite the original
>    content.

I think this would be better:

 - The tab ``\t`` and newline ``\n`` characters do not overwrite the original
   content.

> 
> With that fixed:
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org>
> 
> Thanks.
> 
>>   - Writing a space to an icon will always hide its content.
>>  
>>    Example::
>> @@ -205,7 +206,7 @@ Troubleshooting
>>  :Q: Module yealink compiled and installed without any problem but phone
>>      is not initialized and does not react to any actions.
>>  :A: If you see something like:
>> -    hiddev0: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone
>> +    hiddev0: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone]
>>      in dmesg, it means that the hid driver has grabbed the device first. Try to
>>      load module yealink before any other usb hid driver. Please see the
>>      instructions provided by your distribution on module configuration.
> 

-- 
~Randy


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-07  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-06  9:55 [PATCH v3] Input: yealink.rst: Fix typos and wording Manuel Ebner
2026-09-06 16:33 ` Randy Dunlap
2026-09-07  0:49   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox