Just the serial port in the first interface should control DTR and RTS lines. This way, the closing of the rest of the ports does not produce a hangup in the communication.
Signed-off-by: Miguel Angel Alvarez <[EMAIL PROTECTED]>
Signed-Off-By: Matthias Urlichs <[EMAIL PROTECTED]>
---
diff -ur linux-2.6.18.4_no_patched/drivers/usb/serial/option.c
linux-2.6.18.4_patched/drivers/usb/serial/option.c
--- linux-2.6.18.4_no_patched/drivers/usb/serial/option.c
2006-12-13 10:45:16.000000000 +0100
+++ linux-2.6.18.4_patched/drivers/usb/serial/option.c 2006-12-14
17:03:02.000000000 +0100
@@ -622,6 +622,9 @@
dbg("%s", __FUNCTION__);
+ if(port->number != 0)
+ return 0;
+
portdata = usb_get_serial_port_data(port);
if (port->tty) {
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
You'd best be snoozin', 'cause you don't be gettin' no work done at 5 a.m.
anyway.
-- From the wall of the Wurster Hall stairwell
signature.asc
Description: Digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
