[ALSA - driver 0002132]: No sound from speakers

bugtrack
2006-06-15T00:59:37Z

Last Modified: 06-15-2006 02:59 CEST
======================================================================
Summary: No sound from speakers
Description:
Alsa seems to detect the sound card, but when I try to actually play
something there is no sound from the speakers.
======================================================================

----------------------------------------------------------------------
Raymond - 06-15-06 02:53
----------------------------------------------------------------------
#define ES_REG_1371_CODEC 0x14 /* W/R: Codec Read/Write register address
*/
#define ES_1371_CODEC_RDY (1<<31) /* codec ready */
#define ES_1371_CODEC_WIP (1<<30) /* codec register access in progress */
#define ES_1371_CODEC_PIRD (1<<23) /* codec read/write select register */
#define ES_1371_CODEC_WRITE(a,d) ((((a)&0x7f)<<16)|(((d)&0xffff)<<0))
#define ES_1371_CODEC_READS(a) ((((a)&0x7f)<<16)|ES_1371_CODEC_PIRD)
#define ES_1371_CODEC_READ(i) (((i)>>0)&0xffff)

After writing the address to codec register.

outl(ES_1371_CODEC_READS(reg), ES_REG(ensoniq, 1371_CODEC));

It is strange that the current code check the undocumented bit in smprate
register to determine the codec data is ready to read

----------------------------------------------------------------------
bzbarsky - 06-15-06 02:59
----------------------------------------------------------------------
I modified his hack, of course; s/special_card/1/ to be exact.

Is the last comment (the one with all the #defines) directed at me?