my next problem
4. Codeless kext
We have to load a codeless kext to prevent Apple's HID driver from claiming the device exclusively.
This kernel extension is just a plist:
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key> <string>English</string>
<key>CFBundleGetInfoString</key> <string>Libusb USB device Shield</string>
<key>CFBundleIdentifier</key> <string>com.libusb.USB_Shield</string>
<key>CFBundleInfoDictionaryVersion</key> <string>6.0</string>
<key>CFBundleName</key> <string>Libusb USB device Shield</string>
<key>CFBundlePackageType</key> <string>KEXT</string>
<key>CFBundleSignature</key> <string>????</string>
<key>CFBundleVersion</key> <string>6.0</string>
<key>IOKitPersonalities</key>
<dict>
<key>Logitech G15</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.kernel.iokit</string>
<key>IOClass</key>
<string>IOService</string>
<key>IOProbeScore</key>
<integer>106000</integer>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>bcdDevice</key>
<integer>259</integer>
<key>idProduct</key>
<integer>49698</integer>
<key>idVendor</key>
<integer>1133</integer>
</dict>
</dict>
<key>OSBundleCompatibleVersion</key> <string>1.8</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kernel.iokit</key> <string>6.0</string>
</dict>
</dict>
</plist>
Download and load the kext:
$ wget
http://people.roma2.infn.it/sestito/g15mac/libusbshield.kext.tar.gz
$ tar xvfz libusbshield.kext.tar.gz
$ sudo chmod -R root:wheel libusbshield.kext
$ sudo cp -R libusbshield.kext /System/Library/Extensions
I'm not sure if i have to do anything for the plist in the top of this step or if i just have to start with the download of the kext. I tried starting at the terminal commands and had a problem with the bold part.
chmod: Invalid file mode: root:wheel
is my message when i do that.