• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: Pointer on howto provide a /dev/node
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Pointer on howto provide a /dev/node
      • From: Godfrey van der Linden <email@hidden>
  • Prev by Date: shm tries
  • Next by Date: Re: Pointer on howto provide a /dev/node
  • Previous by thread: Re: shm tries
  • Next by thread: Re: Pointer on howto provide a /dev/node
  • Index(es):
    • Date
    • Thread