Discussion:
[OpenIndiana-discuss] how to write device drivers
k***@abelia.ocn.ne.jp
2018-06-01 15:04:35 UTC
Permalink
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.
Aurélien Larcher
2018-06-01 15:20:04 UTC
Permalink
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
Post by k***@abelia.ocn.ne.jp
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
https://openindiana.org/mailman/listinfo/openindiana-discuss
--
---
Praise the Caffeine embeddings
k***@abelia.ocn.ne.jp
2018-06-01 15:42:50 UTC
Permalink
Dear Larcher,

I was becoming motivated.
but i am fool enough to ask you many time in the future.

first, first
I say very great regard to you.
Thank you.
Ken,

----- 元のメッセージ -----
From: "Aurélien Larcher" <***@gmail.com>
宛先: "Discussion list for OpenIndiana" <openindiana-***@openindiana.org>
送信済み: 2018年6月2日, 土曜日 午前 12:20:04
件名: Re: [OpenIndiana-discuss] how to write device drivers

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
Post by k***@abelia.ocn.ne.jp
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
https://openindiana.org/mailman/listinfo/openindiana-discuss
--
---
Praise the Caffeine embeddings
_______________________________________________
openindiana-discuss mailing list
openindiana-***@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss
Loading...