From owner-freebsd-questions Thu Jul 25 9:16:39 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 A778037B400 for ; Thu, 25 Jul 2002 09:16:36 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E0BC43E3B for ; Thu, 25 Jul 2002 09:16:35 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6PGGYYx077606; Thu, 25 Jul 2002 11:16:34 -0500 (CDT) (envelope-from dan) Date: Thu, 25 Jul 2002 11:16:33 -0500 From: Dan Nelson To: Katinka Mills Cc: freebsd-questions Subject: Re: MGE USB UPS support in FreeBSD Message-ID: <20020725161633.GH68693@dan.emsphone.com> References: <200207252315.52913.katinka@magestower.com> <200207252326.22037.katinka@magestower.com> <20020725155453.GF68693@dan.emsphone.com> <200207260014.38882.katinka@magestower.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207260014.38882.katinka@magestower.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i 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 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. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message