Skip to contentSkip to conversation

Surround sound not working on ALC887 based motherboard

DISCUSSION Olivier Crête 2 participants 6 messages Jan 9, 2014 – Jan 15, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I have a Asus P5G41T-M LX Plus motherboard which is ICH7 + Realtek ALC887-VD, alsa only lets me access the first 2 channels (stereo), but not the 6 other ones. It works fine in Windows.

Trying to run this after killing pulseaudio fails:

$ aplay -D surround40:0 -f S16_LE -r 44100 -c 4 /dev/zero -v
Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 4
aplay: set_params:1239: Channels count non available

Output from alsa-info:
http://www.alsa-project.org/db/?f=fe378d28f0dbb5a427b005d20866a762fd37d31a

Signature · 2 lines
Olivier Crête
[email protected]
#1 lore raw

2014/1/10 Olivier Crête <[email protected]>

Quoted 14 lines

Hello,

I have a Asus P5G41T-M LX Plus motherboard which is ICH7 + Realtek ALC887-VD, alsa only lets me access the first 2 channels (stereo), but not the 6 other ones. It works fine in Windows.

Trying to run this after killing pulseaudio fails:

$ aplay -D surround40:0 -f S16_LE -r 44100 -c 4 /dev/zero -v
Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 44100 Hz,
Channels 4
aplay: set_params:1239: Channels count non available
Quoted 5 lines

Output from alsa-info:
http://www.alsa-project.org/db/?f=fe378d28f0dbb5a427b005d20866a762fd37d31a

--

post output of pactl list or pulseaudio verbose log

you have to change channel mode from 2ch to 6ch to retask the input jacks as output if your motherboard only have three audio jacks at rear panel

do you mean pulseaudio cannot probe the surroun40 or surround51 profile ?

Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

Hi,

Quoted 15 lines · Raymond Yau

2014/1/10 Olivier Crête <[email protected]>
I have a Asus P5G41T-M LX Plus motherboard which is ICH7 + Realtek
ALC887-VD, alsa only lets me access the first 2 channels (stereo), but
not the 6 other ones. It works fine in Windows.

Trying to run this after killing pulseaudio fails:

$ aplay -D surround40:0 -f S16_LE -r 44100 -c 4 /dev/zero -v Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 4
aplay: set_params:1239: Channels count non available

Quoted 5 lines

Output from alsa-info:
http://www.alsa-project.org/db/?f=fe378d28f0dbb5a427b005d20866a762fd37d31a

post output of pactl list or pulseaudio verbose log

http://www.ocrete.ca/surround/pactl-list.txt
http://www.ocrete.ca/surround/pulseaudio-vv.txt

Quoted 3 lines

you have to change channel mode from 2ch to 6ch to retask the input jacks as output if your motherboard only have three audio jacks at rear panel

How would one do that ? Pulseaudio only offers Stereo profiles.

Quoted 2 lines

do you mean pulseaudio cannot probe the surroun40 or surround51 profile ?

Yes, but I can't use it with aplay even without pulseaudio running.

Quoted 4 lines

Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'

Signature · 7 lines
Olivier Crête
[email protected]

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#3 lore raw
Quoted 8 lines
Quoted 8 lines

I have a Asus P5G41T-M LX Plus motherboard which is ICH7 + Realtek
ALC887-VD, alsa only lets me access the first 2 channels (stereo), but
not the 6 other ones. It works fine in Windows.

Trying to run this after killing pulseaudio fails:

Quoted 8 lines
Quoted 8 lines
        $ aplay -D surround40:0 -f S16_LE -r 44100 -c 4 /dev/zero -v
        Playing raw data '/dev/zero' : Signed 16 bit Little Endian,
        Rate 44100 Hz, Channels 4
        aplay: set_params:1239: Channels count non available

Output from alsa-info:

http://www.alsa-project.org/db/?f=fe378d28f0dbb5a427b005d20866a762fd37d31a

Quoted 11 lines
Quoted 9 lines

you have to change channel mode from 2ch to 6ch to retask the input jacks as output if your motherboard only have three audio jacks at rear panel

Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'

How would one do that ? Pulseaudio only offers Stereo profiles.

amixer -c0 set "Channel Mode" "6ch"

you can logout and login after you set the channel mode to 6ch so that pulseaudio is restarted.

this also require

alsactl store this setting before computer shutdown

alsactl restore this setting after computer boot

Quoted 12 lines
Quoted 2 lines

post output of pactl list or pulseaudio verbose log

http://www.ocrete.ca/surround/pactl-list.txt
http://www.ocrete.ca/surround/pulseaudio-vv.txt

Quoted 2 lines

do you mean pulseaudio cannot probe the surroun40 or surround51 profile ?

Yes, but I can't use it with aplay even without pulseaudio running.

try speaker-test -c 6 -t wav -Dhw:0,0 after you set the channel mode to 6ch

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

A message that is not in the archive (sent off-list or not yet received): 1389719312.4661.21.camel@TesterBox

#5 lore raw

2014/1/15 Olivier Crête <[email protected]>

Quoted 17 lines

Hi,

Quoted 14 lines
Quoted 14 lines

I have a Asus P5G41T-M LX Plus motherboard which is ICH7 + Realtek
ALC887-VD, alsa only lets me access the first 2 channels (stereo), but
not the 6 other ones. It works fine in Windows.

Trying to run this after killing pulseaudio fails:

$ aplay -D surround40:0 -f S16_LE -r 44100 -c 4 /dev/zero -v Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 4
aplay: set_params:1239: Channels count non available

Quoted 16 lines
Quoted 2 lines
Quoted 2 lines

Output from alsa-info:

http://www.alsa-project.org/db/?f=fe378d28f0dbb5a427b005d20866a762fd37d31a

Quoted 12 lines
Quoted 3 lines

post output of pactl list or pulseaudio verbose log

http://www.ocrete.ca/surround/pactl-list.txt
http://www.ocrete.ca/surround/pulseaudio-vv.txt

Quoted 3 lines

you have to change channel mode from 2ch to 6ch to retask the input jacks as output if your motherboard only have three audio jacks at rear panel

How would one do that ? Pulseaudio only offers Stereo profiles.

amixer -c0 set "Channel Mode" "6ch"

Quoted 13 lines
Quoted 3 lines

do you mean pulseaudio cannot probe the surroun40 or surround51 profile ?

Yes, but I can't use it with aplay even without pulseaudio running.

Quoted 4 lines

Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'

Quoted 3 lines

For some reason didn't get your last email, but I saw I saw it on the archive.. Thanks for your solution, it worked! Definitely something PulseAudio should expose better.

do it really work since rear mic become active port even when it had been retasked as output ?

Ports:
analog-input-front-mic: Front Microphone (priority: 8500, not available)
analog-input-rear-mic: Rear Microphone (priority: 8200, available)
analog-input-linein: Line In (priority: 8100, available)
Active Port: analog-input-rear-mic
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw
Quoted 65 lines · Raymond Yau

2014/1/15 Olivier Crête <[email protected]>
Hi,

> > I have a Asus P5G41T-M LX Plus motherboard which
is ICH7 +
> > Realtek
> > ALC887-VD, alsa only lets me access the first 2
channels
> > (stereo), but
> > not the 6 other ones. It works fine in Windows.
> >
> > Trying to run this after killing pulseaudio fails:
> >
> > $ aplay -D surround40:0 -f S16_LE -r 44100 -c
4 /dev/zero -v
> > Playing raw data '/dev/zero' : Signed 16 bit
Little Endian,
> > Rate 44100 Hz, Channels 4
> > aplay: set_params:1239: Channels count non
available
> >
> >
> > Output from alsa-info:
> >
http://www.alsa-project.org/db/?f=fe378d28f0dbb5a427b005d20866a762fd37d31a
>
> >
> > post output of pactl list or pulseaudio verbose log >
> http://www.ocrete.ca/surround/pactl-list.txt
> http://www.ocrete.ca/surround/pulseaudio-vv.txt
>
> > you have to change channel mode from 2ch to 6ch to retask the input
> > jacks as output if your motherboard only have three audio jacks at
> > rear panel
>
> How would one do that ? Pulseaudio only offers Stereo profiles.

amixer -c0 set "Channel Mode" "6ch"

Quoted 14 lines
Quoted 3 lines

do you mean pulseaudio cannot probe the surroun40 or surround51 profile ?

Yes, but I can't use it with aplay even without pulseaudio running.

Quoted 4 lines

Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'

Quoted 1 line

For some reason didn't get your last email, but I saw I saw it on

the

Quoted 8 lines
Quoted 2 lines

archive.. Thanks for your solution, it worked! Definitely something PulseAudio should expose better.

do it really work since rear mic become active port even when it had been retasked as output ?

The 6 outputs work at the same time. I didn't try it as a mic as I don't have a mic here...

Quoted 5 lines

Ports:
analog-input-front-mic: Front Microphone (priority: 8500, not available)
analog-input-rear-mic: Rear Microphone (priority: 8200, available)
analog-input-linein: Line In (priority: 8100, available)
Active Port: analog-input-rear-mic

Signature · 2 lines
Olivier Crête
[email protected]