From owner-freebsd-questions Thu Jul 25 9:46:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B24D37B405 for ; Thu, 25 Jul 2002 09:46:48 -0700 (PDT) Received: from wskatinka.kaqelectronics.dyndns.org (CPE-144-137-243-7.wa.bigpond.net.au [144.137.243.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB13343E67 for ; Thu, 25 Jul 2002 09:46:46 -0700 (PDT) (envelope-from katinka@magestower.com) Received: from wskatinka.kaqelectronics.dyndns.org (localhost.kaqelectronics.dyndns.org [127.0.0.1]) by wskatinka.kaqelectronics.dyndns.org (8.12.5/8.11.6) with ESMTP id g6PGqAmA002402 for ; Fri, 26 Jul 2002 00:52:10 +0800 (WST) (envelope-from katinka@magestower.com) Content-Type: text/plain; charset="iso-8859-1" From: Katinka Mills To: freebsd-questions Subject: Re: MGE USB UPS support in FreeBSD Date: Fri, 26 Jul 2002 00:52:09 +0800 User-Agent: KMail/1.4.2 References: <200207252315.52913.katinka@magestower.com> <200207260014.38882.katinka@magestower.com> <20020725161633.GH68693@dan.emsphone.com> In-Reply-To: <20020725161633.GH68693@dan.emsphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207260052.10007.katinka@magestower.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 26 Jul 2002 00:16, Dan Nelson wrote: > In the last episode (Jul 26), Katinka Mills said: > > On Thu, 25 Jul 2002 23:54, Dan Nelson wrote: > > > In the last episode (Jul 25), Katinka Mills said: > > > > One other thing I ment to add (hit send to quick) is that I have > > > > looked at nut, and it says it supports this UPS with the HIDUPS > > > > driver in linux, although it is experimental, is this safe to use > > > > in FreeBSD (I have done a tonne of work on this system and would > > > > hate to crash it this late in the game > > > > ;o) > > > > > > According to the website, the hidups driver is Linux only. > > > > Yeap that was what I read, did not know if we had a patched version, > > DAMN it looks like I may have to engineer a USB to Serial port and > > protocol convertor and make it emulate a Serial UPS :o( > > That may not work. "usbhid" sounds like it's a USB HID (Human > Interface Device), which means that it's not using a serial protocol at > all. If you're a programmer, take a look at the "uhid" manpage on > FreeBSD, and see if the ioctls listed there map to what the Linux > ushbid code is using. Who knows; it might be an easy port. No I was thinking more pick a ups driver that uses serial interface and building a "translator" to fool the UPS into thinking the computer is using usb and the server into thinking the UPS is Serial.. Regards, Kat (I am an EE and program in asm all day, I have yet to do alot of C as ASM pays 20x the amount of C programming) -- -------------------------------------------------------------------------------------------- K.A.Q. Electronics Software and Electronic Engineering Perth, Western Australia Phone +61 (0) 419 923 731 -------------------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message