When QuickTime (or any other video capture app) works and show stream from the device - hotplug doesn't work. It can find a stream and show an image, but there is one problem. Terminate function is being called from kext and kext object is being unloaded without any problem.Įven if you start video capture app with the stream from the device, then close it and plug out device - hotplug also works. When all video capture apps are closed - hotplug works well. PlugIn has NoCMIOHardwarePluginLazyLoadingInfo property. SampleAssistant was changed only to detect my kext class. Kext main class loads when the device is plugged in and unloads when the device is plugged out. So the device is real and should support HotPlug. Kext has IOKitPersonalities based on the USB device. It gets data from the USB device and sends to the assistant. The kernel extension is based on IOVideoSample. ![]() ![]() First of all, I've started with CoreMediaIO sample: I'm developing driver for USB video capture device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |