From patchwork Sun Aug 28 19:25:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 600795 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA285ECAAD5 for ; Sun, 28 Aug 2022 19:25:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbiH1TZP (ORCPT ); Sun, 28 Aug 2022 15:25:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbiH1TZP (ORCPT ); Sun, 28 Aug 2022 15:25:15 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AB0721278; Sun, 28 Aug 2022 12:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=zAHYVCWMSa2GkiBj19jjzwY2RqRsZ7LJnQxJnAPq1zg=; b=P8V23faQAMfvwOClKJ6XIrXpzc KjvzHK7UOfyVy5euPzpRpwmPhLitNhoO1U1LzN8AITpRZSZbQbMW7NV05FfFcuPV0YVfaEnH8mjCS gzTsXoBKPMZ6s2VWNGXcID7GDzzv7T/aEIRQcu5I7YrNv0QbqwehoYqNevXumHr2RlVN8YWn+FrPf DPyFU/tqyX8J9yYsmm40FlH9uyGArTnvcwKOo+EXSkluSDpx3S6g7ncmDSd7Y0fzAD7WHJQNQLli0 AO6xPgDTmdR4cq3W7cThLVs1WfS89quANJpwPMk0IzC1LuAPO+reGc8QqcZr07E8rA/Nh0XCFSVg1 s4NeraQQ==; Received: from [2601:1c0:6280:3f0::a6b3] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSNu7-002SHO-D7; Sun, 28 Aug 2022 19:25:07 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Bernie Thompson , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Helge Deller , Jonathan Corbet , linux-doc@vger.kernel.org, Bagas Sanjaya Subject: [PATCH v2] Documentation: fb: udlfb: clean up text and formatting Date: Sun, 28 Aug 2022 12:25:01 -0700 Message-Id: <20220828192501.14232-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Clean up punctuation, spelling, and formatting for command line usage and modprobe config file usage in udlfb.rst. Signed-off-by: Randy Dunlap Cc: Bernie Thompson Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: Helge Deller Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Cc: Bagas Sanjaya --- 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: