Re: [PATCH] wwan/ppp: send explicit port speed to pppd when port speed is zero (rh #1281731)

On Fri, 2016-10-07 at 19:46 +0200, Thomas Haller wrote:
On Fri, 2016-10-07 at 12:28 -0500, Dan Williams wrote:

Some TTY drivers or devices appear to ignore port speed and always
report zero.  Technically this means the port is hung up and
lines should be disconnected, but with USB devices many of the
port attributes are meaningless and ignored by some devices.

pppd requires the port's speed to be greater than zero, and will
exit immediately when that is not the case, even though these
modems will work fine.  Passing an explicit speed to pppd in this
case works around the issue, as pppd attempts to set that speed
on the port and doesn't actually care if that operation fails.

Acked-By: Thomas Haller <thaller redhat com>

Thanks, pushed to master, 1.4, and 1.2.


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