All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set
@ 2005-02-18 17:56 thomas schorpp
  2005-02-18 20:43 ` [Fwd: Re: newer C-Media CMI9761A, unrequested headphone-out, equalizer set, [CLOSED] thomas schorpp
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thomas schorpp @ 2005-02-18 17:56 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, cltien, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hello,

tonight i discovered one more issue:

sound output quality of the looped through lines conn. to external
hifi-amplifier:

- - low+high band drain > 6dB or mid-band gain > 6dB

possible causes:

- - driver sets headphone output instead of external ampflifier mode
(poss. wrong output impedance effecting fr-linearity)

tried switching in mixer, result negative.

- - the build-in equalizer is set implicitely online by the driver.

y
tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iQCVAwUBQhYsOGqsze5HSzyoAQMJzAQAnHpENcKI+9iAUleqW/RkWNLV8WKj9ayI
y8mO09tabw9Y0aLex7NsDL09KU1GCHUlRKTi0GH4ZGhfMbJcTmL29d4DdsnhdzzK
LHvY4gSCSSUSLrr/ObuRnc562r8me7rpZ1k+zXlgnPyftTw5CEHpdqBZ/OpzW2ia
+gOW4jCrcBc=
=0caw
-----END PGP SIGNATURE-----

[-- Attachment #2: Re: [Alsa-devel]   C-Media CMI9761 -A- type, your patches --]
[-- Type: message/rfc822, Size: 1541 bytes --]

From: thomas schorpp <t.schorpp@gmx.de>
To: Takashi Iwai <tiwai@suse.de>
Subject: Re: [Alsa-devel]   C-Media CMI9761 -A- type, your patches
Date: Fri, 18 Feb 2005 04:59:49 +0100
Message-ID: <42156835.9010202@gmx.de>


> But, before changing this, please check whether my last patch works.
> If this is OK, I can fix the above together.

 > both patches applied to rev 1.73 patch.c et al.

bad idea ;) your patch code isnt even run there.

next time state the rev to patch, pls. but for future i assume head.

updated to head.

applied both patches...

verifying.....

- low unregulateable noisy distorted output of pcm sound after muting 
"iec capture monitor"

- no vol master slider
- no pcm master slider
- 1 dxs slider

hope this helps, meanwhile i read the mixer building functions and 
rollback to 1.73 and try a override to get the missing sliders back.

seems to be not underestimateable diffrence with my chips registers.

tom











^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Fwd: Re: newer C-Media CMI9761A, unrequested headphone-out, equalizer set, [CLOSED]
  2005-02-18 17:56 [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set thomas schorpp
@ 2005-02-18 20:43 ` thomas schorpp
  2005-02-18 23:13 ` [Fwd: Re: newer C-Media CMI9761A], No PCM Master slider functional thomas schorpp
  2005-02-22 11:46 ` [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: thomas schorpp @ 2005-02-18 20:43 UTC (permalink / raw)
  To: alsa-devel

thomas schorpp wrote:
> hello,
> 
> tonight i discovered one more issue:
> 
> sound output quality of the looped through lines conn. to external
> hifi-amplifier:
> 
> - low+high band drain > 6dB or mid-band gain > 6dB
> 
> possible causes:
> 
> - driver sets headphone output instead of external ampflifier mode
> (poss. wrong output impedance effecting fr-linearity)
> 
> tried switching in mixer, result negative.
> 
> - the build-in equalizer is set implicitely online by the driver.
> 
> y
> tom

closed.

no more reproducible.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Fwd: Re: newer C-Media CMI9761A], No PCM Master slider functional
  2005-02-18 17:56 [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set thomas schorpp
  2005-02-18 20:43 ` [Fwd: Re: newer C-Media CMI9761A, unrequested headphone-out, equalizer set, [CLOSED] thomas schorpp
@ 2005-02-18 23:13 ` thomas schorpp
  2005-02-22 11:46 ` [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: thomas schorpp @ 2005-02-18 23:13 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, Takashi Iwai

ok. got the pcm master slider. no function.

if the bitsetting is correct, theres no hardware gain driver for pcm 
master on the chip.

so back to head cvs and find out whats wrong with the pcm sound with 
patch_9761().

tom

static void check_volume_resolution(ac97_t *ac97, int reg, unsigned char 
*lo_max, unsigned char *hi_max)
{
	unsigned short cbit[3] = { 0x20, 0x10, 0x01 };
	unsigned char max[3] = { 63, 31, 15 };
	int i;

	*lo_max = *hi_max = 0;
	for (i = 0 ; i < ARRAY_SIZE(cbit); i++) {
		unsigned short val;
		snd_ac97_write(ac97, reg, 0x8080 | cbit[i] | (cbit[i] << 8));
		val = snd_ac97_read(ac97, reg);
		if (! *lo_max && (val & cbit[i]))
			*lo_max = max[i];
		if (! *hi_max && (val & (cbit[i] << 8)))
			*hi_max = max[i];
		if (*lo_max && *hi_max)
			break;
	}
	snd_printk (KERN_ERR "vol res reg %d hi %d low %d\n", reg, *lo_max, 
*hi_max);
	*lo_max = 31; *hi_max = 31;
}


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set
  2005-02-18 17:56 [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set thomas schorpp
  2005-02-18 20:43 ` [Fwd: Re: newer C-Media CMI9761A, unrequested headphone-out, equalizer set, [CLOSED] thomas schorpp
  2005-02-18 23:13 ` [Fwd: Re: newer C-Media CMI9761A], No PCM Master slider functional thomas schorpp
@ 2005-02-22 11:46 ` Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-02-22 11:46 UTC (permalink / raw)
  To: t.schorpp; +Cc: alsa-devel

At Fri, 18 Feb 2005 18:56:12 +0100,
thomas schorpp wrote:
> 
> hello,
> 
> tonight i discovered one more issue:
> 
> sound output quality of the looped through lines conn. to external
> hifi-amplifier:
> 
> - - low+high band drain > 6dB or mid-band gain > 6dB
> 
> possible causes:
> 
> - - driver sets headphone output instead of external ampflifier mode
> (poss. wrong output impedance effecting fr-linearity)
> 
> tried switching in mixer, result negative.
> 
> - - the build-in equalizer is set implicitely online by the driver.


Well, for fixing both cases, we would need the datasheet...


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-22 11:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-18 17:56 [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set thomas schorpp
2005-02-18 20:43 ` [Fwd: Re: newer C-Media CMI9761A, unrequested headphone-out, equalizer set, [CLOSED] thomas schorpp
2005-02-18 23:13 ` [Fwd: Re: newer C-Media CMI9761A], No PCM Master slider functional thomas schorpp
2005-02-22 11:46 ` [Fwd: Re: newer C-Media CMI9761A, your testpatches], unrequested headphone-out, equalizer set Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.