Skip to contentSkip to conversation

, unrequested headphone-out, equalizer set

Fwd: Re: newer C-Media CMI9761A, your testpatches thomas schorpp 2 participants 4 messages Feb 18, 2005 – Feb 22, 2005

lore
Share & tools
lore
#0 lore raw

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

Quoted 5 lines

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

#1 lore raw

Re: [Fwd: Re: newer C-Media CMI9761A, unrequested headphone-out, equalizer set, [CLOSED]

Quoted 14 lines · thomas schorpp

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)

Quoted 6 lines

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

#2 lore raw

Re: [Fwd: Re: newer C-Media CMI9761A], No PCM Master slider functional

In reply to thomas schorpp

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

#3 lore raw
In reply to thomas schorpp

At Fri, 18 Feb 2005 18:56:12 +0100,

Quoted 10 lines · thomas schorpp

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

Quoted 8 lines

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