From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 23:25:26 2011 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FF12106566B for ; Sun, 23 Jan 2011 23:25:26 +0000 (UTC) (envelope-from grog@lemis.com) Received: from w3.lemis.com (w3.lemis.com [208.86.224.149]) by mx1.freebsd.org (Postfix) with ESMTP id 2F58E8FC08 for ; Sun, 23 Jan 2011 23:25:25 +0000 (UTC) Received: from dereel.lemis.com (1032.x.rootbsd.net [208.86.224.149]) by w3.lemis.com (Postfix) with ESMTP id A317E3BB08; Sun, 23 Jan 2011 23:08:40 +0000 (UTC) Received: by dereel.lemis.com (Postfix, from userid 1004) id DDCFBA1019; Mon, 24 Jan 2011 10:08:37 +1100 (EST) Date: Mon, 24 Jan 2011 10:08:37 +1100 From: Greg 'groggy' Lehey To: Mike Adams , Polytropon Message-ID: <20110123230837.GA43766@dereel.lemis.com> References: <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com> <20110121125125.7de151aa.freebsd@edvax.de> <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <20110121125125.7de151aa.freebsd@edvax.de> <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com> User-Agent: Mutt/1.4.2.3i Organization: The FreeBSD Project Phone: +61-3-5346-1370 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Can't open serial line /dev/cuaa0: no such file or direcotry (2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 23:25:26 -0000 --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 = 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--