Mailing Lists: Apple Mailing Lists

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

Codeless Kext and USB HID



Greetings everybody,

I'm having difficulties using a codeless kext to prevent the Apple drivers from hijacking a HID device. I've read the mailing lists, have tried the sample that is provided in Xcode (in /Developer/Examples/Kernel/IOKit/usb/VendorSpecific Driver) as well as a few others I've found posted on various websites. The peculiar problem is, the kext works on one machine - a PowerBook G4 running 10.3.6, but do not work on another identical PowerBook nor on a Sawtooth G4 running 10.3.7.

I've verified the permissions of the kext, and all are correct. On all three machines, kextload gives the same response:

# kextload -v MCC_HID_Grabber.kext
kextload: extension MCC_HID_Grabber.kext appears to be valid
kextload: loading extension MCC_HID_Grabber.kext

But those two machines are being stubborn and not budging (They fail on the call to USBInterfaceOpen).

I've been advised that sending along the output of 'pl' is valuable. Unfortunately, I've gone through many variations and do not have the working Powerbook next to me at the moment. I believe this output is from the kext that worked on the one Powerbook, although I can't say for certain. I do know that it's essentially unmodified from the original source (a website), so if there's anything horribly wrong with it -- blame them, not me :)

The device in question is the 1208LS - Product ID 122, Vendor ID 2523.

Any help is greatly appreciated.

Thanks,
Steve

{
CFBundleDevelopmentRegion = English;
CFBundleExecutable = "MCC_HID_Grabber";
CFBundleGetInfoString = "shields listed interfaces from system acquisition";
CFBundleIdentifier = "edu.vanderbilt.fel.mendenhall.mccdriver";
CFBundleInfoDictionaryVersion = "6.0";
CFBundleName = "USB Interface grabber";
CFBundlePackageType = KEXT;
CFBundleSignature = "????";
CFBundleVersion = "6.0";
IOKitPersonalities = {
"MCC-PMD-1024LS" = {
CFBundleIdentifier = "edu.vanderbilt.fel.mendenhall.USB_Interface_Grabber";
IOClass = "USB_Interface_Grabber";
IOKitDebug = 0;
IOProviderClass = IOUSBInterface;
bConfigurationValue = 1;
bInterfaceNumber = 0;
idProduct = 118;
idVendor = 2523;
};
"MCC-PMD-1208LS" = {
CFBundleIdentifier = "edu.vanderbilt.fel.mendenhall.USB_Interface_Grabber";
IOClass = "USB_Interface_Grabber";
IOKitDebug = 0;
IOProviderClass = IOUSBInterface;
bConfigurationValue = 1;
bInterfaceNumber = 0;
idProduct = 122;
idVendor = 2523;
};
"MCC-miniLAB-1008LS" = {
CFBundleIdentifier = "edu.vanderbilt.fel.mendenhall.USB_Interface_Grabber";
IOClass = "USB_Interface_Grabber";
IOKitDebug = 0;
IOProviderClass = IOUSBInterface;
bConfigurationValue = 1;
bInterfaceNumber = 0;
idProduct = 117;
idVendor = 2523;
};
};
OSBundleLibraries = {"com.apple.iokit.IOUSBFamily" = "1.8"; };
}


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/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.