Re: ttyACM and BREAK chars ?

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

 



On Wed, 2019-09-11 at 16:22 +0200, Oliver Neukum wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> 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.

Yes, I se that funktion but I don't see how one can ignore received BREAKs
If I set IGN_BRK on /dev/ttyACM0 I expect that every BREAK should just be ignored

> But the support is optional in ACM devices.
> 
> What is bmCapabilities in sysfs for your device?

I found one bmCapabilities in sysfs:
 cat /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3/1-6.3:1.1/bmCapabilities
 2

Locks like my device 

   Jocke




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

  Powered by Linux