On Friday, June 03, 2005, at 01:54PM, Godfrey van der Linden <email@hidden> wrote:
>G'day Wayne,
>
>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,
My driver isn't loading.
I backed up to two apple supplied sample programs:
<http://developer.apple.com/samplecode/SampleUSBAudioPlugin/SampleUSBAudioPlugin.html>
and
<http://developer.apple.com/samplecode/SimpleUserClient/SimpleUserClient.html>
SimpleUserClient is showing up in the io registry.
SampleUSBAudioPlugin isn't.
How force SampleUSBAudioPlugin to load?
TIA,
Wayne
>
>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?
>>>
>>
>> Godfrey,
>>
>> I'm using apple sample code from
>> <http://developer.apple.com/samplecode/SampleUSBAudioPlugin/
>> SampleUSBAudioPlugin.html>
>> as a base for my project.
>>
>> 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:
>>
>>
>>>
>>> <<Original Attached>>
>>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden