Re: Sound ioctl mmap/trigger broken in 2.1.80?

Craig Schlenter (craig@is.co.za)
Wed, 21 Jan 1998 10:13:05 +0200 (GMT)


[snip, MEC]
> I believe SNDCTL_DSP_GETCAPS got busted in 2.1.80. I believe the fix
> is to add one line: in file drivers/sound/audio.c, function audio_ioctl,
> case SNDCTL_DSP_GETCAPS, just before the "break", add this line:
>
> "val = info;"
>
> (I already reported this to Alan Cox and Thomas Sailer earlier this
> evening.)

Thank you.

I have replaced all occurences of info with val and nuked the declaration
of info as the GETCAPS switch was the only place it was used .... it's
working now :)

The interactive performance seems to have improved somewhat in 2.1.80 but
I haven't been running it long enough to judge for certain ... 2.1.79
seemed to thrash a bit and skyrocket the load when opening largish folders
in pine. Everything else turned to chewing gum in 2.1.79 but it seems
better in 2.1.80.

Anyone care to comment on this?

Cheers,

--Craig