Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 00:22:50 +0200
From:      Polytropon <freebsd@edvax.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Call-out ports renamed cuadX -> cuauX -- when?
Message-ID:  <20161011002250.067f2b85.freebsd@edvax.de>
In-Reply-To: <af98a804-be12-8a27-a1bd-4c9dd2f73a87@passap.ru>
References:  <af98a804-be12-8a27-a1bd-4c9dd2f73a87@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Oct 2016 20:49:50 +0300, Boris Samorodov wrote:
> Hi All,
> 
> I've just came across this text at TFH (25.2.1. Serial Cables and
> Ports):
> ---
> Call-out ports are named /dev/cuauN on FreeBSD versions 10.x and higher
> and /dev/cuadN on FreeBSD versions 9.x and lower.
> ---
> 
> Seems not to be true. My 9.3-STABLE machine has cuau*:
> ---
> % uname -a
> FreeBSD uni.wart.ru 9.3-STABLE FreeBSD 9.3-STABLE #0 r306337: Mon Sep 26
> 19:56:26 MSK 2016     bsam@uni.wart.ru:/usr/obj/usr/src/sys/GENERIC  i386
> % % ls -l /dev/cua*
> crw-rw----  1 uucp  dialer  0x29 26 сен 22:04 /dev/cuau0
> crw-rw----  1 uucp  dialer  0x2a 26 сен 22:04 /dev/cuau0.init
> crw-rw----  1 uucp  dialer  0x2b 26 сен 22:04 /dev/cuau0.lock
> ---

Same on my FreeBSD 8 home system:

% ll /dev/cua*
crw-rw----  1 uucp  dialer    0,  49 2016-10-10 23:49:07 /dev/cuau0
crw-rw----  1 uucp  dialer    0,  50 2016-10-10 23:49:07 /dev/cuau0.init
crw-rw----  1 uucp  dialer    0,  51 2016-10-10 23:49:07 /dev/cuau0.lock



> I failed to find the reference commit. Can someone recall when did the
> change occure?

It probably has happened somewhere in v11... The Thinkpad laptop
running 10.3 I have here, connected to the "dock" with a serial
port, also shows the cucu0 device similar to your listing.

Maybe the cuad0 port gets created dynamically somehow? In fact,
I cannot remember having seen cuad0 anywhere... even worse, on
older FreeBSD versions, cuaa0 was the port name used for modems
or mice, if I remember correctly...

So maybe it's just a "multi-typo"? ;-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161011002250.067f2b85.freebsd>