Fix to ess1788 playing sound slowly

From: E J (edjge@hotmail.com)
Date: Mon Jan 31 2000 - 01:50:05 EST


Fix to ESS1788 on my Compaq 5536 from playing sounds too slowly. The
problem occurred
when I from Redhat 6.0 (kernel 2.2.5-15) to Redhat 6.1 (kernel 2.2.12-20,
the problem is
still there on kernel 2.2.14). The program sndconfig detected my sound chip
ESS1788 as
a ESS1888. I had to modify the sb_ess.c to make the sound play correctly
instead of
extremely slowly.

$cat /dev/sndstat
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux localhost.localdomain 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT
1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: ESS ES1888 AudioDrive (rev 11) (3.01)

Synth devices:
0: Yamaha OPL3

Midi devices:
0: ESS ES1688

Timers:
0: System clock

Mixers:
0: Sound Blaster
$

$ vi /usr/src/linux/drivers/sound/sb_ess.c
:set nu
   1201 /* AAS: info stolen from ALSA: these boards have different
clocks */
   1202 /* switch(devc->submodel) { */
   1203 /* APPARENTLY NOT 1869 AND 1887
   1204 case SUBMDL_ES1869:
   1205 case SUBMDL_ES1887:
   1206 */
   1207 /* case SUBMDL_ES1888:
   1208 devc->caps |= SB_CAP_ES18XX_RATE;
   1209 break;
   1210 }
   1211 */

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:27 EST