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: User notifications at boot time



Hi Harland,

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

This email sent to email@hidden
References: 
 >User notifications at boot time (From: "Harland Harrison" <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.