Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kext description to not seize the default mass storage driver



I have a USB mass storage device (class 0x08, sub class 0x06). 

For devices like this, typical the darwin kernel load automaticly 
the own usb mass storage Kext. 

Now I looking for a way, that the kernel should not load the default
driver. I want, that i can communicate with the device over IOUSBLib,
i.e. over IOUSBDevice class. 

The MassStorage class is not required. I prefere to communicate with the
device directly from user space (without any own kext).

I mean, I need only a empty Kext-directory structure with a Info.plist
like:


<?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>CFBundleIdentifier</key>
	<string>com.wibu.codemeter.CmSwitch</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundlePackageType</key>
	<string>KEXT</string>
	<key>CFBundleShortVersionString</key>
	<string>1.0.5</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>1.0.5</string>
	<key>IOKitPersonalities</key>
	<dict>
		<key>CM-Stick orig</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.AppleUSBMergeNub</string>
			<key>IOClass</key>
			<string>AppleUSBMergeNub</string>
			<key>IOProviderClass</key>
			<string>IOUSBDevice</string>
			<key>IOProviderMergeProperties</key>
			<dict>
				<key>ClassicMustNotSeize</key>
				<true/>
			</dict>
                        <key>bConfigurationValue</key>
                        <integer>1</integer>
                        <key>bInterfaceClass</key>
                        <integer>8</integer>
                        <key>bInterfaceNumber</key>
                        <integer>0</integer>
                        <key>bInterfaceSubClass</key>
                        <integer>6</integer>
                        <key>bcdDevice</key>
                        <integer>256</integer>
                        <key>idProduct</key>
                        <integer>1233</integer>
                        <key>idVendor</key>
                        <integer>1615</integer>
		</dict>
	</dict>
	<key>OSBundleLibraries</key>
	<dict>
		<key>com.apple.driver.AppleUSBMergeNub</key>
		<string>1.8.3b1</string>
		<key>com.apple.iokit.IOUSBFamily</key>
		<string>1.8</string>
	</dict>
</dict>
</plist>


But this will not work. Whats wrong? Can somewhere give a hint?

Regards,
Heiko


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.