Internal sub-woofer on Asus G75VW laptop doesn't work.

Bug #1274401 reported by Stephen Michalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Medium
Unassigned

Bug Description

The internal sub-woofer does not work on the Asus G75VW series laptop. It has no usable controls in the Sound Settings window and sound does not come from the internal sub-woofer when testing it with Rhythmbox, youtube.com video and audio, or Audacious.

Ubuntu Version: Ubuntu 12.04.4 LTS

- Linux Version -
linux:
  Installed: (none)
  Candidate: 3.2.0.58.69
  Version table:
     3.2.0.58.69 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
     3.2.0.23.25 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-58-generic 3.2.0-58.88
ProcVersionSignature: Ubuntu 3.2.0-58.88-generic 3.2.53
Uname: Linux 3.2.0-58-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: crosswalk 2018 F.... pulseaudio
 /dev/snd/controlC0: crosswalk 2018 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf7310000 irq 44'
   Mixer name : 'VIA VT1802'
   Components : 'HDA:11068446,10431487,00100000'
   Controls : 31
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xf7080000 irq 17'
   Mixer name : 'Nvidia GPU 42 HDMI/DP'
   Components : 'HDA:10de0042,10432119,00100100'
   Controls : 12
   Simple ctrls : 2
Date: Thu Jan 30 02:12:06 2014
HibernationDevice: RESUME=UUID=9e120375-84ba-4393-a169-35f243c10efa
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MachineType: ASUSTeK COMPUTER INC. G75VW
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-58-generic root=UUID=eb4a342d-0d1e-421f-a355-5fb8eb65bb15 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Daemon not responding.
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-58-generic N/A
 linux-backports-modules-3.2.0-58-generic N/A
 linux-firmware 1.79.9
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/21/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: G75VW.218
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: G75VW
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrG75VW.218:bd08/21/2012:svnASUSTeKCOMPUTERINC.:pnG75VW:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnG75VW:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: G75VW
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Stephen Michalski (zerodroprate) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.13 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-trusty/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-fixed-upstream
Revision history for this message
Stephen Michalski (zerodroprate) wrote :

After testing the 3.13 kernel provided by the link, I found that the internal sub-woofer was outputting sound, but could not be controlled via the Sounds settings.

tags: added: kernel-bug-exists-upstream
removed: kernel-fixed-upstream
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

https://github.com/torvalds/linux/commit/d5266125fb439a5dfa4edd548d888fda47414ac5

Perhaps you should send e-mail to Takashi Iwai <email address hidden> . Before doing that, you should test a LiveUSB of Ubuntu 13.10 if possible to verify the issue hasn't been fixed elsewhere in sound stack.

affects: linux (Ubuntu) → alsa-driver (Ubuntu)
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

One more thing.. it would be nice if you could give link to your updated info while running the new kernel: https://wiki.ubuntu.com/Audio/AlsaInfo

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

try

sudo ./hda-verb /dev/snd/hwC0D0 0x3e 0xf00 0x9

do it return following wcaps ?

 nid = 0x3e, verb = 0xf00, param = 0x9
 value = 0x200500

sudo ./hda-verb /dev/snd/hwC0D0 0x3e 0xf00 0xe

do it return number of connection
 nid = 0x3e, verb = 0xf00, param = 0xe
 value = 0x1

sudo ./hda-verb /dev/snd/hwC0D0 0x3e 0xf02 0x0

di it return the nodes in the connection list
 nid = 0x3e, verb = 0xf02, param = 0x0
 value = 0x1c

repeat the above test wit node 0x3d

Node 0x3d [Audio Selector] wcaps 0x300501: Stereo
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x08* 0x09
Node 0x3e [Audio Mixer] wcaps 0x200500: Mono
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x1c

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

Attached to this post is the output of the alsa-info.sh script running on the 3.13 mainline kernel.

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

you have to remove model : asus-mode4 from /etc/modprobe.d/alsa-base.conf

use hda-verb to find the widget cap of node 0x3e

post the output of

sudo ./hda-verb /dev/snd/hwC0D0 0x3e 0xf00 0x9

if return valhe is 0x200500

try to find out the length of the connection List of node 0x3e

sudo ./hda-verb /dev/snd/hwC0D0 0x3e 0xf00 0xe

if value is not zero , try to find out the connection list of node 0x3e

sudo ./hda-verb /dev/snd/hwC0D0 0x3e 0xf02 0x0

the return value is the node which node 0x3e connected to

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

there are only two amp out in two audio output 0x08 and 0x9 but there are three output pin complex (speaker, subwoofer and headphone)

this mean that some output must share the volume control'

pactl list

https://wiki.ubuntu.com/PulseAudio/Log

Node 0x08 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="VT1802 Analog", type="Audio", device=0
  Device: name="VT1802 Alt Analog", type="Audio", device=2
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals: [0x10 0x10]
  Converter: stream=8, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x09 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Bass Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals: [0x10 0x10]
  Converter: stream=8, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0

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

send email to Taiwai to disable independent headphone

 Device: name="VT1802 Analog", type="Audio", device=0
  Device: name="VT1802 Alt Analog", type="Audio", device=2

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

the driver can not share the volume control with headphone and speaker on this machine when create alt analog device on the same audio output

analog and alt analog device must use different audio output

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

Raymond,

I'm not sure where you want me to execute the command, "sudo ./hda-verb /dev/snd/hwC0D0 0x3e 0xf00 0x9". When trying to execute the command at the home directory in bash, I get an error stating, "sudo: ./hda-verb: command not found". Where should I be executing this command exactly?

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

Raymond,

I'll add that after removing the lines from /etc/modprobe.d/alsa-base.conf that you had told me to remove, sound now only plays out of the sub-woofer, and not out of the two rear speakers located near the monitor.

Daniel,

I'm in the process of creating a LiveCD of Ubuntu 13.10 to confirm whether or not the problem is fixed in the sound stack with that version.

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

Daniel,

Testing under Ubuntu 13.10 allows the use of the internal sub-woofer. The sub-woofer controls in the Sound settings are still not usable, but using the slider for Fade from rear to front speakers under the Analog Surround 4.0 Output mode allows for panning between the two internal speakers near the monitor and the internal sub-woofer near the front of the keyboard (towards the user). Using Test Sound also makes it apparent that the internal sub-woofer is now being recognized as the Rear Left and Rear Right speakers.

Raymond,

Here are the outputs for the commands you requested that I run:

Command: "sudo hda-verb /dev/snd/hwC0D0 0x3e 0xf00 0x9"
Output: nid = 0x3e, verb = 0xf00, param = 0x9
                value = 0x200500

Command: "sudo hda-verb /dev/snd/hwC0D0 0x3e 0xf00 0xe"
Output: nid = 0x3e, verb = 0xf00, param = 0xe
                value = 0x1

Command: "sudo hda-verb /dev/snd/hwC0D0 0x3e 0xf02 0x0"
Output: nid = 0x3e, verb = 0xf02, param = 0x0
                value = 0x1c

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

Can you repeat the above test with node 0x3d since you cannot just add back node 0x3e without node 0x3d

the nodes of vt1802 seem similar to vt1812 except these two nodes are hidden

Node 0x3d [Audio Selector] wcaps 0x300501: Stereo
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x08* 0x09
Node 0x3e [Audio Mixer] wcaps 0x200500: Mono
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x1c

http://git.kernel.org/cgit/linux/kernel/git/tiwai/hda-emu.git/tree/codecs/vt1812-clevo-b5130m?id=HEAD

to add back both node 0x3d and 0x3e

need to revert this patch and

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=ef4da45828603df57e5e21b8aa21a66ce309f79b

fix codec->num_nodes from 0x3c to 0x3e for codec vt1802

static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node)
{
 int i;
 hda_nid_t nid;

 codec->num_nodes = snd_hda_get_sub_nodes(codec, fg_node,
       &codec->start_nid);

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

Raymond,

Here is the output you requested for the 0x3d node:

Command: sudo hda-verb /dev/snd/hwC0D0 0x3d 0xf00 0x9
Output: nid = 0x3d, verb = 0xf00, param = 0x9
               value = 0xf00000

Command: sudo hda-verb /dev/snd/hwC0D0 0x3d 0xf00 0xe
Output: nid 0x3d, verb = 0xf00, param = 0xe
               value = 0x0

Command: sudo hda-verb /dev/snd/hwC0D0 0x3d 0xf00 0x0
Output: nid 0x3d, verb = 0xf00, param = 0x0
               value = 0x0

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

Node 0x3d [Vendor Defined Widget] wcaps 0xf00000: Mono

this mean node 0x3d is a vendor defined widget

independent HP can be disabled by early patching using hint

indep_hp=0

the major problem is not enough volume controls for headphone , speaker and subwoofet

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

you have to post the pulseaudio verbose log since there is no headphone playback volume and speaker playback volume

how do pulseaudio know the headphone and speaker share "Front playback Volume" control ?

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 42
  Mono: Playback 16 [38%] [-39.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'Speaker',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'Bass Speaker',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 252 [99%] [0.60dB]
  Front Right: Playback 252 [99%] [0.60dB]
Simple mixer control 'Front',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB]
  Front Right: Playback 42 [100%] [0.00dB]

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

have you ask tiwai about the loopback mixing ?

node 0x21 only have three connection but

send: NID=0x21, VERB=0x363(set_amp_gain_mute,I:L#3), PARM=0x17
send: NID=0x21, VERB=0x353(set_amp_gain_mute,I:R#3), PARM=0x17

try to unmute the 4th entry in the connection list

 get 6
6 Loopback Mixing:0
ITEM: 0:Disabled, 1:Enabled, VAL: [Disabled]
> set 6 1
send: NID=0x14, VERB=0x360(set_amp_gain_mute,I:L#0), PARM=0x80
send: NID=0x14, VERB=0x350(set_amp_gain_mute,I:R#0), PARM=0x80
send: NID=0x24, VERB=0x701(set_connect_sel), PARM=0x0
send: NID=0x14, VERB=0x361(set_amp_gain_mute,I:L#1), PARM=0x0
send: NID=0x14, VERB=0x351(set_amp_gain_mute,I:R#1), PARM=0x0

send: NID=0x21, VERB=0x363(set_amp_gain_mute,I:L#3), PARM=0x17
send: NID=0x21, VERB=0x353(set_amp_gain_mute,I:R#3), PARM=0x17

send: NID=0x15, VERB=0x360(set_amp_gain_mute,I:L#0), PARM=0x80
send: NID=0x15, VERB=0x350(set_amp_gain_mute,I:R#0), PARM=0x80
send: NID=0x15, VERB=0x361(set_amp_gain_mute,I:L#1), PARM=0x0
send: NID=0x15, VERB=0x351(set_amp_gain_mute,I:R#1), PARM=0x0

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

Raymond,

I haven't e-mailed Taiwai yet as I'm not sure what information or requests I need to ask for. Do I need to simply tell him to disable independent headphones? So far this has been a lot of unfamiliar information that I'm not certain I should use or how I should use it.

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

*So far this has been a lot of unfamiliar information to me...

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

the major problem is how pulseaudio know when the headphone or speaker share the same volume control if the driver create "Bass Speaker Volume"

in your case the subwoofer is connected to the mono pin which downmix stereo to mono
the driver just copy front channel to both DAC instead of using 4 channels output

some asus notebook can also connect to sonic master external subwoofer

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1040873

according to the user comment. the subwoofer seem only use right channels of the stereo complex
in this case they need pulseaudio to mix left and right to provide signal to the external subwoofer

http://lists.freedesktop.org/archives/pulseaudio-discuss/2013-December/019654.html

e.g. a desktop with 3 audio jack at rear panel and 6 channels codec (e.g. alc662)

the rear line out and front panel headphone have to share the "Front Playback Volume" control since multi channel to support 5.1 is more important than the "headphone playback volume"

but a desktop with 6 audio jacks at rear panel and 10 channels codec

rear line out jack use Front Playback Volume" exclusively because there are enough volume controls for each output jacks and headphone use "headphone playback volume"

there are different case for a 4 channels codec

e.g. those thinkpad with dock station are also have three output ( headphone, dock headphone and internal speaker)

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

do you mean that you cannot change the volume of subwoofer by alsamixer -c0

Simple mixer control 'Bass Speaker',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [100%] [0.00dB] [on]

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

http://www.intel.com/support/motherboards/desktop/sb/CS-034206.htm

Multistreaming lets you listen to two different audio sources on two different speaker sets. For example, you can listen to one audio source through the back panel speakers and a second audio source through front panel headphones or speakers.

this require the front panel headphone and rear panel line out jack using different audio output

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

you should send email to both Massimo Del Fedele and Tiwai

and ask Massimo Del Fedele whether his g75 still working with latest alsa driver

since there is a number of changes which affect g75 after he add support of g75

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_codec.c?id=cd4035e814b04c009ece9939396d06370c53ed44

ALSA: hda - Enable surround speakers (when line out is also present)

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=b3f6008f2d511133e0f04782c437a13b6865d26b

ALSA: hda - Use generic parser for VIA codec driver

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

Raymond,

I e-mailed Massimo and received information that states the bug is fixed in the kernel that ships with Ubuntu 13.10, as I found it was myself when testing with the LiveCD version of 13.10. The volume controls in the graphical front-end for alsamixer that ships with Ubuntu versions doesn't allow for individual control for the sub-woofer, but the master volume control seems to change all of the speakers of the laptop equivalently.

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

so "bass speaker playback volume" is working as expected

it is pulseaudio bug which cannot provide a bass volume control for the subwoofer similar to surround 5.1

the sound preference provide controls for 5.1 profile

1) volume
2) balance
3) bass
4) fade

but sound preference did not provide bass control for 2.1 profile

1) volume
2) bass

https://bugs.freedesktop.org/enter_bug.cgi?product=PulseAudio

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

in simple word

pulseaudio did not provide 2.1 profile for your notebook

and sound preference did not provide control for the subwoofer for your 2.1 speaker system

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

http://git.alsa-project.org/?p=alsa-lib.git;a=blob_plain;f=test/chmap.c;hb=HEAD

compile and run the program to query the channel map

./chmap query -D hw:0,0

Revision history for this message
Stephen Michalski (zerodroprate) wrote :

Raymond,

Yes. Simply put, that is correct.

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

with hda-emu

when playing stereo , the driver setup two audio output 0x8 and 0x9 with same stream tag and channel =0

this is not 4 channels output

> PCM 0 p 44100 2 16
Open PCM VT1802 Analog for play
Available PCM parameters:
  channels: 2/4
  formats: S16_LE S32_LE
  rates: 44100 48000 88200 96000 192000
Prepare PCM, rate=44100, channels=2, format=16 bits
PCM format_val = 0x4011
send: NID=0xe, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x0
hda_codec_setup_stream: NID=0xe, stream=0x1, channel=0, format=0x4011
send: NID=0xe, VERB=0xf06(get_channel_streamid), PARM=0x0
receive: 0x0
send: NID=0xe, VERB=0x706(set_channel_streamid), PARM=0x10
send: NID=0xe, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x0
send: NID=0xe, VERB=0x240(set_stream_format), PARM=0x11
hda_codec_setup_stream: NID=0x8, stream=0x1, channel=0, format=0x4011
send: NID=0x8, VERB=0xf06(get_channel_streamid), PARM=0x0
receive: 0x0
send: NID=0x8, VERB=0x706(set_channel_streamid), PARM=0x10
send: NID=0x8, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x0
send: NID=0x8, VERB=0x240(set_stream_format), PARM=0x11
hda_codec_setup_stream: NID=0x8, stream=0x1, channel=0, format=0x4011
hda_codec_setup_stream: NID=0x9, stream=0x1, channel=0, format=0x4011
send: NID=0x9, VERB=0xf06(get_channel_streamid), PARM=0x0
receive: 0x0
send: NID=0x9, VERB=0x706(set_channel_streamid), PARM=0x10
send: NID=0x9, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x0
send: NID=0x9, VERB=0x240(set_stream_format), PARM=0x11
PCM Clean up
hda_codec_cleanup_stream: NID=0x8
hda_codec_cleanup_stream: NID=0x9
hda_codec_cleanup_stream: NID=0x8
hda_codec_cleanup_stream: NID=0xe
Close PCM

for 4 channels output node 0x8 with channel =0 and node 0x9 with channel = 2

PCM 0 p 44100 4 16
Open PCM VT1802 Analog for play
Available PCM parameters:
  channels: 2/4
  formats: S16_LE S32_LE
  rates: 44100 48000 88200 96000 192000
Prepare PCM, rate=44100, channels=4, format=16 bits
PCM format_val = 0x4013
hda_codec_cleanup_stream: NID=0xe
hda_codec_setup_stream: NID=0x8, stream=0x1, channel=0, format=0x4013
send: NID=0x8, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x4011
send: NID=0x8, VERB=0x240(set_stream_format), PARM=0x13
hda_codec_setup_stream: NID=0x8, stream=0x1, channel=0, format=0x4013
hda_codec_setup_stream: NID=0x9, stream=0x1, channel=2, format=0x4013
send: NID=0x9, VERB=0xf06(get_channel_streamid), PARM=0x0
receive: 0x10
send: NID=0x9, VERB=0x706(set_channel_streamid), PARM=0x12
send: NID=0x9, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x4011
send: NID=0x9, VERB=0x240(set_stream_format), PARM=0x13
send: NID=0xe, VERB=0x706(set_channel_streamid), PARM=0x0
send: NID=0xe, VERB=0x200(set_stream_format), PARM=0x0
PCM Clean up
hda_codec_cleanup_stream: NID=0x8
hda_codec_cleanup_stream: NID=0x9
hda_codec_cleanup_stream: NID=0x8
Close PCM

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

you should ask assimo Del Fedele and Tiwai

whether the driver should create mono volume control/switch instead of stereo for the subwoofer

Simple mixer control 'Bass Speaker',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [100%] [0.00dB] [on]

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

the other question is whether the driver need to differentiate those internal subwoofer (your case) and external subwoofer

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/871808

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1040873

those external subwoofer seem need surround40 but yours only need stereo

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

Raymond,

Your most recent post led me to be able to get Analog Surround 2.1 working under Ubuntu 13.10 running on the 3.11.0-15 kernel. Thank you.

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

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

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

Other bug subscribers

Remote bug watches

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