Re: pre-2.1.51 report

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Tue, 19 Aug 1997 00:07:58 +0200


> Hi, all. I just tried out 2.1.50 + the pre-2.1.51 patch, and so far
> it's mostly working. So, far, I have noticed one thing: the speaker
> beep has a higher pitch and shorter duration. Some kind of problem
> with a timing loop?

This was introduced in 2.0.50, and I think it should be reverted. I
don't have it as a patch, but my drivers/char/vt.c has the
commented-out line replaced with the one below.

/*
* Generate the tone for the appropriate number of ticks.
* If the time is zero, turn off sound ourselves.
*/
ticks = HZ * ((arg >> 16) & 0xffff) / 1000;
/*count = ticks ? (arg & 0xffff) : 0;*/
count = ticks ? arg : 0;
kd_mksound(count, ticks);
return 0;

Hope this helps,
Martin