Re: Integrating an external UPS system?
Re: Integrating an external UPS system?
- Subject: Re: Integrating an external UPS system?
- From: Mike Fischer <email@hidden>
- Date: Tue, 7 Aug 2007 07:12:55 +0200
Hi Garth,
Am 06.08.2007 um 21:35 schrieb Garth Cummings:
Hi Mike,
On Aug 5, 2007, at 1:11 PM, Mike Fischer wrote:
Hi,
I'm not sure this is the right place to ask but here it goes anyway:
A customer of mine makes software for a number of UPS systems.
Currently this software is cross platform and is not integrated
into Darwin/Mac OS X at all. I was tasked to write an Mac OS X
Installer for them (to avoid the UNIX shell stuff they had on the
Mac before). So far so good.
I have recently become aware of the fact, that Darwin/Mac OS X
seems to have built-in support for UPS systems. But I couldn't
find much information on how to actually integrate a UPS with the
OS. The hardware usually comes with either USB or serial
interfaces. The later would generally be converted using a USB<-
>Serial adaptor.
For example "man pmset" mentions UPS settings.
I have found the reference documentation for IOUPSPlugInInterface
and IOUPSPlugIn.h. But this seems rather sparse.
I'd be greatful for any pointers on where to look for more
information.
Note: I have not done any KEXT or IOKit programming yet.
Thanks.
Mike
The USB list <http://lists.apple.com/mailman/listinfo/usb> is
probably a better place for these questions.
Mac OS X has built-in support for UPS units that conform to the USB
HID Power Device spec <http://www.usb.org/developers/hidpage/
#Power_Devices>. You don't need to provide any software for such
devices.
Cool, thanks for the info. I'll check back with my client to find out
how they want to pursue this. They should know the precise
capabilities of the UPS systems they use as well as what integration
with Mac OS X makes sense for their existing software.
Do you happen to know where I can find out the details of the Mac OS
X side of the USB HID Power Device support or would that be a
question for the usb list?
It is possible to support serial UPS units as well but that
requires some code. The best way to get help with this is to submit
a DTS support incident. (If you're not familiar with DTS, you can
read more at the URL in my email signature.)
I'm a Select Developer so I know about DTS, thanks. Before using the
DTS channel I wanted to find out if there was anything I could do on
my side to avoid embarassing myself by asking unresearched questions ;-)
Thanks!
Mike
--
Mike Fischer Softwareentwicklung, EDV-Beratung
Schulung, Vertrieb
Note: I read this list in digest mode!
Send me a private copy for faster responses.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden