Re: audio driver build process
Re: audio driver build process
- Subject: Re: audio driver build process
- From: Matt Gonzalez <email@hidden>
- Date: Fri, 13 Sep 2002 10:39:19 -0700
- Organization: Echo Digital Audio Corp.
It's pretty easy to automate this whole process with a script; I got this from another
guy on the Darwin drivers list:
sudo rm -r /tmp/MyDriver.kext
ditto MyDriver.kext /tmp/MyDriver.kext
chmod -R 755 /tmp/MyDriver.kext
sudo chown -R root.wheel /tmp/MyDriver.kext
sudo kextload -v /tmp/MyDriver.kext
Just save that as a script somehwere. You could also add a line to unload the driver if
it's already loaded. This makes it fairly painless - just build, switch to Terminal,
and run the script.
Matt
Michel wrote:
>
On Friday 13 September 2002 09:56, Laurent Humbert wrote:
>
> Any suggestions how to improve this, anyone ? I'm thinking of working
>
> as "root" and get ProjectBuilder's build command to somehow generate
>
> the driver directly in /System/Library/Extensions/. Would that be
>
> possible ? I just want to hit Command-B and let PB get on with it.
>
>
You don't need your driver in /System/Library/Extensions. You can use
>
'kextload' to load the one from your build directory. The only catch is that
>
you need to change it's permissions with
>
chown -R root.wheel <yourdriver>.kext
>
>
It is still a bit of a pain, since if you are using project builder as your
>
own username, you need to remember to chown the .kext back to your user
>
before building, and change it back to root before loading....
>
>
Thats still pretty annoying, I wish there was a "stop bothering me when I'm
>
developing" flags to kextload!
>
>
Michel
>
>
--
>
Linux yawn 2.4.19-ac4 #49 Tue Aug 6 10:13:51 BST 2002 i686
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.