• 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
Notification of IOService open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notification of IOService open


  • Subject: Notification of IOService open
  • From: Braden Thomas <email@hidden>
  • Date: Mon, 14 Nov 2005 16:27:28 -0800

Hello all,

I have an IOService that needs to know when another IOService calls open on a third IOService. To give the specific example, at boot time the IOBSDConsole calls open on any IOHIKeyboard. Later, the IOHIDSystem "seizes" ownership of the IOHIKeyboard from the IOBSDConsole by calling open on the IOHIKeyboard with the kIOServiceSeize bit set.

I want to know if it is possible to be notified when that seizure occurs. I tried adding a notification for the IOHIDSystem (gIOMatchedNotification, to be specific) whose handler then adds another notification for the IOHIKeyboard, but even after receiving this notification the client is still the console and not the hid system.

I was thinking maybe my IOService could call open on the IOHIKeyboard with the kIOServiceSeize bit set to claim ownership from the console. But then I still would have no way of knowing (AFAIK) of telling when the IOHIDSystem seized ownership from my service -- unless someone on this list can tell me how that's done....

Thanks for any/all input,
Braden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: X11 libraries for fortran?
  • Next by Date: Re: X11 libraries for fortran?
  • Previous by thread: Re: X11 libraries for fortran?
  • Next by thread: Mach message format/structure
  • Index(es):
    • Date
    • Thread