Skip to contentSkip to conversation

: no sound with CMI9761A, Cus fix verified OK

ALSA - driver 0000925 thomas schorpp 2 participants 3 messages Feb 22, 2005 – Feb 23, 2005

lore
Share & tools
lore
#0 lore raw

post it here, cant get on bugtracker:

this is ok with:

-pcm playback
-pcm capture
-looped through lines

thx, cus.

Additional Information After some testing i found that the
following patch fixes the problem:

ac97_patch.c 2005-02-19 18:08:23.000000000 +0100 renamed from ac97_patch.c.orig 2005-02-18 00:08:01.000000000 +0100 +1 -1
@@ -2010,7 +2010,7 @@
         ac97->ext_id |= AC97_EI_SPDIF;
        /* to be sure: we overwrite the ext status bits */
        snd_ac97_write_cache(ac97, AC97_EXTENDED_STATUS, 0x05c0);
- snd_ac97_write_cache(ac97, AC97_CM9761_SPDIF_CTRL, 0x0209);
+ snd_ac97_write_cache(ac97, AC97_CM9761_SPDIF_CTRL, 0x0009);
        ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k 

only */

        /* set-up multi channel */

I don't know why it works, and what that 0x0200 bit means in that register, someone may explain.

Cus

outstanding : Maybe better to use 0x0001 instead? I guess 0x0008 controls the "IEC958 Capture Monitor", and got some reports that this disturbs the output. tashaki.

-no, now it disturbs no more.

all fine, thx.

add.:

with this you get master vol slider back:

	/* CM9761 has no Master and PCM volume although the register reacts */
	ac97->flags |= /*AC97_HAS_NO_MASTER_VOL |*/ AC97_HAS_NO_PCM_VOL;

@takashi: maybe this was tested only with pcm not with looped through lines, before. i assume false negatives from previous tests.

tom

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw

At Tue, 22 Feb 2005 21:26:14 +0100,

Quoted 2 lines · thomas schorpp

post it here, cant get on bugtracker:

Still not possible?

Quoted 29 lines

this is ok with:

(quoted diff) +0 -3
-pcm playback
-pcm capture
-looped through lines

thx, cus.

Additional Information After some testing i found that the
following patch fixes the problem:

ac97_patch.c 2005-02-19 18:08:23.000000000 +0100 renamed from ac97_patch.c.orig 2005-02-18 00:08:01.000000000 +0100 +1 -1
@@ -2010,7 +2010,7 @@
          ac97->ext_id |= AC97_EI_SPDIF;
         /* to be sure: we overwrite the ext status bits */
         snd_ac97_write_cache(ac97, AC97_EXTENDED_STATUS, 0x05c0);
- snd_ac97_write_cache(ac97, AC97_CM9761_SPDIF_CTRL, 0x0209);
+ snd_ac97_write_cache(ac97, AC97_CM9761_SPDIF_CTRL, 0x0009);
         ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k 

only */

         /* set-up multi channel */

I don't know why it works, and what that 0x0200 bit means in that register, someone may explain.

Quoted 7 lines

Cus

outstanding : Maybe better to use 0x0001 instead? I guess 0x0008 controls the "IEC958 Capture Monitor", and got some reports that this disturbs the output. tashaki.

-no, now it disturbs no more.

Then let's take 0x09.

Quoted 4 lines

all fine, thx.

add.:

Quoted 8 lines

with this you get master vol slider back:

	/* CM9761 has no Master and PCM volume although the register reacts */
	ac97->flags |= /*AC97_HAS_NO_MASTER_VOL |*/ AC97_HAS_NO_PCM_VOL;

@takashi: maybe this was tested only with pcm not with looped through lines, before. i assume false negatives from previous tests.

OK, I'll fix the CVS now.

thanks,

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw
Quoted 7 lines · Takashi Iwai

At Tue, 22 Feb 2005 21:26:14 +0100,

Quoted 1 line · thomas schorpp

post it here, cant get on bugtracker:

Still not possible?

no. do you respond to my notice to the webmaster?

Quoted 30 lines
Quoted 28 lines

this is ok with:

(quoted diff) +0 -3
-pcm playback
-pcm capture
-looped through lines

thx, cus.

Additional Information After some testing i found that the
following patch fixes the problem:

ac97_patch.c 2005-02-19 18:08:23.000000000 +0100 renamed from ac97_patch.c.orig 2005-02-18 00:08:01.000000000 +0100 +1 -1
@@ -2010,7 +2010,7 @@
         ac97->ext_id |= AC97_EI_SPDIF;
        /* to be sure: we overwrite the ext status bits */
        snd_ac97_write_cache(ac97, AC97_EXTENDED_STATUS, 0x05c0);
- snd_ac97_write_cache(ac97, AC97_CM9761_SPDIF_CTRL, 0x0209);
+ snd_ac97_write_cache(ac97, AC97_CM9761_SPDIF_CTRL, 0x0009);
        ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k 

only */

        /* set-up multi channel */

I don't know why it works, and what that 0x0200 bit means in that register, someone may explain.

Quoted 8 lines
Quoted 5 lines

Cus

outstanding : Maybe better to use 0x0001 instead? I guess 0x0008 controls the "IEC958 Capture Monitor", and got some reports that this disturbs the output. tashaki.

-no, now it disturbs no more.

Then let's take 0x09.

0x0009 ? (LSB/MSB)

Quoted 13 lines
Quoted 13 lines

all fine, thx.

add.:

with this you get master vol slider back:

	/* CM9761 has no Master and PCM volume although the register reacts */
	ac97->flags |= /*AC97_HAS_NO_MASTER_VOL |*/ AC97_HAS_NO_PCM_VOL;
Quoted 8 lines
Quoted 2 lines

@takashi: maybe this was tested only with pcm not with looped through lines, before. i assume false negatives from previous tests.

OK, I'll fix the CVS now.

thanks,

at your sevice ;)

Quoted 2 lines

Takashi

tom

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click