Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c33ba392 authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Greg Kroah-Hartman
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Acked-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent aacf4a01
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -114,11 +114,11 @@ modules.
Then you must load the gadget serial driver.  To load it as an
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:

  modprobe g_serial
  modprobe g_serial use_acm=0

This will also automatically load the underlying gadget peripheral
controller driver.  This must be done each time you reboot the gadget