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: Problems with USB matching an EZ-USB based USB device!




On May 19, 2005, at 7:07 AM, Fabian Renn wrote:

        Device Class:   0   (Composite)


and earlier he has said:

When my kext is installed in /System/Extensions/ it only gets loaded at startup if the device is in a unenumerated status. If I boot my computer and the device attached ( during startup ) is already enumerated my driver never gets loaded, unless i disconnect and connect the usb-cable from the computer ( sometime after boot process ).

The issue is that your device is a composite device and so the AppleUSBComposite driver matches to your device because it is a "Root" driver and yours is not. (OSBundleRequired = 'Root'). Unfortunately, you cannot make your driver a Root driver because your dependencies (IOSerialFamily) are not root. Please search the archives, I think this was discussed last year sometime. If you are able to look at our 2004 WWDC presentation, we also gave a technique on how to do this. Some other developers have used a startup item and used USBDeviceReEnumerate() to cause us to re-match drivers to the device.


HTH,

- Fernando
_______________________________________________
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: 
 >Re: Problems with USB matching an EZ-USB based USB device! (From: "Fabian Renn" <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.