Re: [PATCH] cdc-acm: implement TIOCSSERIAL to avoid blocking close(2)

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

 



On Thursday 08 November 2012 12:47:41 Dan Williams wrote:
> Some devices (ex Nokia C7) simply don't respond at all when data is sent
> to some of their USB interfaces.  The data gets stuck in the TTYs queue
> and sits there until close(2), which them blocks because closing_wait
> defaults to 30 seconds (even though the fd is O_NONBLOCK).  This is
> rarely desired.  Implement the standard mechanism to adjust closing_wait
> and let applications handle it how they want to.
> 
> See also 02303f73373aa1da19dbec510ec5a4e2576f9610 for usb_wwan.c.
> 
> Signed-off-by: Dan Williams <dcbw@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
Acked-by: Oliver Neukum <oneukum@xxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux