Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! I am new to writing device drivers, and I would need to write one like this: Write a driver similar to the one with a circular buffer, this time ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    2

    Question need help in writing a device driver

    Hi!

    I am new to writing device drivers, and I would need to write one like this:

    Write a driver similar to the one with a circular buffer, this time blocking on a full buffer. Additio- nally the driver shall notify a program after an empty buffer received some bytes, so the program knows, there is something to read.

    Can anybody help me?

    Thx: Gogo

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,089
    Welcome to the forums!

    This looks like a homework question... is it?

    What have you written so far?

    You can check this online book for some tips and advice about your device driver questions.

    Have fun with Linux...
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    2
    Well, I haven't gone far yet. I don't really understand the difference between the circular fubber and full buffer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •