Re: problem of userclient for filter scheme driver
Re: problem of userclient for filter scheme driver
- Subject: Re: problem of userclient for filter scheme driver
- From: Quinn <email@hidden>
- Date: Thu, 17 Feb 2005 15:02:21 +0000
At 18:59 +0530 16/2/05, Yogesh P wrote:
When i load the filter scheme driver it matches on the content hint and
successfully expose the IOMedia object.I can read/write on this IOMedia
object successfully by manually creating file or directory on this
exposed IOMedia volume.
But when i execute the sample user space application tool i am always
getting the following error:
Couldn't find any matching.
This error comes when user space application tool looks for the
serviceObjects and it didn't find one.
Unfortunately you didn't post the code to your user space tool. My
guess is that you're trying to location your I/O Kit service using
IOServiceGetMatchingService[s]. If so, the most common error is that
these routines will only find /registered/ services. You should use
the ioreg tool to make sure that your service is register.
$ ioreg -w 0
[...]
+-o IOMediaBSDClient <class IOMediaBSDClient,
registered, matched, active, busy 0, retain count 6>
Note that the "registered" flag appears inside the angle brackets.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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