All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.com>
To: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: ttyACM and BREAK chars ?
Date: Wed, 11 Sep 2019 16:22:09 +0200	[thread overview]
Message-ID: <1568211729.11279.6.camel@suse.com> (raw)
In-Reply-To: <f7e55901a096024af2d77ae7838df3b658f2c28d.camel@infinera.com>

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


  reply	other threads:[~2019-09-11 14:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 12:39 ttyACM and BREAK chars ? Joakim Tjernlund
2019-09-11 14:22 ` Oliver Neukum [this message]
2019-09-11 14:34   ` Joakim Tjernlund
2019-09-11 18:27     ` Oliver Neukum
2019-09-12  7:09       ` Joakim Tjernlund
2019-09-12  8:30         ` Oliver Neukum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568211729.11279.6.camel@suse.com \
    --to=oneukum@suse.com \
    --cc=Joakim.Tjernlund@infinera.com \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.