init
Handles the basic initialization of the service.
Declaration
virtual bool init();Return Value
YES if initialization is successful, or NO if an error occurred.
Discussion
The system calls this method shortly after it instantiates your IOUserUSBSerial subclass, and before it calls the Start method of your service. Limit the work you do in this method to simple tasks that must occur before your service starts. For example, use this method to allocate memory for your ivars structure.
Always call super at the beginning of your implementation of this method.