From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 10:35:18 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 B61F2106566B for ; Tue, 25 Jan 2011 10:35:18 +0000 (UTC) (envelope-from mike.adams2009@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5B68FC0A for ; Tue, 25 Jan 2011 10:35:17 +0000 (UTC) Received: by yxh35 with SMTP id 35so1728111yxh.13 for ; Tue, 25 Jan 2011 02:35:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6TbnsOt54Zbq+U5VUloIpRNhCKZHzgr7MLDB6dYHquk=; b=fpP3vEVksr37E/RUtQMnL1Z4sKwrBOT8ar2ts8/dSVy0185qmkeFzxDFF6BJfYLtLZ Ymbb6CP8iISc3wa+jzPq7xRzErZc6J8eV1rYKIPRIitwaPlVwoGAyEgTw7FJUe5gsIbW 6nQ9c2Lx5ki1SOuauKX3VuLZM4iy5bKnum/E4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=L2cnLR1XXCtDtQ8NHQaxn3iRpKcwm8lSM6Yz+bfmrpwla42luO+koMt0bzj7fEGJ9m 5h5stlIT9798LIUCrzAVTZTgXE+Ce9wUQZciJCChQ8ujTqHbDErxIqdihNGyFBa8KU8B AHnaSunE0y4FqMORQeEV9Ul4eZ6NsNVyx7rhc= MIME-Version: 1.0 Received: by 10.151.154.3 with SMTP id g3mr6155762ybo.239.1295951715923; Tue, 25 Jan 2011 02:35:15 -0800 (PST) Received: by 10.147.137.6 with HTTP; Tue, 25 Jan 2011 02:35:15 -0800 (PST) In-Reply-To: <20110123230837.GA43766@dereel.lemis.com> References: <20110121125125.7de151aa.freebsd@edvax.de> <5C1EBEF3-44BF-43C4-A654-9FF95103C5E2@transamtrucking.com> <20110123230837.GA43766@dereel.lemis.com> Date: Tue, 25 Jan 2011 10:35:15 +0000 Message-ID: From: Michael Adams To: "Greg 'groggy' Lehey" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Tue, 25 Jan 2011 10:35:18 -0000 Dear Greg, Thanks for your reply. I've avoided contacting you because I've been "doing my homework" in an attempt to get up to speed. However, I'm delighted to hear from you, and must congratulate you on your work with Tempcontrol. In fact, I've overcome the problem with port nomenclature in exactly the way you suggested, and the error no longer appears. I simply changed the value in .temperaturecontrolrc to /dev/cuad0. I do, however, have other problems with the programme: regardless of the values that I pass to endtemp, none of the solenoids are responding and I get no output on screen. May I discuss this with you further? Your program seems to be precisely what I need, but unlike you, my problem in chilly East Anglia is keeping the fermentation temperature up, not down, for most of the year! Regards, Michael Adams On 23 January 2011 23:08, Greg 'groggy' Lehey wrote: > [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. > FreeBSD 7.3 now. > > > 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. > > From 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 >