Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

how to include you own drivers?

dear all,

i writed my own driver and included it to the kernal, how i include it in my own application program.

thanks

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by nwpu_zhf2004@Jun 17 2006, 03:37 PM

    dear all,

    i writed my own driver and included it to the kernal, how i include it in my own application program.

    thanks

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16225)

    --- quote end ---

    --- Quote End ---

    You may get some examples from the book "Linux device drivers 3rd Ed".

    In short, the driver will register to a dev node, and your apps can open/read/write/close/ioctl on the dev node.