On May 15, 2010, at 4:06 PM, John Heaton wrote:
> I'm attempting to create notifications that get delivered via IOKit, but my notifications are never actually delivered. I reviewed some Apple sample code, and it was nearly the same as mine. Does anyone know what is wrong?
>
> Here is the code: http://gist.github.com/402391
I think the problem is the release of the iterator in the call to iAttach and iDetach. I would restructure to create the iterator's outside the iSubscribe call and release when you are totally done with matching. Have a look at the examples in /Developer/Examples/IOKit/usb/
Brett
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden