Re:IOServiceOpen fails
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