• 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:IOServiceOpen fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:IOServiceOpen fails


  • Subject: Re:IOServiceOpen fails
  • From: sanjay yaragatti <email@hidden>
  • Date: Mon, 16 Oct 2006 08:02:03 +0100 (BST)

Hi,

>I have written a kernel driver.Now want to talk to it
>through a userclient.My user space application is a
>cocoa application  which calls IOServiceOpen() to
>establish a connection with the userclient.The call
>too IOServiceOpen fails and returning a value of  hex
>value of 0xe00002c7 (-536870201  in decimal).But the
>API's IOMasterPort(),IOServiceMatching() &
>IOServiceGetMatchingServices() are returning
>success.Can anybody help me out in this matter.

The info.plist file was corrupted. I created a new one
with  "IOUserClientClass" and its name as key-value
pair. Now it works.I am able to send data to the
driver from my userspace program :-) .I need to send
data back to my user space cocoa app from my
driver.How  can this be done?

Regards,
Sanjay



__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: IOServiceOpen fails
      • From: plumber Idraulico <email@hidden>
  • Prev by Date: Re: Setting Explicit Socket Permissions!!
  • Next by Date: Re: IOServiceOpen fails
  • Previous by thread: Re: IOServiceOpen fails
  • Next by thread: Re: IOServiceOpen fails
  • Index(es):
    • Date
    • Thread