• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IOAudioDevice Subclass KEXT not calling initHardware
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOAudioDevice Subclass KEXT not calling initHardware


  • Subject: IOAudioDevice Subclass KEXT not calling initHardware
  • From: "Jason Williams" <email@hidden>
  • Date: Mon, 13 Nov 2006 21:28:01 -0500

Now I posted earlier this month about building the example project for a dummy IOAudioDevice.  I got it to build, so I've gone on to the next step which is to build my own modified version.  I basically copied most of the code from PhantomAudioDriver, which is what builds and loads, and put in some simple stuff for an example AudioEngine, and built it.  I've gotten it as far as building perfectly, so it seems, and loading it into the kernel with kextload.  Ran kextload with -t and all looks well.  kextstat even shows the driver loaded.  

Problem is, I put some debug log lines in initHardware in the IOAudioDevice subclass, and nothing is coming out.  Nor does my device show up in the audio output pane in system prefs.  The difference is that I started with a clean Xcode Kernel EXT project for the new version so I could understand the settings that went into building a KEXT.  According to the docs, when the kext is loaded, the start() function on the super class calls initHardware on the subclass.  But it seems to not be doing so.  Any thoughts/Ideas/Suggestions on where to look?  I'm guessing it's a setting or a something I am just missing, but I made sure I had everything set right like it is on the PhantomAudioDriver, but to no avail.

--
Jason
TULG
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: IOAudioDevice Subclass KEXT not calling initHardware
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: fpathconf kernel panic
  • Next by Date: Re: IOAudioDevice Subclass KEXT not calling initHardware
  • Previous by thread: Re: fpathconf kernel panic
  • Next by thread: Re: IOAudioDevice Subclass KEXT not calling initHardware
  • Index(es):
    • Date
    • Thread