• 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
IOServiceGetMatchingServices() doesn't find driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOServiceGetMatchingServices() doesn't find driver


  • Subject: IOServiceGetMatchingServices() doesn't find driver
  • From: "Brian Jorgage" <email@hidden>
  • Date: Mon, 31 Jan 2005 17:12:35 -0500

I am following the example tutorial in "Writing an I/O Kit Device
Driver".  I create a matching dictionary via IOServiceMatching
(myDriver).  When I verify the contents of the dictionary the (only)
key-value pair is "IOProviderClass:<myDriver>".

Shouldn't the key part of this be "IOClass" rather
than "IOProviderClass" ?  By using IOServiceMatching() it seems I am
locking myself in to using the "IOProviderClass" key.

If instead I use the call IOServiceMatching("AppleUSBComposite") to
find an Apple driver then IOServiceGetMatchingServices() still doesn't
find anything.  However I know there are instances of AppleUSBComposite
which I can verify via IORegistryExplorer.

So what gives here ?

Brian Jorgage



 _______________________________________________
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: IOServiceGetMatchingServices() doesn't find driver
      • From: Godfrey van der Linden <email@hidden>
  • Prev by Date: Re: current_task() in start() , stop(), thread differs
  • Next by Date: Re: IOServiceGetMatchingServices() doesn't find driver
  • Previous by thread: Re: current_task() in start() , stop(), thread differs
  • Next by thread: Re: IOServiceGetMatchingServices() doesn't find driver
  • Index(es):
    • Date
    • Thread