home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.96 / text3494.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  1.5 KB  |  37 lines

  1. >>>>> "Adam" == Adam J Thornton <adam@tucson.princeton.edu> writes:
  2. In article <4quqc4$2ot@cnn.Princeton.EDU> adam@tucson.princeton.edu (Adam J. Thornton) writes:
  3.  
  4.  
  5.     Adam> If you have sound support built as a module, and you're
  6.     Adam> running kerneld to demand-load modules, Executor will come
  7.     Adam> up only with "pretend" sound unless the sound module is
  8.     Adam> already loaded.
  9.  
  10. Hmmm... that's not good.
  11.  
  12.     Adam> I suspect there's a check that asks "is sound available"?
  13.     Adam> Instead, it might be better to try to play a sound--say the
  14.     Adam> "machine on bong"--and see if that succeded.  If it did,
  15.     Adam> then you have sound, if not then you don't.  That gives
  16.     Adam> kerneld a chance to load the sound module into kernel space
  17.     Adam> if it can.
  18.  
  19. But we don't do that.  We open /dev/dsp and then make ioctls and if
  20. any of them fail we decide you don't have sound.  From my perspective
  21. it looks like there's a problem with demand-loading sound.
  22.  
  23. I will not be able to take a look at this until after E2 is out, but
  24. anyone who is real curious could probably use the system call tracing
  25. program (strace?) and see where the failure is happening.
  26.  
  27.     Adam> Adam -- adam@phoenix.princeton.edu | Viva HEGGA! | Save the
  28.     Adam> choad! | 64,928 | Fnord "Double integral is also the shape
  29.     Adam> of lovers curled asleep":Pynchon | Linux Thanks for letting
  30.     Adam> me rearrange the chemicals in your head. | Team OS/2 You can
  31.     Adam> have my PGP passphrase when you pry it from my cold, dead
  32.     Adam> brain.
  33.  
  34. --Cliff
  35. ctm@ardi.com
  36.  
  37.