Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 1999 12:24:05 -0700
From:      "David Schwartz" <davids@webmaster.com>
To:        "Andrij Korud" <akorud@polynet.lviv.ua>, "Chris Dillon" <cdillon@wolves.k12.mo.us>
Cc:        <freebsd-stable@freebsd.org>
Subject:   RE: Linux emulation
Message-ID:  <000001bec32e$1e4828b0$021d85d1@youwant.to>
In-Reply-To: <NCBBINEHHJGEONJEMFOIKELFCHAA.akorud@polynet.lviv.ua>

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

	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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001bec32e$1e4828b0$021d85d1>