site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Oct 12, 2006, at 9:38 PM, sanjay yaragatti wrote: 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 This is kIOReturnUnsupported. Have you implemented a UserClient subclass and registered it? For example: = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... // set up our userClientClass name, used when user clients // request a connection to the driver userClient = OSSymbol::withCStringNoCopy ("com_company_MyUserClient"); if (userClient == NULL) { error("could not allocate userClient name"); goto fail; } setProperty(gIOUserClientClassKey, (OSObject *)userClient); userClient->release(); This email sent to site_archiver@lists.apple.com