Skip to contentSkip to conversation

Strange things with via82xx

DISCUSSION Maurizio Monge 2 participants 5 messages Jun 22, 2004 – Jun 23, 2004

lore
Share & tools
lore
#0 lore raw

hello,
i have a K8V Deluxe Asus MB, with an AMD64 and 2.6.7 kernel. on the motherboard there are 3 jacks:

red lite green dark green
O O O

the mb manual says that red is "Microphone jack", lite green "Out Jack" and dark green "In Jack".

The very strange thing is this:
when using linux OSS or WinXP 32bits (if i remember correctly, as i deleted it :-) ), to listen audio i have to connect the loudspeakers
to the red "Microphone jack" (!!!).

When using FreeBSD 32bits (OSS) or ALSA i have to connect the loudspeakers to the light green "Out Jack".

This looks very strange!

Further, when using WinXP, linux OSS or FreeBSD i get a MUCH better quality than with ALSA (cshhhhhhhhhhhhhhhhh).
Of course i tried dxs_support=0,1,2,3,4 but the sound quality do not changes. Any idea? Thanks.

my lspci via entry is:

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 60)
Subsystem: Asustek Computer, Inc.: Unknown device 80b0
Flags: medium devsel, IRQ 5
I/O ports at c800 [size=256]
Capabilities: [c0] Power Management version 2

Signature · 13 lines
Best Regards
Maurizio Monge

Please CC me to monge(at)sns(dot)it as i'm not subscribed.

"..the triumph of evil is for good men to do nothing." (Edmond Burke)


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
#1 lore raw
Quoted 4 lines · Maurizio Monge

when using linux OSS or WinXP 32bits (if i remember correctly, as i deleted it :-) ), to listen audio i have to connect the loudspeakers
to the red "Microphone jack" (!!!).

Quoted 8 lines

When using FreeBSD 32bits (OSS) or ALSA i have to connect the loudspeakers to the light green "Out Jack".

This looks very strange!

Further, when using WinXP, linux OSS or FreeBSD i get a MUCH better quality than with ALSA (cshhhhhhhhhhhhhhhhh).
Of course i tried dxs_support=0,1,2,3,4 but the sound quality do not changes.

What codec does your MB use? (see second line at the top of the alsamixer screen)

Regards,
Clemens

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com

#2 lore raw
Quoted 4 lines

What codec does your MB use? (see second line at the top of the alsamixer screen)

Alsamixer says:

Card: VIA 823x rev60
Chip: Analog Devices AD1980

Signature · 11 lines
Best Regards
Maurizio Monge

"..the triumph of evil is for good men to do nothing." (Edmond Burke)


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
#3 lore raw
Quoted 4 lines · Maurizio Monge
Quoted 2 lines

What codec does your MB use? (see second line at the top of the alsamixer screen)

Chip: Analog Devices AD1980

The AD1980 allows to reconfigure some of its input/output jacks, see the controls "Exchange Front/Surround", "Surround Jack as Input" and "Center/LFE Jack as Input" in alsamixer.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Further, when using WinXP, linux OSS or FreeBSD i get a MUCH better quality than with ALSA (cshhhhhhhhhhhhhhhhh).

Maybe some input isn't muted in the mixer?
Does it happen when you run "aplay something.wav"?
Does it happen when you play a file that has a sample rate of 48 kHz?

Regards,
Clemens

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com

#4 lore raw
Quoted 5 lines

The AD1980 allows to reconfigure some of its input/output jacks, see the controls "Exchange Front/Surround", "Surround Jack as Input" and "Center/LFE Jack as Input" in alsamixer.

You're right, playing with those options i can exchange the outputs and use for instance the same jack a with oss, or with "Spread Front to Surround and Center/LFE" i can use both. Sorry, i should think before posting :-)

Quoted 4 lines

Maybe some input isn't muted in the mixer?
Does it happen when you run "aplay something.wav"?
Does it happen when you play a file that has a sample rate of 48 kHz?

Great!
Muting or not muting source input had no effect on the output quality, but resampling with sox to 48k made the sound ok. I found that it was a my bad mistake and i had a line in /etc/modprobe.conf that overrided the dxs_support to 1, even if i did modprobe snd-via82xx dxs_support=x :-) After removing the above line i found that alsa works great with any dxs_support except 1. Sorry for boring you since it was my mistake, but you may still be interested to know that my PCI ids work great (clean sound) with dxs_support=4.
Thanx.

Signature · 11 lines
Best Regards
Maurizio Monge

"..the triumph of evil is for good men to do nothing." (Edmond Burke)


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com