I can't seem to get any code using the USB_Renumerate() method to
compile. Is there a special library I need or is this command not
supported in 10.2? Is this even the command I should be using to
force a reload? I got around this temporarily by having the SIMM
firmware issue a EZUSB_Disconnect() but I can't do this in all
situations.
Do you mean USBDeviceReEnumerate()?
If so, here's the snippet from <IOKit/usb/IOUSBLib.h>:
//
// DeviceInterface Functions available in version 1.8.7 Mac OS X
//
#define IOUSBDEVICE_FUNCS_187 \
IOReturn (*USBDeviceReEnumerate)(void *self, UInt32 options)
So this function is only implemented on and after version 1.8.7 of the
IOUSBFamily. To figure out where that line is, if you have the
cross-development pieces of the Xcode Tools installed, you can look at
the older headers in /Developer/SDKs.
The 10.2.8 SDK shows the USBDeviceReEnumerate function as well, as does
the 10.1.5 SDK, so I don't know why your code isn't building.
--gc
Thanx,
David
David Gorin
Leads Systems Architect / CEO
Dark Horse Software, Inc.
2431 Doubletree Dr. NW
Acworth, GA 30102-6468
(770) 529-4949 (voice / fax)
(678) 524-0120 (mobile)
mailto:email@hidden
www.DarkHorseSoftware.com
__________________________________________________________________
Garth Cummings
Apple Developer Technical Support email@hidden
_______________________________________________
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