Re: [OpenIndiana-discuss] how to write device drivers
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" 宛先: "Discussion list for OpenIndiana" 送信済み: 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 On Fri, Jun 1, 2018 at 5:04 PM, 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@openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss > -- --- Praise the Caffeine embeddings ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
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 On Fri, Jun 1, 2018 at 5:04 PM, 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@openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss > -- --- Praise the Caffeine embeddings ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] how to write device drivers
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@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss