[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220828192501.14232-1-rdunlap@infradead.org>
Date: Sun, 28 Aug 2022 12:25:01 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Bernie Thompson <bernie@...gable.com>,
linux-fbdev@...r.kernel.org, dri-devel@...ts.freedesktop.org,
Helge Deller <deller@....de>, Jonathan Corbet <corbet@....net>,
linux-doc@...r.kernel.org, Bagas Sanjaya <bagasdotme@...il.com>
Subject: [PATCH v2] Documentation: fb: udlfb: clean up text and formatting
Clean up punctuation, spelling, and formatting for command line usage
and modprobe config file usage in udlfb.rst.
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Bernie Thompson <bernie@...gable.com>
Cc: linux-fbdev@...r.kernel.org
Cc: dri-devel@...ts.freedesktop.org
Cc: Helge Deller <deller@....de>
Cc: Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org
Cc: Bagas Sanjaya <bagasdotme@...il.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:
Powered by blists - more mailing lists