]> git.baikalelectronics.ru Git - kernel.git/commit
USB: RTS/DTR signal patch for airprime driver
authorMartin Schiller <mschiller@tdt.de>
Thu, 1 Mar 2007 12:49:48 +0000 (13:49 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Mar 2007 03:52:24 +0000 (19:52 -0800)
commitcc4e9786182809485b055c39762cca8780dfd579
tree6ee841b41ce4039266c47e2c819c18733502bd35
parentbfea31e2f11ca267bf446db9a6eec6e9f0bf7640
USB: RTS/DTR signal patch for airprime driver

I encountered some problems with the airprime driver in use with a Novatel
Merlin XU870:

Closing an open Connection to e.g. /dev/ttyUSB0 doesn't reset the
RTS/DTR lines of the Modem.  Consequently, when I use minicom to
establish a connection by "ATD*99#" the modem doesn't hang up even if i
exit minicom and so I cannot reuse the modem unless I remove it and plug
it in again.

With the attached patch, the RTS/DTR lines are resetted on a close.  The
code was mainly taken from the option.c driver.
drivers/usb/serial/airprime.c