mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Porter <matt.porter@linaro.org>
To: Rob Landley <rob@landley.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Linux USB List <linux-usb@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Documentation List <linux-doc@vger.kernel.org>,
	Linaro Patches <patches@linaro.org>
Subject: [PATCH] Documentation: document all g_serial module parameters
Date: Thu, 15 Aug 2013 17:17:26 -0400	[thread overview]
Message-ID: <1376601446-16044-1-git-send-email-matt.porter@linaro.org> (raw)

Add a table explaining the module parameters that g_serial
digests.

Signed-off-by: Matt Porter <matt.porter@linaro.org>
---
 Documentation/usb/gadget_serial.txt |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Documentation/usb/gadget_serial.txt b/Documentation/usb/gadget_serial.txt
index 61e67f6..d5eb27b 100644
--- a/Documentation/usb/gadget_serial.txt
+++ b/Documentation/usb/gadget_serial.txt
@@ -125,6 +125,19 @@ controller driver.  This must be done each time you reboot the gadget
 side Linux system.  You can add this to the start up scripts, if
 desired.
 
+Additionally, there are several module parameters to change g_serial
+behavior:
+
+	Parameter	Default		Description
+	---------	-------		-----------
+	use_acm		1		CDC ACM device
+	use_obex	0		CDC OBEX device
+	n_ports		1		Ports to instantiate
+
+To load g_serial as two ACM ports do this:
+
+  modprobe g_serial n_ports=2
+
 Your system should use mdev (from busybox) or udev to make the
 device nodes.  After this gadget driver has been set up you should
 then see a /dev/ttyGS0 node:
-- 
1.7.9.5


                 reply	other threads:[~2013-08-15 21:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1376601446-16044-1-git-send-email-matt.porter@linaro.org \
    --to=matt.porter@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=rob@landley.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®