HDA (Realtek ALC883) and surround sound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've just built a new amd64 system with an Abit KN9S motherboard. It 
includes the following HDA chip on nforce5:

00:06.1 Audio device [0403]: nVidia Corporation MCP55 High Definition 
Audio [10de:0371] (rev a2)
         Subsystem: ABIT Computer Corp. Unknown device [147b:1c20]
         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 1274
         Memory at fe024000 (32-bit, non-prefetchable) [size=16K]
         Capabilities: [44] Power Management version 2
         Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ 
Queue=0/0 Enable+
         Capabilities: [6c] HyperTransport: MSI Mapping

I am running 2.6.23-rc5-git1

The motherboard supports a 7.1 surround system, I'm using a 4.1 speaker 
system.

There are 6 audio I/O ports on the board: Surround, Center/Sub, Rear, 
Line In, Line Out, Mic

Does this mean that it is a '6 stack' setup? (just curious what the 
'stack' terminology means)

Here are the probe messages:

ACPI: PCI Interrupt 0000:00:06.1[B] -> Link [AAZA] -> GSI 22 (level, 
low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:06.1 to 64
ALSA sound/pci/hda/hda_intel.c:695: codec_mask = 0x1
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA sound/pci/hda/hda_codec.c:2331: autoconfig: line_outs=4 
(0x14/0x15/0x16/0x17/0x0)
ALSA sound/pci/hda/hda_codec.c:2335:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:2339:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:2347:    inputs: mic=0x18, fmic=0x19, 
line=0x1a, fline=0x0, cd=0x1c, aux=0x0

My 4.1 system has 2 plugs: one for rear, one for front. I plugged front 
into Line Out and rear into Rear.

I'm trying to get surround working with this setup. I raise all mixers 
in alsamixer and then I run:
	speaker-test -c 4

and it cycles through all 4 channels:

For "front left", I hear the pink noise in both the front left and rear 
left speakers
For "front right", I hear the pink noise in both the front right and 
rear right speakers
For "rear left" and "rear right", I hear nothing.

In other words, it seems to be running like a 2.1 system with 4 speakers 
where the front and rear speakers on each side mirror each other. I can 
tweak the volume balance between front and rear with the "Front" and 
"Surround" mixers in alsamixer.

Am I doing anything wrong? How can I go about solving this so that the 
computer can specifically play audio out of the rear speakers?

Here is the amixer output:
> Simple mixer control 'Headphone',0
>   Capabilities: pswitch
>   Playback channels: Front Left - Front Right
>   Mono:
>   Front Left: Playback [off]
>   Front Right: Playback [off]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 255 [100%] [0.00dB]
>   Front Right: Playback 255 [100%] [0.00dB]
> Simple mixer control 'Front',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 31 [100%] [0.00dB] [on]
>   Front Right: Playback 31 [100%] [0.00dB] [on]
> Simple mixer control 'Front Mic',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 0 [0%] [-34.50dB] [on]
>   Front Right: Playback 0 [0%] [-34.50dB] [on]
> Simple mixer control 'Surround',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 26 [84%] [-7.50dB] [on]
>   Front Right: Playback 26 [84%] [-7.50dB] [on]
> Simple mixer control 'Center',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 31
>   Mono: Playback 0 [0%] [-46.50dB] [on]
> Simple mixer control 'LFE',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 31
>   Mono: Playback 0 [0%] [-46.50dB] [on]
> Simple mixer control 'Side',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 0 [0%] [-46.50dB] [on]
>   Front Right: Playback 0 [0%] [-46.50dB] [on]
> Simple mixer control 'Line',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 0 [0%] [-34.50dB] [on]
>   Front Right: Playback 0 [0%] [-34.50dB] [on]
> Simple mixer control 'CD',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 0 [0%] [-34.50dB] [on]
>   Front Right: Playback 0 [0%] [-34.50dB] [on]
> Simple mixer control 'Mic',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 0 [0%] [-34.50dB] [on]
>   Front Right: Playback 0 [0%] [-34.50dB] [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 0 [0%] [-12.00dB] [on]
>   Front Right: Capture 0 [0%] [-12.00dB] [on]
> Simple mixer control 'Capture',1
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 31
>   Front Left: Capture 0 [0%] [-12.00dB] [on]
>   Front Right: Capture 0 [0%] [-12.00dB] [on]
> Simple mixer control 'Input Source',0
>   Capabilities: enum
>   Items: 'Mic' 'Front Mic' 'Line' 'CD'
>   Item0: 'Mic'
> Simple mixer control 'Input Source',1
>   Capabilities: enum
>   Items: 'Mic' 'Front Mic' 'Line' 'CD'
>   Item0: 'Mic'


Another unrelated question: what is the "Headphone" control for? It 
doesn't seem to make any difference to anything.


Apart from the surround issues and my own curiosity, the setup is 
working nicely and even works with MSI :)

Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux