Bug#555531: linux-image-2.6.26-2-amd64: sound not working in OSS games after update
If it helps at all, here's the relevant strace output:
4093 open("/dev/dsp", O_RDWR) = 7
4093 ioctl(7, SNDCTL_DSP_GETCAPS, 0xffb7a884) = 0
4093 ioctl(7, SNDCTL_DSP_SETFMT or SOUND_PCM_READ_BITS, 0xffb7a888) = 0
4093 ioctl(7, SOUND_PCM_READ_CHANNELS, 0x811b724) = 0
4093 ioctl(7, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0x811b738) = 0
4093 ioctl(7, SNDCTL_DSP_GETOSPACE, 0xffb7a874) = -1 EINVAL (Invalid argument)
4093 dup(2) = 8
4093 fcntl64(8, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
4093 fstat64(8, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
4093 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf743a000
4093 _llseek(8, 0, 0xffb7a6cc, SEEK_CUR) = -1 ESPIPE (Illegal seek)
4093 write(8, "GETOSPACE: Invalid argument\n"..., 28) = 28
4093 close(8) = 0
4093 munmap(0xf743a000, 4096) = 0
4093 write(1, "Um, can't do GETOSPACE?\n"..., 24) = 24
-Brandon Del Bel
Reply to: