All of lore.kernel.org
 help / color / mirror / Atom feed
* Surround sound not working on ALC887 based motherboard
@ 2014-01-09 16:53 Olivier Crête
  2014-01-13 10:16 ` Raymond Yau
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier Crête @ 2014-01-09 16:53 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 610 bytes --]

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

-- 
Olivier Crête
olivier.crete@ocrete.ca

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Surround sound not working on ALC887 based motherboard
  2014-01-09 16:53 Surround sound not working on ALC887 based motherboard Olivier Crête
@ 2014-01-13 10:16 ` Raymond Yau
  2014-01-13 20:12   ` Olivier Crête
  0 siblings, 1 reply; 6+ messages in thread
From: Raymond Yau @ 2014-01-13 10:16 UTC (permalink / raw)
  To: Olivier Crête; +Cc: ALSA Development Mailing List

2014/1/10 Olivier Crête <olivier.crete@ocrete.ca>

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

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
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Surround sound not working on ALC887 based motherboard
  2014-01-13 10:16 ` Raymond Yau
@ 2014-01-13 20:12   ` Olivier Crête
  2014-01-14  6:34     ` [alsa-devel] " Raymond Yau
       [not found]     ` <1389719312.4661.21.camel@TesterBox>
  0 siblings, 2 replies; 6+ messages in thread
From: Olivier Crête @ 2014-01-13 20:12 UTC (permalink / raw)
  To: Raymond Yau; +Cc: ALSA Development Mailing List

Hi,

On Mon, 2014-01-13 at 18:16 +0800, Raymond Yau wrote:

> 2014/1/10 Olivier Crête <olivier.crete@ocrete.ca>
>         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.

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

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

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


-- 
Olivier Crête
olivier.crete@ocrete.ca

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [alsa-devel] Surround sound not working on ALC887 based motherboard
  2014-01-13 20:12   ` Olivier Crête
@ 2014-01-14  6:34     ` Raymond Yau
       [not found]     ` <1389719312.4661.21.camel@TesterBox>
  1 sibling, 0 replies; 6+ messages in thread
From: Raymond Yau @ 2014-01-14  6:34 UTC (permalink / raw)
  To: Olivier Crête, pulseaudio-discuss; +Cc: ALSA Development Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 1690 bytes --]

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


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

[-- Attachment #1.2: Type: text/html, Size: 2604 bytes --]

[-- Attachment #2: Type: text/plain, Size: 186 bytes --]

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Surround sound not working on ALC887 based motherboard
       [not found]     ` <1389719312.4661.21.camel@TesterBox>
@ 2014-01-15  7:35       ` Raymond Yau
  2014-01-15 17:50         ` Olivier Crête
  0 siblings, 1 reply; 6+ messages in thread
From: Raymond Yau @ 2014-01-15  7:35 UTC (permalink / raw)
  To: Olivier Crête, ALSA Development Mailing List

2014/1/15 Olivier Crête <olivier.crete@ocrete.ca>

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

>
> > do you mean pulseaudio cannot probe the surroun40 or surround51
> > profile ?
>
> Yes, but I can't use it with aplay even without pulseaudio running.
>
> > Simple mixer control 'Channel Mode',0
> >   Capabilities: enum
> >   Items: '2ch' '4ch' '6ch'
> >   Item0: '2ch'
>
>

> 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
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Surround sound not working on ALC887 based motherboard
  2014-01-15  7:35       ` Raymond Yau
@ 2014-01-15 17:50         ` Olivier Crête
  0 siblings, 0 replies; 6+ messages in thread
From: Olivier Crête @ 2014-01-15 17:50 UTC (permalink / raw)
  To: Raymond Yau; +Cc: ALSA Development Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 2744 bytes --]

On Wed, 2014-01-15 at 15:35 +0800, Raymond Yau wrote:
> 
> 
> 
> 2014/1/15 Olivier Crête <olivier.crete@ocrete.ca>
>         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"
> 
> 
> >
> > > do you mean pulseaudio cannot probe the surroun40 or surround51
> > > profile ?
> >
> > Yes, but I can't use it with aplay even without pulseaudio running.
> >
> > > Simple mixer control 'Channel Mode',0
> > >   Capabilities: enum
> > >   Items: '2ch' '4ch' '6ch'
> > >   Item0: '2ch'
> >
> >
> 
> 
> > 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 ?

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

> 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


-- 
Olivier Crête
olivier.crete@ocrete.ca

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-15 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-09 16:53 Surround sound not working on ALC887 based motherboard Olivier Crête
2014-01-13 10:16 ` Raymond Yau
2014-01-13 20:12   ` Olivier Crête
2014-01-14  6:34     ` [alsa-devel] " Raymond Yau
     [not found]     ` <1389719312.4661.21.camel@TesterBox>
2014-01-15  7:35       ` Raymond Yau
2014-01-15 17:50         ` Olivier Crête

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.