Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2011 12:51:25 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Mike Adams <mike.adams2009@gmail.com>
Cc:        FreeBSD-questions@freebsd.org
Subject:   Re: Can't open serial line /dev/cuaa0: no such file or direcotry (2)
Message-ID:  <20110121125125.7de151aa.freebsd@edvax.de>
In-Reply-To: <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com>
References:  <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Jan 2011 00:04:12 +0000, Mike Adams <mike.adams2009@gmail.com> wrote:
> ls /dev shows that there is no cuaa0, only cuad0.  I see that
> this was changed to standardize naming conventions.

Exchanging the UART driver was also a reason, as far as
I know. The "conventional" serial driver can still be
compiled into the kernel, but it isn't the default
anymore since sometime in the 6- branch.



> I've tried sh makedev cuaa0, but get the errorCan't open
> makedev: no such file or directory. 

I think "sh MAKEDEV" would be the correct call. Anyway,
the /dev file system is a virtual file system now controlled
by the devfs and devd system services. There is no need
for the MAKEDEV script anymore.

You could try to add a line like

	link	cuad0	cuaa0

to /etc/devfs.conf and then

	# /etc/rc.d/devfs restart

but I may be possible that the program you're intending to
use does require the "conventional" serial driver that would
create /dev/cuaa* entries.

See the related man pages for more details.




-- 
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?20110121125125.7de151aa.freebsd>