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: Can I write a user client for a USB driver



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

References: 
 >Can I write a (From: Wayne Hasley <email@hidden>)
 >Re: Can I write a (From: Godfrey van der Linden <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.