<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/network/utils/comgt/patches/004-check_tty.patch, branch v17.01.4</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>comgt: Use TCGETS and TCSETS ioctls for struct termios</title>
<updated>2015-02-22T08:29:26+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-02-22T08:29:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=291e04ee8f47b86cbe3b63f2434c1c5e80bab678'/>
<id>291e04ee8f47b86cbe3b63f2434c1c5e80bab678</id>
<content type='text'>
When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

Signed-off-by: Matti Laakso &lt;malaakso@elisanet.fi&gt;

SVN-Revision: 44506
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

Signed-off-by: Matti Laakso &lt;malaakso@elisanet.fi&gt;

SVN-Revision: 44506
</pre>
</div>
</content>
</entry>
<entry>
<title>comgt: Allow using non-TTY devices</title>
<updated>2015-01-20T06:33:49+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-01-20T06:33:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=eb6acdf6b4b90ace25bc5194c81442a84dd0a026'/>
<id>eb6acdf6b4b90ace25bc5194c81442a84dd0a026</id>
<content type='text'>
Some Huawei mobile broadband sticks utilizing the NCM protocol expose
the control channel as a cdc-wdm device node instead of a virtual TTY.
This device node does not support the terminal ioctls. This patch
adds a check whether the provided device is a TTY or not and does not
attempt to use the terminal ioctls if they are not supported.

v2: reduce diffstat by simplifying code a little
Signed-off-by: Matti Laakso &lt;malaakso@elisanet.fi&gt;

SVN-Revision: 44054
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some Huawei mobile broadband sticks utilizing the NCM protocol expose
the control channel as a cdc-wdm device node instead of a virtual TTY.
This device node does not support the terminal ioctls. This patch
adds a check whether the provided device is a TTY or not and does not
attempt to use the terminal ioctls if they are not supported.

v2: reduce diffstat by simplifying code a little
Signed-off-by: Matti Laakso &lt;malaakso@elisanet.fi&gt;

SVN-Revision: 44054
</pre>
</div>
</content>
</entry>
</feed>
