Fwd: Pointer on howto provide a /dev/node
Fwd: Pointer on howto provide a /dev/node
- Subject: Fwd: Pointer on howto provide a /dev/node
- From: email@hidden (Hado Hein)
- Date: Mon, 14 Feb 2005 12:05:07 +0100
- Organization: handmade !
I had this on darwin-userlevel which is not right says lists.apple.com. It
should go here.
For some of my usb toys I'd like to provide the data on /dev nodes cause
there is a similar interface structure for programs on linux.
So I have working usb drivers using IOKit (in an userland app).
Now I'd like provide that data in /dev with a userland daemon instead.
Where can read something about this ? I'd prefer some short words on
- what functions to call for registering the node in devfs
( usr/.../miscfs/devfs/) give me not really a clue on the steps.*
- where and what function under which name (r,w,ioctl) to implement so
that the node and its code get called if someone opens the filenode and freads.
*IOSerial~ show some steps how to mount something in /dev via IOKit but that
seems to be kernel - I#d prefer a userland process.
thx, Hado
--
Hado Hein, Berlin, Fed.Rep. of Germany
http://www.batchmaker.de (software authoring, including stage lighting)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden