If you look in the IOUSBFamily sources in Darwin, specifically in
IOUSBDevice.cpp, you can see what we do for our system messages.
Basically, the call will fail if the system is not yet up, so we wait
30 seconds and try again.
Rhoads Hollowell
USB Software Team
Apple Computer, Inc.
On Feb 18, 2005, at 2:33 PM, Harland Harrison wrote:
My driver uses the Kernel User Notification API,
KUNCUserNotificationDisplayNotice,
to show a message to the user. If the USB device is hot-plugged, the
message works
correctly. If the device is present at boot time, however, the user
sees nothing. The
kern_return_t is 0 both cases. Delaying the message until the
Finder is fully
running seems to fix the problem.
Is there any way to know when the Kernel User Notification API is
available?
_______________________________________________
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