Re: not registry member at registerService()
Re: not registry member at registerService()
- Subject: Re: not registry member at registerService()
- From: John Dalgliesh <email@hidden>
- Date: Fri, 23 Jun 2006 19:27:52 +1000 (EST)
On Fri, 23 Jun 2006, Pavan Chebbi wrote:
Hi All,
I am writing a driver which creates virtual serial ports in /dev.
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.
Extract from doc for IORegistyEntry::attachToParent:
"This is the usual method of entering an entry into the registry. "
Thaks in advance,
Pavan.
{P^/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden