I believe that if the extension is NOT on kext stat that it ISN'T
loaded in the system. Does your driver turn up in the ioreg? Try
'ioreg -sc <yourclassname>' This produces a lot of pages of output
but also a property list that is based on your successfully matched
personality.
If your driver doesn't turn up in either ioreg or kextstat then you
are NOT loaded.
Godfrey
On 06/03/2005, at 13:44 , Wayne Hasley wrote:
Godfrey van der Linden <email@hidden> wrote:
If kextstat can't find your driver then you are not loaded and
then it is hard to rendezvous with your driver.
How do you usually load your driver?
This is code for a USB device. I'm still looking in the
documentation trying to find if its loaded when the system detects
the USB device. (I'm assuming that the system loads my driver at
boot time.)
The sample code implements a lowpass filter with a 400 Hz cutoff on
streamed audio.
I can hear when the filter is active, but it's not showing up in
the kextstat list.
I build it and use:
sudo cp -rf SampleUSBAudioPlugin.kext /System/Library/Extensions
sudo chown -R root:wheel /System/Library/Extensions/
SampleUSBAudioPlugin.kext/
sudo touch /System/Library/Extensions
and reboot.
After I noticed that my driver isn't showing up in the kextstat
list, I noticed that it's not showing up in the original apple
supplied sample code either.
The sample code driver isn't showing up, but I can "hear" when its
running
Thanks in advance,
Wayne
On Friday, June 03, 2005, at 12:48PM, Godfrey van der Linden
<email@hidden> wrote: