Support for baudrate > 115200
Bug #434529 reported by
JohnMayer
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTKTerm |
Unknown
|
Unknown
|
|||
gtkterm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gtkterm
gtkterm does not support configuring a serial port with a baudrate > 115200
tags: | added: patch patch-forwarded-upstream |
To post a comment you must log in.
Here is a simple patch to add support for baudrate 230400
diff -u orig/src/serie.c modif/src/serie.c
termios_ p.c_cflag = B115200; config. bits)
--- orig/src/serie.c 2005-09-22 21:49:38.000000000 +0200
+++ modif/src/serie.c 2009-09-22 09:26:23.000000000 +0200
@@ -253,6 +253,9 @@
case 115200:
break;
+ case 230400:
+ termios_p.c_cflag = B230400;
+ break;
}
switch(
{
diff -u orig/src/config.c modif/src/config.c append( liste, "38400"); append( liste, "57600"); append( liste, "115200"); append( liste, "230400"); combo_set_ popdown_ strings( GTK_COMBO( Combo), liste); combo_set_ value_in_ list(GTK_ COMBO(Combo) , TRUE, FALSE);
--- orig/src/config.c 2005-11-14 20:43:56.000000000 +0100
+++ modif/src/config.c 2009-09-22 09:27:42.000000000 +0200
@@ -216,6 +216,7 @@
liste = g_list_
liste = g_list_
liste = g_list_
+ liste = g_list_
gtk_
gtk_
@@ -936,6 +937,7 @@
case 38400:
case 57600:
case 115200:
+ case 230400:
break;
default: