[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#528560: debian (lenny) installer via serial console does not support hardware flow control (for serial over lan)



reassign 528560 busybox-udeb
thanks

Hello,

Frans Pop, le Wed 13 May 2009 21:29:11 +0200, a écrit :
> The hardware control issue might possibly be a bug/limitation of busybox. 
> Just a wild guess though.

Which was correct.  Here is a trivial patch that fixes it.

Samuel
--- init/init.c.original	2010-10-17 20:12:02.000000000 +0200
+++ init/init.c	2010-10-17 20:12:17.000000000 +0200
@@ -232,7 +232,11 @@
 #endif
 
 	/* Make it be sane */
-	tty.c_cflag &= CBAUD | CBAUDEX | CSIZE | CSTOPB | PARENB | PARODD;
+	tty.c_cflag &= CBAUD | CBAUDEX | CSIZE | CSTOPB | PARENB | PARODD
+#ifdef CRTSCTS
+		| CRTSCTS
+#endif
+		;
 	tty.c_cflag |= CREAD | HUPCL | CLOCAL;
 
 	/* input modes */

Reply to: