site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi John, 2. attach is more appropriate. Dan Le 23 Jun 2006 à 5:27 AM, John Dalgliesh a écrit : Hi All, I am writing a driver which creates virtual serial ports in /dev. Extract from doc for IORegistyEntry::attachToParent: "This is the usual method of entering an entry into the registry. " Thaks in advance, Pavan. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 2. attachToParent http://developer.apple.com/documentation/DeviceDrivers/Conceptual/ IOKitFundamentals/BaseClasses/chapter_6_section_3.html On Fri, 23 Jun 2006, Pavan Chebbi wrote: When I call registerService() on my object of class which is inherited from IOSerialStreamSync(), this is what the error is given as. How do you create those objects? Have you put them through all the usual states of an IOService/IORegistryEntry object? In brief this is: 1. init 2. attachToParent 3. start (4. usu from start: registerService) The docs in the IORegisterEntry.h and IOService.h files may be helpful (and there are probably even better docs about this lifecycle but I'm sure you can go and search for those yourself :) Requesting you to provide some pointers/reasons as to why this error is coming up because of which I am not able see the nodes created by my driver in /dev. {P^/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/markarian% 40apple.com This email sent to markarian@apple.com This email sent to site_archiver@lists.apple.com