forked from Minki/linux
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@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> Link: https://lore.kernel.org/r/20220828192501.14232-1-rdunlap@infradead.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
3832d1fd84
commit
60e89a10ee
@ -86,17 +86,24 @@ Module Options
|
|||||||
Special configuration for udlfb is usually unnecessary. There are a few
|
Special configuration for udlfb is usually unnecessary. There are a few
|
||||||
options, however.
|
options, however.
|
||||||
|
|
||||||
From the command line, pass options to modprobe
|
From the command line, pass options to modprobe::
|
||||||
modprobe udlfb fb_defio=0 console=1 shadow=1
|
|
||||||
|
|
||||||
Or modify options on the fly at /sys/module/udlfb/parameters directory via
|
modprobe udlfb fb_defio=0 console=1 shadow=1
|
||||||
sudo nano fb_defio
|
|
||||||
change the parameter in place, and save the file.
|
|
||||||
|
|
||||||
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
|
cd /sys/module/udlfb/parameters
|
||||||
options udlfb fb_defio=0 console=1 shadow=1
|
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:
|
Accepted boolean options:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user