diff options
author | David Clare <david@funsoft.com> | 2006-12-01 18:24:38 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-20 10:14:25 -0800 |
commit | c2585d962572744271a7e254d48c747727441936 (patch) | |
tree | 7e0f674b208f67abc55c6d97c9c78ef685db5e95 /drivers/macintosh | |
parent | e05998d50d0bf9de5409a178e2f9869c7d1ea83e (diff) |
USB: Prevent the funsoft serial device from entering raw mode
Added a device specific ioctl function to prevent the disabling of canonical
mode. EINVAL is returned for any TCSETSF ioctl that doesn't have ICANON set.
This patch is for 2.6.17 or later kernels.
When "hwinfo --modem" is executed it opens the funsoft USB serial device and
disables canonical mode. The device is kept this way until hwininfo has
finished probing any modems on a system. The funsoft device expects to be
running in canonical mode. Switching the device to raw mode can cause
incomplete data packets and device timeouts.
Signed-off-by: David Clare <david@funsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions