Skip to contentSkip to conversation

AD1986a

DISCUSSION Arnaud Patard 2 participants 4 messages Jan 4, 2006 – Jan 11, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I have the same problem as
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1678

I though that it was only a matter of how the hda verbs were initialised so I made a patch allowing to change the channel configuration
(http://people.mandriva.com/~apatard/ad1986a_2channel_mode_fix.patch).
Unfortunately, this was not enough.

Today, I've added this patch
http://people.mandriva.com/~apatard/dont_copy_front.patch which is working but it's rather something ugly.

Moreover, I'm only able to test this with two speakers, so I don't know if these patches are working with 4 or 6 channels setups.

Any hint on how to debug and fix this bug ?

Regards,
Arnaud

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

#1 lore raw

At Wed, 04 Jan 2006 19:22:21 +0100,

Quoted 11 lines · Arnaud Patard

Hi,

I have the same problem as
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1678

I though that it was only a matter of how the hda verbs were initialised so I made a patch allowing to change the channel configuration
(http://people.mandriva.com/~apatard/ad1986a_2channel_mode_fix.patch).
Unfortunately, this was not enough.

This patch looks fine.

Quoted 6 lines

Today, I've added this patch
http://people.mandriva.com/~apatard/dont_copy_front.patch which is working but it's rather something ugly.

Moreover, I'm only able to test this with two speakers, so I don't know if these patches are working with 4 or 6 channels setups.

Surely won't work since you disabled the signal to surrounds :)

Quoted 1 line

Any hint on how to debug and fix this bug ?

What is the exact status on your board? Is only the front left channel noisy or silence? I still don't figure out how the latter patch fixes the problem...

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

#2 lore raw
Quoted 9 lines · Takashi Iwai

At Wed, 04 Jan 2006 19:22:21 +0100,

Quoted 7 lines · Arnaud Patard

Hi,

I have the same problem as
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1678

Quoted 6 lines
Quoted 4 lines

I though that it was only a matter of how the hda verbs were initialised so I made a patch allowing to change the channel configuration
(http://people.mandriva.com/~apatard/ad1986a_2channel_mode_fix.patch).
Unfortunately, this was not enough.

This patch looks fine.

okay. I'll probably wait for the noise bug to be fixed before sending it for inclusion.

Quoted 9 lines
Quoted 7 lines

Today, I've added this patch
http://people.mandriva.com/~apatard/dont_copy_front.patch which is working but it's rather something ugly.

Moreover, I'm only able to test this with two speakers, so I don't know if these patches are working with 4 or 6 channels setups.

Surely won't work since you disabled the signal to surrounds :)

hm.. so, I'm probably wrong but I though that this patch was only preventing to send front signal to others DACs when a stereo sound is playing (thus playing 5.1 sound on 5.1 systems should still work).

Quoted 6 lines
Quoted 2 lines

Any hint on how to debug and fix this bug ?

What is the exact status on your board? Is only the front left channel noisy or silence? I still don't figure out how the latter patch fixes the problem...

Only the front left is noisy. The front right is fine. About how this is fixing the bug, I have only guesses. I think it's a matter of codec setup and doing this fixes it for unknown reasons. I've even noticed that loading a module with this patch and then replacing it with the original module was working too. It's weird :(

Arnaud

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

#3 lore raw

At Wed, 11 Jan 2006 14:15:30 +0100,

Quoted 17 lines · Arnaud Patard
Quoted 14 lines · Takashi Iwai

At Wed, 04 Jan 2006 19:22:21 +0100,

Quoted 11 lines · Arnaud Patard

Hi,

I have the same problem as
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1678

I though that it was only a matter of how the hda verbs were initialised so I made a patch allowing to change the channel configuration
(http://people.mandriva.com/~apatard/ad1986a_2channel_mode_fix.patch).
Unfortunately, this was not enough.

Quoted 4 lines
Quoted 1 line

This patch looks fine.

okay. I'll probably wait for the noise bug to be fixed before sending it for inclusion.

OK.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Today, I've added this patch
http://people.mandriva.com/~apatard/dont_copy_front.patch which is working but it's rather something ugly.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Moreover, I'm only able to test this with two speakers, so I don't know if these patches are working with 4 or 6 channels setups.

Surely won't work since you disabled the signal to surrounds :)

hm.. so, I'm probably wrong but I though that this patch was only preventing to send front signal to others DACs when a stereo sound is playing (thus playing 5.1 sound on 5.1 systems should still work).

Yes, if you meant so, it's correct. I interpreted the above as a typical bugreport "hearing no sounds from surrounds when I play mp3" :)

Quoted 7 lines
Quoted 6 lines
Quoted 2 lines

Any hint on how to debug and fix this bug ?

What is the exact status on your board? Is only the front left channel noisy or silence? I still don't figure out how the latter patch fixes the problem...

Quoted 5 lines

Only the front left is noisy. The front right is fine. About how this is fixing the bug, I have only guesses. I think it's a matter of codec setup and doing this fixes it for unknown reasons. I've even noticed that loading a module with this patch and then replacing it with the original module was working too. It's weird :(

Hm, this sounds like rather a some bug in the hardware. I'll try to ask AD about this...

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click