Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753247AbbBSNim (ORCPT ); Thu, 19 Feb 2015 08:38:42 -0500 Received: from mail-we0-f179.google.com ([74.125.82.179]:36284 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752828AbbBSNil (ORCPT ); Thu, 19 Feb 2015 08:38:41 -0500 MIME-Version: 1.0 In-Reply-To: <20150219055047.GJ12405@localhost> References: <20150219055047.GJ12405@localhost> Date: Thu, 19 Feb 2015 15:38:39 +0200 X-Google-Sender-Auth: HttSk5MAu0mwdR8J1JrLKWMAo6o Message-ID: Subject: Re: usb serial: pl2303 driver TxD "break" stays after close() bug From: Jari Ruusu To: Johan Hovold Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 590 Lines: 15 On 2/19/15, Johan Hovold wrote: > What happens when you reopen the port? Is the break state cleared then? Stuck "break" signal is not cleared on re-open. To clear it, you need to poke it with ioctl(fd, TIOCCBRK, 0) or disconnect the device. -- Jari Ruusu 4096R/8132F189 12D6 4C3A DCDA 0AA4 27BD ACDF F073 3C80 8132 F189 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/