#define assoc_of_nid(c,p)
get_defcfg_association(snd_hda_codec_get_pincfg(c,p))


     if  ((cfg->speaker_outs == 2) && (cfg->hp_outs == 2)) 
          if (cfg->line_out_type == AUTO_PIN_HP_OUT) 
              for(i=0; i<2; i++)
                   if (assoc_of_nid(codec,cfg->line_out_pins[i]) > 
assoc_of_nid(codec,cfg->speaker_pins[i]))
                            badness++;


add the above in fill_and_eval_dacs() in hda_generic.c after

  if ( spec->mixer_nid) {

  }

this increase badness of cfg->line_out_type == AUTO_PIN_HP_OUT by one
when the second headphone have higher def association than subwoofer ,
driver create speaker and bass speaker volume controls and headphone
volume control for headset and headphone

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1302090

Title:
  Dell Alienware 14, Speaker sound output is mono until a headphone jack
  is plugged

Status in “alsa-driver” package in Ubuntu:
  Confirmed

Bug description:
  Here's the required release and package information:

      Description:    Ubuntu Trusty Tahr (development branch)
      Release:        14.04

      Package: linux-image-extra-3.13.0-19-generic
      Version: 3.13.0-19.40

  When playing audio through speakers on my Alienware 14 2014, the sound
  output is in mono until I plug a headphone in any of the two available
  headphone jacks (obviously, the auto-mute option must be disabled).
  When I do so, the sound starts to play in stereo.

  I would love the sound output to be stereo by default and not be
  forced to plug anything to achieve that.

  Attached is the alsa-info.sh output for my machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1302090/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to