diff options
author | Dan Williams <dcbw@redhat.com> | 2010-09-27 15:52:29 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-09-27 16:04:11 -0500 |
commit | 81d0fd148f8c72a2e50b4e6fe82496daa28a91cc (patch) | |
tree | 018523e51a5d5a56330033c1e0dc5c284d5304ca /src/mm-plugin-base.c | |
parent | 3c8c3f742525e045fee728a469c4da405f291f08 (diff) |
core: better debugging of serial port open/close
Some devices don't interact well with the option drivr or the usb-serial
layer; they don't respond to the USB data requests and thus data never
gets written to that port. When close(2) is called, that data is still
pending and so the tty layer waits 30 seconds before returning from
the close. This is the 'closing_wait' value, which unfortunately is
not able to be modified by ModemManager because most serial drivers
for 3G devices don't implement the .ioctl handler or its TCIOSSERIAL
option to change closing_wait.
Print out open/close timestamps to help debug this issue and get a
list of modems that have this problem.
Diffstat (limited to 'src/mm-plugin-base.c')
0 files changed, 0 insertions, 0 deletions