Mailing Lists: Apple Mailing Lists

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

KEXT loading issues after USB device removal.



Dear All,
 
I have developed a KEXT for my USB Bulk Device to support for Mac OS X 10.3.9 ppc and Mac OS X 10.4.7 ppc and Intel. Encountering a tricky issue and want your suggestions to resolve the same. The issues is very easily reproducable on Mac OS X 10.3.9.
 
If I plug-out my USB bulk device and close the applications using it, my KEXT gets unloaded. Now if I immediately (less < 1 minute) plugin the device, the KEXT detects the device and everything works fine.
 
On the other hand if I plugin my USB device after some time ( > 2 minutes), my "KEXT NO MORE GETS LOADED" :(
The device LED no more blinks, and kextstat doesnot show my KEXT entry. 
 
Below are the entries shown in system.log, when I plugin the device after long time
>tail -f /var/log/system.log
 
shows following entries:
 
"MyCompany MyKEXT: family specific matching fails
last message repeated 5 times
MyCompany MyKEXT: Stalling for module
Cannot find extension with id com.MyCompany.MyKEXT.My"
 
I am simply stuck!!! I know that the Mac OS kernel unloads the drivers itself when they are not in use. But the drivers should get loaded itself when the USB device is plugged in.
 
What can be the possible reason for KEXT being not loaded again ??
Did any body encoutered similar issue before ? Or I am doing somewhat wrong??
Please send your suggestions / comments for the same. Also do let me know in case further clarification is required in this regard.
 


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