Fw: [launchd-dev] MachServices

Pradip Patel pradip.patel at einfochips.com
Tue Apr 1 04:45:19 PDT 2008


Re: [launchd-dev] MachServicessame thing work on 10.4

----- Original Message ----- 
From: Pradip Patel 
To: launchd-dev at lists.macosforge.org ; Quinn 
Sent: Tuesday, April 01, 2008 5:12 PM
Subject: Re: [launchd-dev] MachServices


Yes it works in post boot, 
can you please tell me the name of IOkit service  ? is it com.apple.iokit ?

p2
  ----- Original Message ----- 
  From: Quinn 
  To: launchd-dev at lists.macosforge.org 
  Sent: Tuesday, April 01, 2008 5:04 PM
  Subject: Re: [launchd-dev] MachServices


  At 13:48 +0530 1/4/08, Pradip Patel wrote:
    I am using LaunchDaemons to execute daemon on Mac OS 10.5
    I am using IOKit in my daemons

    But while it executing daemons it give error in IOServiceOpen API at
    the time of boot


    So which services i have to add with MachServices property key


  I think you're a bit in the weeds here.  Are you trying to connect to a service or vend a service?  The MachServices property is only relevant if you're trying to vend a Mach service.  You don't need to put anything special in your launchd property list file to just connect to a service.


  Does this stuff work if you load your daemon post boot?  My best guess, given the info above, is that you're trying to connect to an I/O Kit service early in the boot process, and the service hasn't got around to being registered yet.


  S+E
-- 
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
  Apple Developer Relations, Developer Technical Support, Core OS/Hardware

        - This message has been scanned for viruses, spam and dangerous content and is believed to be clean. 




------------------------------------------------------------------------------


  _______________________________________________
  launchd-dev mailing list
  launchd-dev at lists.macosforge.org
  http://lists.macosforge.org/mailman/listinfo/launchd-dev

-- 
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_____________________________________________________________________
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-dev/attachments/20080401/e904cade/attachment.html


More information about the launchd-dev mailing list