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: New driver installation and restart



On Friday, March 29, 2002, at 12:11 PM, Andre John Mas wrote:

Hi,

Darwin is meant to be a dynamic system, yet when it comes to installing
device drivers a restart is required for the system to realise to
be able to use the driver. Apart from forcibly loading the kext with
'kextload' couldn't the system be asked to rescan for new kexts?

Maybe this is just a pipe-dream?

Andre

If an existing/competing driver isn't already loaded then reboots aren't really needed. If the kext is known about and hardware is added or enabled it will be loaded dynamically. Now I am not sure what is needed, while the system is running, to allow for the installing of a driver in addition to placing the kext in the Extension directory. I do know that the mkext cache needs to be updated for boot time reason but this is done automatically if the modification time on the Extensions directory changes.

The driver I have worked on are for PCI devices that cannot be added while the system is running... maybe some of the firewire and USB folks can fill us in.

If an existing/competing driver is installed then it can be easier from a support perspective to force a reboot then attempt to unload the currently running driver (many things can prevent it from unloading; users shouldn't be expected to have to deal with this).

So in the end, to keep things simpler for everyone, reboots are required by (most/all) kext installers.

-Shawn
_______________________________________________
darwinos-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwinos-users
Do not post admin requests to the list. They will be ignored.

References: 
 >New driver installation and restart (From: Andre John Mas <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.