problem of userclient for filter scheme driver
problem of userclient for filter scheme driver
- Subject: problem of userclient for filter scheme driver
- From: Yogesh P <email@hidden>
- Date: 16 Feb 2005 18:59:04 +0530
Hi folks,
I had written the sample filter scheme driver using Mass_storage.pdf and
also written the sample userclient and user space application for that
filter scheme driver.
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.
If i have to add IOProviderClass and IOMatchCategory properties in my
IOKitPersonality then what values these properties contain for filter
scheme driver so that it exposes the interface for the userclient and in
turn user space application tool????
I am specifying my Info.plist here.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>MyFilterScheme</string>
<key>CFBundleIdentifier</key>
<string>com.MySoftwareCompany.driver.MyFilterScheme</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0d3</string>
<key>IOKitPersonalities</key>
<dict>
<key>MyFilterScheme</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.MySoftwareCompany.driver.MyFilterScheme</string>
<key>Content Hint</key>
<string>MySoftwareCompany_MyContent</string>
<key>Content Mask</key>
<string>MySoftwareCompany_MyContent</string>
<key>IOClass</key>
<string>com_MySoftwareCompany_driver_MyFilterScheme</string>
<key>IOMatchCategory</key>
<string>IOStorage</string>
<key>IOProviderClass</key>
<string>IOMedia</string>
<key>IOUserClientClass</key>
<string>com_MySoftwareCompany_MyUserClient</string>
<key>IOkitDebug</key>
<string>65535</string>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOStorageFamily</key>
<string>1.0b1</string>
<key>com.apple.kernel.iokit</key>
<string>1.0b1</string>
<key>com.apple.kernel.libkern</key>
<string>1.0b1</string>
<key>com.apple.kernel.mach</key>
<string>1.0b1</string>
</dict>
</dict>
</plist>
Does am i specifying the correct values for IOProviderClass and
IOMatchCategory???
Please correct me if i am mistaking somewhere.
Thanks in advance
Yogesh Pahilwan
_______________________________________________
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