Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2011 10:08:37 +1100
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Mike Adams <mike.adams2009@gmail.com>, Polytropon <freebsd@edvax.de>
Cc:        FreeBSD-questions@FreeBSD.org
Subject:   Re: Can't open serial line /dev/cuaa0: no such file or direcotry (2)
Message-ID:  <20110123230837.GA43766@dereel.lemis.com>
In-Reply-To: <20110121125125.7de151aa.freebsd@edvax.de> <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com>
References:  <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com> <20110121125125.7de151aa.freebsd@edvax.de> <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[format recovered]

On Friday, 21 January 2011 at  0:04:12 +0000, Mike Adams wrote:
> To whom it may concern: I'm using a programme called tempcontrol
> from Greg Lehey on a Dell pentium running BSD 6.

Do you mean FreeBSD 6.x?  I'm assuming so in the following.

> When I run the programme, I get the above error.  ls /dev shows that
> there is no cuaa0, only cuad0.  I see that this was changed to
> standardize naming conventions.  I've tried sh makedev cuaa0, but
> get the errorCan't open makedev: no such file or directory.

makedev is obsolete.

> I should be most grateful if someone can get me over this problem

The device you're looking for is either /dev/ttyd0 or (probably)
/dev/cuad0.  Quite possibly either would work.  Set it in your
temperaturecontrolrc file.  Let me know if it works, and I'll update
the sources.

On Friday, 21 January 2011 at 12:51:25 +0100, Polytropon wrote:
> On Fri, 21 Jan 2011 00:04:12 +0000, Mike Adams <mike.adams2009@gmail.com>=
 wrote:
>
>> 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.

=46rom MAKEDEV(8):

DESCRIPTION
     The MAKEDEV script was deprecated by devfs(5) and removed from FreeBSD
     after devfs(5) became mandatory.

Basically, it can't work because the meaning of major and minor
numbers has changed.

> You could try to add a line like
>
> 	link	cuad0	cuaa0
>
> to /etc/devfs.conf and then
>
> 	# /etc/rc.d/devfs restart

That would be the wrong solution.  Programs that come in source can be
modified, and in this case the program provides for alternative device
names.

> but I may be possible that the program you're intending to use does
> require the "conventional" serial driver ...

I'm not aware of any such program.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
This message is digitally signed.  See
http://www.lemis.com/grog/email/signed-mail.php for more details.
If your Microsoft MUA reports problems, please read
http://tinyurl.com/broken-mua

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAk08tPUACgkQIubykFB6QiO82wCgiEI7jjtt1aO7EH30s5UZDGLQ
pLAAnjZ0zZ4RdiRBHWj2bpzulK/5US0G
=qW9d
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--



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