From owner-freebsd-stable Wed Jun 30 12:24:50 1999 Delivered-To: freebsd-stable@freebsd.org Received: from shell.webmaster.com (mail.webmaster.com [209.133.28.73]) by hub.freebsd.org (Postfix) with ESMTP id B6DDC153C5 for ; Wed, 30 Jun 1999 12:24:07 -0700 (PDT) (envelope-from davids@webmaster.com) Received: from whenever ([209.133.29.2]) by shell.webmaster.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with SMTP id com; Wed, 30 Jun 1999 12:24:05 -0700 From: "David Schwartz" To: "Andrij Korud" , "Chris Dillon" Cc: Subject: RE: Linux emulation Date: Wed, 30 Jun 1999 12:24:05 -0700 Message-ID: <000001bec32e$1e4828b0$021d85d1@youwant.to> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It's trying to control DTR. DS > > On 30 Jun 1999, Andrij Korud wrote: > > > > > Hi. > > > While trying to run PowerAlert plus for Linux on FreeBSD > > 3.2-STABLE box I > > > got a message: > > > "LINUX: 'ioctl' fd=0, typ=0x54(T), num=0x17 not implemented" > > > Any ideas? > > > > > > regards, > > > Andrij Korud > > > > I'll be darned if I wasn't trying the same thing yesterday. :-) I'm > > betting that ioctl has something to do with opening the serial port, > > since the daemon keeps spitting out "Communication to UPS lost" in the > > logs, even though I verified communication by using tip(1) on the port > > and chatting with the UPS (the UPS "driver" files, which are actually > > Win-INI style text files, are a good albeit cryptic reference to what > > commands each UPS uses.) > > > > I also couldn't get the Shutdown Client to work with the server > > running on an NT box, even though no errors were displayed. > > > > I've already modified the installation script to detect FreeBSD and > > DTRT for the most part, and if I ever get this to work under > > emulation, I think I'll make a port out of it (ala the StarOffice and > > WP ports), and possibly even submit the installation script patches to > > TrippLite, while at the same time pushing them for a native FreeBSD > > version. :-) > > > > > Just now I've traced it under Linux using strace utility and found that it > fail on ioctl(comport, TIOCMBIC... > but now I really don't know what this operation should do. > > regards, Andrij Korud > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message