Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'My use for dynamic extensions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
My use for dynamic extensions
Authored by: wfolta on Oct 25, '02 12:52:13PM

In 10.0.X and 10.1.X I encountered a problem using Final Cut Pro where the Firewire driver would get screwed up and I couldn't get video out of the machine. This is my recipe for fixing it:

1. Turn off all Firewire DV devices attached. Wait 10 seconds or so.

2. In the Terminal:

sudo kmodunload -v -n com.apple.driver.IOFireWireDV

Should see something like:

kmodunload: found kmod com.apple.driver.IOFireWireDV, id 62.
kmodunload: kmod id 62 successfully stopped.
kmodunload: kmod id 62 successfully unloaded.

If you see something like this:

kmodunload: found kmod com.apple.driver.IOFireWireDV, id 91.
kmodunload: kmod_control(stop) failed: (null)

the VTR isn't turned off.

3. Turn the Firewire DV devices back on, which should reload the driver. You can check with:

sudo kmodstat | grep FireWireDV

where you should see an entry for the Firewire DV device.

This may not be necessary any more, but it illustrates the point. Note that you can't unload an extension that's in use. That's why, in my example, you had to turn off all Firewire devices first.



[ Reply to This | # ]
For those in Jaguar
Authored by: SJT on Oct 25, '02 06:58:26PM

For those in jaguar the commands are:

kextload(8) - loads, validates, and generates symbols for a kernel extension (kext)
kextstat(8) - display status of dynamically loaded kernel extensions
kextunload(8) - terminates objects and unloads code associated with a kernel extension



[ Reply to This | # ]