On Montag, 11. Juli 2016 19:47:14 CEST Mike Meyer wrote:
> Sigh. I'm having trouble getting this sent properly. Sorry 'bout the extra
> mail. Here's the text.
> 
> It looks  like the libserialport tty name checks for FreeBSD were written
> by someone who's never used a Unix(TM) system like FreeBSD, so relied on
> the documentation to figure out what the names were.
> 
> Forcing users to use /dev/cua devices for serial ports is simply wrong.
> The call-out ports  are usually used for modems because they are used for
> "calling out" to another phone number, which requires that you be able to
> dial the phone. This dates from the days when things that could dial the
> phones (aka "call units") were actually different boxes from the ones that
> did the serial line modulation/demodulation for the phone line, and hence
> on different serial ports. Possibly only AT&T (you know, the folks that
> wrote Unix) actually cared, but the distinction carried over into all
> systems based on their code.
> 
> Since a logic analyzer/oscilloscope/dmm/etc can't dial the phone, there's
> no point in using a /dev/cua device. The proper serial device to use is the
> /dev/tty one. sigrok failing because you used /dev/ttyU0 is a violation of
> POLA.

Sorry, try to read the *BSD, OS X, ... documentation again. If you initiate a 
connection, use /dev/cu*. /dev/tty* waits for DTR, which is specifically *not* 
wanted.

Kind regards,

Stefan

-- 
Stefan Brüns  /  Bergstraße 21  /  52062 Aachen
home: +49 241 53809034     mobile: +49 151 50412019
work: +49 2405 49936-424

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to