The following reply was made to PR usb/149675; it has been noted by GNATS.

From: Ed Schouten <e...@80386.nl>
To: bug-follo...@freebsd.org, p...@prt.org, hsela...@c2i.net
Cc:  
Subject: Re: usb/149675: uftdi doesn't react to break properly
Date: Sun, 15 Aug 2010 18:02:40 +0200

 --wr1Q/2bz0MCWWNYv
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hans, Paul,
 
 I just looked at the usb_serial.c source code and it seems break/parity
 conditions are never propagated to the TTY layer:
 
        if (ttydisc_rint(tp, buf[cnt], 0) =3D=3D -1) {
 
 The third argument is supposed to be a bitmask of TRE_FRAMING,
 TRE_PARITY, TRE_OVERRUN and TRE_BREAK, to indicate the type of
 transmission error/condition.
 
 This is why breaks are probably just received as zero-bytes.
 
 --=20
  Ed Schouten <e...@80386.nl>
  WWW: http://80386.nl/
 
 --wr1Q/2bz0MCWWNYv
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.16 (FreeBSD)
 
 iEYEARECAAYFAkxoD6AACgkQ52SDGA2eCwWfegCeLUhVFlBv4Khtv99m2XHXsqqI
 GpwAn2wJturYMHd40W+kVGafw8Pkv2iu
 =Rmbv
 -----END PGP SIGNATURE-----
 
 --wr1Q/2bz0MCWWNYv--
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to