• 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: plumber Idraulico <email@hidden>
  • Date: Mon, 16 Oct 2006 10:18:51 +0200

one way is
a Notification system

cf : documentation

-plum

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

_______________________________________________ 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
References: 
 >Re:IOServiceOpen fails (From: sanjay yaragatti <email@hidden>)

  • Prev by Date: Re:IOServiceOpen fails
  • Next by Date: Re: On USB bulk device removal, IOService recusively being called. Why ?
  • Previous by thread: Re:IOServiceOpen fails
  • Next by thread: debug symbols for 8.7.3?
  • Index(es):
    • Date
    • Thread