提交 c33ba392 编写于 作者: P Peter Korsgaard 提交者: Greg Kroah-Hartman

USB: Documentation/usb/gadget_serial.txt: update to match driver use_acm behaviour

Commit 7bb5ea54 (usb gadget serial: use composite gadget framework)
changed the default for the use_acm parameter from 0 to 1.
Update the documentation to match.
Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
Acked-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 aacf4a01
...@@ -114,11 +114,11 @@ modules. ...@@ -114,11 +114,11 @@ modules.
Then you must load the gadget serial driver. To load it as an Then you must load the gadget serial driver. To load it as an
ACM device (recommended for interoperability), do this: ACM device (recommended for interoperability), do this:
modprobe g_serial use_acm=1 modprobe g_serial
To load it as a vendor specific bulk in/out device, do this: To load it as a vendor specific bulk in/out device, do this:
modprobe g_serial modprobe g_serial use_acm=0
This will also automatically load the underlying gadget peripheral This will also automatically load the underlying gadget peripheral
controller driver. This must be done each time you reboot the gadget controller driver. This must be done each time you reboot the gadget
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册