[OpenIndiana-discuss] how to write device drivers
Aurélien Larcher
aurelien.larcher at gmail.com
Fri Jun 1 15:20:04 UTC 2018
Hi Ken,
Welcome to the mailing list!
You can refer to the illumos book "Writing Device Drivers":
https://illumos.org/books/wdd/preface.html
Specifically:
https://illumos.org/books/wdd/character-21002.html#character-21002
https://illumos.org/books/wdd/block-34861.html#block-34861
Kind regards,
Aurélien
On Fri, Jun 1, 2018 at 5:04 PM, <ken.ide at abelia.ocn.ne.jp> wrote:
> Hi,
>
> I am application engineer, but I want to write device driver
> that run in user process.
>
> Character and Block device I want to write,
> But I do not know where am I start.
>
> chardev? very easy way , look /dev/null you lough,
> but I do not know where it place.
>
> and I do not know the magic number
> that how can I decide dev_no,
> more, the rule of /devices/.....
>
> I order my new machine, the sandbox
> please tell me how to write drivers.
>
>
> Best regards,
> ken.
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
--
---
Praise the Caffeine embeddings
More information about the openindiana-discuss
mailing list