dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Documentation: fb: udlfb: clean up text and formatting
@ 2022-08-28 19:25 Randy Dunlap
  2022-09-21 20:12 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2022-08-28 19:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-fbdev, Jonathan Corbet, Helge Deller, Randy Dunlap,
	linux-doc, Bernie Thompson, dri-devel, Bagas Sanjaya

Clean up punctuation, spelling, and formatting for command line usage
and modprobe config file usage in udlfb.rst.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Bernie Thompson <bernie@plugable.com>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: Helge Deller <deller@gmx.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: Bagas Sanjaya <bagasdotme@gmail.com>
---
v2: use some text suggestions from Bagas Sanjaya (Thanks);
    add a '.' at the end of a sentence.

 Documentation/fb/udlfb.rst |   23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

--- a/Documentation/fb/udlfb.rst
+++ b/Documentation/fb/udlfb.rst
@@ -86,17 +86,24 @@ Module Options
 Special configuration for udlfb is usually unnecessary. There are a few
 options, however.
 
-From the command line, pass options to modprobe
-modprobe udlfb fb_defio=0 console=1 shadow=1
+From the command line, pass options to modprobe::
 
-Or modify options on the fly at /sys/module/udlfb/parameters directory via
-sudo nano fb_defio
-change the parameter in place, and save the file.
+  modprobe udlfb fb_defio=0 console=1 shadow=1
 
-Unplug/replug USB device to apply with new settings
+Or change options on the fly by editing
+/sys/module/udlfb/parameters/PARAMETER_NAME ::
 
-Or for permanent option, create file like /etc/modprobe.d/udlfb.conf with text
-options udlfb fb_defio=0 console=1 shadow=1
+  cd /sys/module/udlfb/parameters
+  ls # to see a list of parameter names
+  sudo nano PARAMETER_NAME
+  # change the parameter in place, and save the file.
+
+Unplug/replug USB device to apply with new settings.
+
+Or to apply options permanently, create a modprobe configuration file
+like /etc/modprobe.d/udlfb.conf with text::
+
+  options udlfb fb_defio=0 console=1 shadow=1
 
 Accepted boolean options:
 

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

* Re: [PATCH v2] Documentation: fb: udlfb: clean up text and formatting
  2022-08-28 19:25 [PATCH v2] Documentation: fb: udlfb: clean up text and formatting Randy Dunlap
@ 2022-09-21 20:12 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2022-09-21 20:12 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: linux-fbdev, linux-doc, Helge Deller, Randy Dunlap,
	Bernie Thompson, dri-devel, Bagas Sanjaya

Randy Dunlap <rdunlap@infradead.org> writes:

> Clean up punctuation, spelling, and formatting for command line usage
> and modprobe config file usage in udlfb.rst.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Bernie Thompson <bernie@plugable.com>
> Cc: linux-fbdev@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org
> Cc: Helge Deller <deller@gmx.de>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Cc: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
> v2: use some text suggestions from Bagas Sanjaya (Thanks);
>     add a '.' at the end of a sentence.
>
>  Documentation/fb/udlfb.rst |   23 +++++++++++++++--------
>  1 file changed, 15 insertions(+), 8 deletions(-)

Applied, thanks.

jon

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

end of thread, other threads:[~2022-09-21 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-28 19:25 [PATCH v2] Documentation: fb: udlfb: clean up text and formatting Randy Dunlap
2022-09-21 20:12 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).