home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15860 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.1 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!yale.edu!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sunic!dkuug!diku!kurt
  2. From: kurt@diku.dk (Kurt M. Alonso)
  3. Newsgroups: comp.os.linux
  4. Subject: Expert advice needed
  5. Message-ID: <1992Nov5.163153.20104@odin.diku.dk>
  6. Date: 5 Nov 92 16:31:53 GMT
  7. Sender: kurt@rimfaxe.diku.dk
  8. Organization: Department of Computer Science, U of Copenhagen
  9. Lines: 17
  10.  
  11.  
  12. I am trying to write a device driver for a parallel port
  13. soundcard (if the term applies to this type of device :-)).
  14. Being this the first time that I give such a task a try, any
  15. advice would be welcome.
  16.  
  17. Basically, what the thing has to do is to output bytes to the
  18. parallel port at a fixed rate, starting from 8000 samples per
  19. second and up. There is no protocol to observe or anything else so,
  20. at least conceptually, the driver should be very easy to write.
  21. However, the high output rates (less than 1 byte every 125 usecs)
  22. implies that I can not use the kernel timer stuff. So the question
  23. remains, how can I control the output rate (without eating up too
  24. much CPU time)?
  25.  
  26.  
  27. Kurt.
  28.