From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A40C7C49ED6 for ; Wed, 11 Sep 2019 14:22:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 76C402075C for ; Wed, 11 Sep 2019 14:22:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728217AbfIKOWT (ORCPT ); Wed, 11 Sep 2019 10:22:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:41886 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726058AbfIKOWS (ORCPT ); Wed, 11 Sep 2019 10:22:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D15B5BB20; Wed, 11 Sep 2019 14:22:17 +0000 (UTC) Message-ID: <1568211729.11279.6.camel@suse.com> Subject: Re: ttyACM and BREAK chars ? From: Oliver Neukum To: Joakim Tjernlund , "linux-usb@vger.kernel.org" Date: Wed, 11 Sep 2019 16:22:09 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Am Mittwoch, den 11.09.2019, 12:39 +0000 schrieb Joakim Tjernlund: > Every now and then my ttyACM0 hangs up or sends a BREAK char to my device. > I am trying to make ttyACM ignore incoming(over USB) and not emit > any BREAK automatically using termios (IGN_BRK) but that does not make a difference. > > Is BREAK handling unimpl. in ttyACM ? acm_send_break() implements it. But the support is optional in ACM devices. What is bmCapabilities in sysfs for your device? Regards Oliver