Mailing Lists: Apple Mailing Lists

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

Re: Can the Mac (OSX 10.2) force a firmware reload on the SIMM?



Hi David,

On Feb 14, 2005, at 12:14 PM, David Gorin wrote:

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

http://developer.apple.com/technicalsupport

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Can the Mac (OSX 10.2) force a firmware reload on the SIMM? (From: "David Gorin" <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.