Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os 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>

authored by

Randy Dunlap and committed by
Jonathan Corbet
60e89a10 3832d1fd

+15 -8
+15 -8
Documentation/fb/udlfb.rst
··· 86 86 Special configuration for udlfb is usually unnecessary. There are a few 87 87 options, however. 88 88 89 - From the command line, pass options to modprobe 90 - modprobe udlfb fb_defio=0 console=1 shadow=1 89 + From the command line, pass options to modprobe:: 91 90 92 - Or modify options on the fly at /sys/module/udlfb/parameters directory via 93 - sudo nano fb_defio 94 - change the parameter in place, and save the file. 91 + modprobe udlfb fb_defio=0 console=1 shadow=1 95 92 96 - Unplug/replug USB device to apply with new settings 93 + Or change options on the fly by editing 94 + /sys/module/udlfb/parameters/PARAMETER_NAME :: 97 95 98 - Or for permanent option, create file like /etc/modprobe.d/udlfb.conf with text 99 - options udlfb fb_defio=0 console=1 shadow=1 96 + cd /sys/module/udlfb/parameters 97 + ls # to see a list of parameter names 98 + sudo nano PARAMETER_NAME 99 + # change the parameter in place, and save the file. 100 + 101 + Unplug/replug USB device to apply with new settings. 102 + 103 + Or to apply options permanently, create a modprobe configuration file 104 + like /etc/modprobe.d/udlfb.conf with text:: 105 + 106 + options udlfb fb_defio=0 console=1 shadow=1 100 107 101 108 Accepted boolean options: 102 109