Skip to content

Commit

Permalink
usb gadget: cdc obex glue
Browse files Browse the repository at this point in the history
The following patch introduces a new f_obex.c function driver.
It allows userspace obex servers to use usb as transport layer
for their messages.

[ dbrownell@users.sourceforge.net: various fixes and cleanups ]

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Oct 17, 2008
1 parent 60beed9 commit 3086775
Show file tree
Hide file tree
Showing 6 changed files with 479 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Documentation/DocBook/gadget.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,9 @@ Near-term plans include converting all of them, except for "gadgetfs".
</para>

!Edrivers/usb/gadget/f_acm.c
!Edrivers/usb/gadget/f_ecm.c
!Edrivers/usb/gadget/f_subset.c
!Edrivers/usb/gadget/f_obex.c
!Edrivers/usb/gadget/f_serial.c

</sect1>
Expand Down
8 changes: 6 additions & 2 deletions drivers/usb/gadget/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -576,19 +576,23 @@ config USB_FILE_STORAGE_TEST
normal operation.

config USB_G_SERIAL
tristate "Serial Gadget (with CDC ACM support)"
tristate "Serial Gadget (with CDC ACM and CDC OBEX support)"
help
The Serial Gadget talks to the Linux-USB generic serial driver.
This driver supports a CDC-ACM module option, which can be used
to interoperate with MS-Windows hosts or with the Linux-USB
"cdc-acm" driver.

This driver also supports a CDC-OBEX option. You will need a
user space OBEX server talking to /dev/ttyGS*, since the kernel
itself doesn't implement the OBEX protocol.

Say "y" to link the driver statically, or "m" to build a
dynamically linked module called "g_serial".

For more information, see Documentation/usb/gadget_serial.txt
which includes instructions and a "driver info file" needed to
make MS-Windows work with this driver.
make MS-Windows work with CDC ACM.

config USB_MIDI_GADGET
tristate "MIDI Gadget (EXPERIMENTAL)"
Expand Down
Loading

0 comments on commit 3086775

Please sign in to comment.