On Sam, 2002-03-09 at 22:11, Will Aoki wrote: > > > - some apps cause the driver to go into a weird state where all attempts > > to play sound fail, the only remedy is to unload and reload it > > is easily triggered by this: > > --- cut here --- > #include <fcntl.h> > #include <errno.h> > > int main () { > open("/dev/dsp", O_RDWR); > perror("output:"); > return 0; > } > --- cut here ---
Indeed, changing O_RDWR to O_WRONLY fixes this. Most apps, in particular probably all games only need to write anyway, but again this worked on the Pismo so apparently the tumbler driver is broken. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast