Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: confuse!! kernel or user space driver



On Wed, 26 Jan 2005, JX the nuts wrote:
>
> hi all!!! thks for the replies!!! really appreciate
> it!! U know i was thinking bout Kernel programming
> been  the black art,super difficult and all, so if i
> am supposed to do a driver for a webcam so that it
> will run on iphoto, do i do it in the form of a kernel
> driver or a user land driver

Well, if you want it to talk to iPhoto then you should use the Image
Capture API: <http://developer.apple.com/sdk/#ImageCapture>

It relies on user space drivers that live here:
/System/Library/Image Capture/Devices/

When someone plugs in a camera matching the one you describe in an
Info.plist, your app is launched and runs in the background.

Having said that, I'm not sure how much sense it makes for a webcam to
want to talk to iPhoto... (however I haven't upgraded for a while...)

{P^/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >confuse!! kernel or user space driver (From: JX the nuts <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.