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: Confusion over drivers vs. driver interfaces



At 10:48 PM -0500 1/21/03, Darrell Townsend wrote:
I'm new to writing kernel drivers, so I'm trying to get a better grasp of when I should be using a kernel extension and when I should stay out of the kernel and just use a driver interface.

You should only be in the kernel if you absolutely have to be. That usually means you provide a service that something else in the kernel needs.


For example, if I was trying to write an application that interacted with a Palm or some other handheld device that connects via USB, should I be looking into kernel extensions or using a driver interface based on the USB family?

That would be a user land driver. One of the magic words is "application", you're starting with a user land application, it can do it all without getting into the kernel.
--
Barry Twycross
email@hidden
---
USB, it's not a Dyslexic BUS. (Thanks to TC.)
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >Confusion over drivers vs. driver interfaces (From: Darrell Townsend <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.