[soundnua]No 5.1 surround sound as channel mode still 2ch after switch to 5.1 profile

Bug #1044150 reported by shane
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Expired
Low
Unassigned
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

i have no 5.1 surround sound,i have also google this heaps and also tried many of the fixes with no luck.also i have had this problem before and have been able to fix by changing a few lines in /etc/pulse/daemon.conf but i now have a new gigabyte m/b model h61ma-d2v,also i have been using linux for about 5 years but i ended up in desperation loading xp pro to another hardrive to see if i could get 5.1 surround to ensure both speakers and m/board were not faulty and it worked fine..any help would be much appreciated

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: alsa-base 1.0.25+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: sloath 1708 F.... pulseaudio
 /dev/snd/controlC0: sloath 1708 F.... pulseaudio
 /dev/snd/pcmC0D0c: sloath 1708 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf7d00000 irq 44'
   Mixer name : 'Realtek ALC887-VD'
   Components : 'HDA:10ec0887,1458a002,00100302'
   Controls : 34
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8d9'/'USB Device 0x46d:0x8d9 at usb-0000:00:1a.0-1.2, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08d9'
   Controls : 3
   Simple ctrls : 2
CheckboxSubmission: 5bd45b03de22d190c5ce995850d4c3f5
CheckboxSystem: fcdd340185c9db7431dce520c1b1ae62
Date: Fri Aug 31 10:34:45 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: QuickCam IM/Connect - USB Device 0x46d:0x8d9
Symptom_Type: Only some of outputs are working
Title: [HDA-Intel - HDA Intel PCH, playback] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/19/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F1
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H61MA-D2V
dmi.board.vendor: INTEL Corporation
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Tecohnology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF1:bd12/19/2011:svnGigabyteTecohnologyCo.,Ltd.:pnH61MA-D2V:pvrTobefilledbyO.E.M.:rvnINTELCorporation:rnH61MA-D2V:rvrx.x:cvnGigabyteTecohnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: H61MA-D2V
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Tecohnology Co., Ltd.

Revision history for this message
shane (sloath666) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

you need to switch channel mode from 2ch to 6ch and restore this setting by alsactl before pulseaudio start

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

Revision history for this message
Raymond (superquad-vortex2) wrote :

the channel mode switch from 2ch to 4ch or 6ch , retask the blue and/or pink jacks at rear panel as output jack

the driver should also change the state of rear mic jack and line jack to false

Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Rear Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19c50: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=03, enabled=1
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals: [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x00003736: IN OUT Detect Trigger
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181345f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x5, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=05, enabled=1
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

Revision history for this message
shane (sloath666) wrote :

,thanks for speedy reply Ramond,but where do i make these changes??

Revision history for this message
Raymond (superquad-vortex2) wrote :
Download full text (3.6 KiB)

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

alsactl store

restart pulseaudio server

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=blob_plain;f=Documentation/sound/alsa/HD-Audio-Controls.txt;hb=HEAD

Realtek codecs --------------

* Channel Mode This is an enum control to change the surround-channel setup, appears only when the surround channels are available. It gives the number of channels to be used, "2ch", "4ch", "6ch", and "8ch". According to the configuration, this also controls the jack-retasking of multi-I/O jacks.

can you post the pulseaudio log ?

I don't understand how can pulseaudio server switch to active profile surround51 when blue and pink jacks had not been retasked as output ( Pin-ctls are still IN ) and channel mode is still 2ch.

after switching to 6 channel node. analog-input rear mic and line-in ports should be unavailable

http://www.intel.com/support/motherboards/desktop/sb/cs-020642.htm#6ch

Jack retasking is a feature that allows an audio jack to support more than one function. For example, the pink audio jack can support microphone input when the system configuration is set to Stereo Mode, and as Center/LFE or Rear Surround (depending on the audio solution used) when set as 6 channel.

index: 1 name: <alsa_card.pci-0000_00_1b.0> driver: <module-alsa-card.c> owner module: 5 properties: alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xf7d00000 irq 44" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: output:analog-stereo: Analogue Stereo Output (priority 1000) output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (priority 1010) output:analog-surround-40: Analogue Surround 4.0 Output (priority 700) output:analog-surround-40+input:analog-stereo: Analogue Surround 4.0 Output + Analogue Stereo Input (priority 710) output:analog-surround-41: Analogue Surround 4.1 Output (priority 800) output:analog-surround-41+input:analog-stereo: Analogue Surround 4.1 Output + Analogue Stereo Input (priority 810) output:analog-surround-50: Analogue Surround 5.0 Output (priority 700) output:analog-surround-50+input:analog-stereo: Analogue Surround 5.0 Output + Analogue Stereo Input (priority 710) output:analog-surround-51: Analogue Surround 5.1 Output (priority 3800) output:analog-surround-51+input:analog-stereo: Analogue Surround 5.1 Output + Analogue Stereo Input (priority 3810) input:analog-stereo: Analogue Stereo Input (priority 10) off: Off (priority 0) active profile: <output:analog-surround-51+input:analog-stereo> sinks: alsa_output.pci-0000_00_1b.0.analog-surround-51/#0: Built-in Audio Analogue Surround 5.1 sources: alsa_output.pci-0000_00_1b.0.analog-surround-51.monitor/#1: Monitor of Built-in Audio Analogue Surround 5.1...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Raymond (superquad-vortex2) wrote :

this mean sound preference does not switch channel mode to 6ch when switching profile

profiles:
  output:analog-stereo: Analogue Stereo Output (priority 1000)
  output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (priority 1010)
  output:analog-surround-40: Analogue Surround 4.0 Output (priority 700)
  output:analog-surround-40+input:analog-stereo: Analogue Surround 4.0 Output + Analogue Stereo Input (priority 710)
  output:analog-surround-41: Analogue Surround 4.1 Output (priority 800)
  output:analog-surround-41+input:analog-stereo: Analogue Surround 4.1 Output + Analogue Stereo Input (priority 810)
  output:analog-surround-50: Analogue Surround 5.0 Output (priority 700)
  output:analog-surround-50+input:analog-stereo: Analogue Surround 5.0 Output + Analogue Stereo Input (priority 710)
  output:analog-surround-51: Analogue Surround 5.1 Output (priority 3800)
  output:analog-surround-51+input:analog-stereo: Analogue Surround 5.1 Output + Analogue Stereo Input (priority 3810)
  input:analog-stereo: Analogue Stereo Input (priority 10)
  off: Off (priority 0)
 active profile: <output:analog-surround-51+input:analog-stereo>

affects: alsa-driver (Ubuntu) → pulseaudio (Ubuntu)
summary: - no 5.1 surround sound
+ [soundnuances]No 5.1 surround sound as channel mode still 2ch after
+ switch to 5.1 profile
summary: - [soundnuances]No 5.1 surround sound as channel mode still 2ch after
- switch to 5.1 profile
+ [soundnua]No 5.1 surround sound as channel mode still 2ch after switch
+ to 5.1 profile
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
Raymond (superquad-vortex2) wrote :

HDA-Intel.pcm.surround40.0 {
 @args [ CARD ]
 @args.CARD {
  type string
 }

  type hooks
  slave.pcm {
   type hw
   card $CARD
   channels 4
  }
  hooks.0 {
   type ctl_elems
   hook_args [
   {
    name "Channel Mode"
    preserve true
    value "4ch"
    lock true
    optional true
   }
   ]
  }
}

HDA-Intel.pcm.surround51.0 {
 @args [ CARD ]
 @args.CARD {
  type string
 }

  type hooks
  slave.pcm {
   type hw
   card $CARD
   channels 6

  hooks.0 {
   type ctl_elems
   hook_args [
   {
    name "Channel Mode"
    preserve true
    value "6ch"
    lock true
    optional true
   }
   ]
  }

}

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Changed in gnome-control-center (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-control-center (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-control-center (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.