lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 15 Aug 2013 17:17:26 -0400
From:	Matt Porter <matt.porter@...aro.org>
To:	Rob Landley <rob@...dley.net>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Linux USB List <linux-usb@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linux Documentation List <linux-doc@...r.kernel.org>,
	Linaro Patches <patches@...aro.org>
Subject: [PATCH] Documentation: document all g_serial module parameters

Add a table explaining the module parameters that g_serial
digests.

Signed-off-by: Matt Porter <matt.porter@...aro.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ