• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Integrating an external UPS system?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Integrating an external UPS system? (From: Mike Fischer <email@hidden>)
 >Re: Integrating an external UPS system? (From: Garth Cummings <email@hidden>)

  • Prev by Date: Re: Problem with semaphore_wait & its correct usage.
  • Next by Date: Re: Integrating an external UPS system?
  • Previous by thread: Re: Integrating an external UPS system?
  • Next by thread: Re: Integrating an external UPS system?
  • Index(es):
    • Date
    • Thread