1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Rep Power

    Linux Parallel port device Drivers

    I'm currently undergoing a project to make a parallel port device driver under Linux, written in C.
    And i was wondering if anyone knows where i could find any example code of such a thing.
    I know kind of what code needs to be written but am having major trouble writing it.

    Any Information will be GREATLY appreciated.
    (it's my final degree year uni project, that has to be in soon :-(! )

    Cheers for any help
  2. #2
  3. No Profile Picture
    Your Friend
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Rep Power
    I can suggest a book: Linux Device Drivers (O'Reilly Publications).

    It is a great resource, and if you can get your hands on it, it'd surely help you.

  4. #3
  5. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Back in the real world.
    Rep Power
    too funny. you are in the final year of university, want to write a driver for linux and you donīt know this?

    linux has a parallel port driver and the full source code is most times installed in /usr/src/linux. if not, get it from from your distribution CDs, ftp site,www.kernel.org...

    the parallel port driver is in /usr/src/linux/drivers/misc/

    do you want to know how to access it? look eg at the code from paride (parallel port ide device driver) in /usr/src/linux/drivers/block/paride

IMN logo majestic logo threadwatch logo seochat tools logo