From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13704 invoked from network); 10 Sep 1998 17:54:27 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 10 Sep 1998 17:54:27 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA25703 for ; Thu, 10 Sep 1998 13:54:46 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id LAA27427 for axp-list@redhat.com; Thu, 10 Sep 1998 11:53:56 -0600 From: Michal Jaegermann Message-Id: <199809101753.LAA27427@ellpspace.math.ualberta.ca> Subject: Re: ttyS0 versus cua0 To: axp-list@redhat.com Date: Thu, 10 Sep 1998 11:53:56 -0600 (MDT) In-Reply-To: <19980910080221.A10774@xcski.com> from "Paul Tomblin" at Sep 10, 98 08:02:21 am Content-Type: text Paul Tomblin wrote: > > Can anybody explain why cua0 would work when ttyS0 doesn't? Probably you managed to change 'clocal' settings on your tty line. Check with 'stty -a < /dev/ttyS0'. > I thought they > were basically the exact same kernel driver, but the "cua0" had some extra > locking logic for the benefit of uucp? There are some small differences how they can be opened. It sounds like you just found one. :-) Indeed, beyond that 'cua?' devices include some form a very simple-minded locking which does not really work when you go beyond a very basic usage. For that reason it is considered now a mistake that they were provided in the first place and in current development kernels and future 2.2.xx you will get a nastygram in log files every time when you will try to use one. In the future they will vanish completely. Michal