Mailing Lists: Apple Mailing Lists

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

FW: EZ-USB and OS X Restart



> -----Original Message-----
> From: Timothy Desrochers [mailto:email@hidden] 
> Sent: Friday, January 31, 2003 1:49 PM
> To: 'Fred Ross-Perry'
> Subject: RE: EZ-USB and OS X Restart
> 
> 
> We have a EZ-USB-based device and do not experience this problem.
> 
> We use two different product IDs for the unloaded and loaded 
> states of the device. If the device is plugged in on OS 9, 
> the driver loads once for the unloaded device downloads 
> firmware, and tells the device to re-numerate itself (the 
> EZ-USB can do this). The driver unloads when the device 
> "disconnects" and re-loads for the re-numerated new device 
> "connection".
> 
> If you re-boot to OS X, the driver unloads for the OS 9 
> shutdown but the device remains on and in its "loaded" 
> persona. Our OS X user-land code finds it just fine.
> 
> The same is true on the OS X-9 transition.
> 
> Is Classic perhaps getting in the way of your OS-X user-land 
> code? We use a KEXT to prevent classic access to our device 
> from OS X. We also open our device with the "seize" option to 
> ask anyone else who might have it open to release it.
> 
> > 
> > 
> > I have a device based on EZ-USB for which I have written a
> > user-land driver, which works fine.
> > 
> > The driver downloads firmware and re-enumerates when it sees
> > the unloaded device.
> > 
> > 
> > 
> > We also have a driver for OS 9, which might be installed on
> > the same machine.  This driver uses
> > 
> > a different version of the firmware.
> > 
> > 
> > 
> > Runtime conflicts between the two drivers is NOT the problem
> > I am having.
> > 
> > 
> > 
> > Here is the problem.  User boots OS 9, plugs in the device,
> > all is fine. User leaves the device
> > 
> > plugged in, and reboots into OS X.  Device does not work.
> > Unplug and re-plug the device, and now it works.
> > 
> > 
> > 
> > So I suspect that power is not being dropped to the USB bus
> > during restart ( this is a G4 desktop ),
> > 
> > and that the OS 9 firmware keeps running, which is not
> > compatible with the OS X software.
> > 
> > When I unplug and re-plug I get the OS X firmware, and all is well.
> > 
> > The same problem happens in reverse if you start in OS X and
> > reboot to 9.
> > 
> > 
> > 
> > So how can I force the re-enumeration of the device when the
> > system reboots?
> > 
> > 
> > 
> > thanks,
> > 
> > fred ross-perry
> > 
> > intellitools, inc. _______________________________________________
> > usb mailing list | email@hidden
> > Help/Unsubscribe/Archives:
> > http://www.lists.apple.com/mailman/listinfo/us> b
> > Do not post 
> > admin requests to the list. They will be ignored.
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



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.