Why aren't IOKit notifications being delivered with this code?

Posted by gojohnnyboi on Stack Overflow See other posts from Stack Overflow or by gojohnnyboi
Published on 2010-05-15T21:27:39Z Indexed on 2010/05/15 21:34 UTC
Read the original article Hit count: 177

Filed under:
|
|
|
|

I wrote this code to subscribe to USB devices being plugged in and unplugged; the point is for IOKit to deliver notifications to my iAttached() and iDetached() functions when the corresponding events occur. However, I don't get notifications.

The code can be seen here: http://gist.github.com/402391

I didn't want to over-populate this page with it, as it is moderately long.

© Stack Overflow or respective owner

Related posts about c

    Related posts about iokit