Bug 104901
Description
Gary
2015-09-23 07:27:03 UTC
I should add too The sound through Headphones works perfectly you have to post the output of alsa-info.sh try hdajackretask to change of the remaining nodes (e.g. 0x1a) to speaker with same default assoc and higher sequence number find out which headphones is headset and headphone most likely the headset mic is similar to dell-headset-multi but alienware don't need headphone mic since it has a mic jack the easy way is to disable one headphone jack so that the driver can create volume controls for the speaker, subwoofer and headphone since alc668 only have three volume control you need lfe filter which is available in pulseaudio 7.0 http://cgit.freedesktop.org/pulseaudio/pulseaudio/log/?qt=grep&q=lfe+filter Ok When I try and add these commands in the Terminal each one just says no such directory Can someone explain what I'm doing wrong Thanks -rw-r--r-- man/pulse-daemon.conf.5.xml.in -rw-r--r-- src/daemon/daemon-conf.c -rw-r--r-- src/daemon/daemon.conf.in gary-Alienware-18 gary # gary-Alienware-18 gary # -rw-r--r--man/pulse-daemon.conf.5.xml.in bash: -rw-r--r--man/pulse-daemon.conf.5.xml.in: No such file or directory gary-Alienware-18 gary # -rw-r--r--src/daemon/daemon-conf.c bash: -rw-r--r--src/daemon/daemon-conf.c: No such file or directory gary-Alienware-18 gary # -rw-r--r--src/daemon/daemon.conf.in bash: -rw-r--r--src/daemon/daemon.conf.in: No such file or directory gary-Alienware-18 gary # Created attachment 188171 [details]
alsa-info.txt.jygArwylRC
I don't understand what to do here I am new to Linux and I'm not a computer Tech I just know general knowledge of computers But I am willing to learn the easy way is to disable one headphone jack so that the driver can create volume controls for the speaker, subwoofer and headphone since alc668 only have three volume control I see my Codec is Codec: Realtek ALC3661 not alc668 I don't know if this makes any Difference or not Sorry for being so dumb I should also add the Sub-woofer isn't present in the volume control Only analog stereo output and Analog Surround 4.0 but only plays stereo when texting The is also "no" sign of my Nvidia cards in the sound settings either There are 3 output Jacks on the left side of laptop The Jack closest to the screen does nothing no sound and no Mic The one in the middle has sound and Mic The one at closest to me the front end has sound and Mic too This "alsa-info.sh" does nothing either when posted in the Terminal I had to search the net I found this and it worked wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh Why do those commands do nothing ? anyway the Alsa info is in attachments Created attachment 188181 [details]
More Info
HDAJacRetask as below And now the sound only comes through the Sub and sounds very Dull I set-up 0x1a as Connectivity ,Internal Location ,Internal Device, Speaker Jack , Other Analog Colour, Unknown Jack detection , Not present Channel Group, 5 Channel in group ,Centre LFE This has added another Output in sound control Headphones Built-in Audio Speakers built-in Audio Analog output built-in Audio (New) and in Alsa Mixer there is a Bass Speaker (New) Can you explain the difference between headset and headphone I use Nokia Purity Pro BH 940 over ear bluetooth nfc etc it says these are head-set on the Box they cam in I use them through a cable as they dont charge up anymore ┌────────────────────────────── AlsaMixer v1.0.27.2 ───────────────────────────────┐ │ Card: HDA Intel PCH F1: Help │ │ Chip: Realtek ALC3661 F2: System information │ │ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │ │ Item: Master [dB gain: -15.75] Esc: Exit │ │ │ │ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │ │ │▒▒│ │ │ ├──┤ ├──┤ ├──┤ ├──┤ ┌──┐ └──┘ ├──┤ └──┘ Disabled │ │ │OO│ │OO│ │OO│ │MM│ │OO│ │MM│ │ │ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ │ │ 51 100<>100 100<>100 0<>0 98<>98 0<>0 100<>100 │ │< Master >Headphon Headphon Speaker Bass Spe PCM Mic Mic Boos Auto-Mut │ └──────────────────────────────────────────────────────────────────────────────────┘ Ok just sussed out the Analog Output Built-in Audio that’s present in the sound output play sound through does nothing no sound comes from that device at all So the only two devices that sound comes from is Headphones built in Audio Speakers Built in Audio And during testing when playing music and its Dull If I plug-in the head-set to outlet 1 and 2 the two closest to me the sound changes and sounds really good through the speakers But I suspect its still in Mono but the sound is crisp and clear 910.176691] sound hdaudioC0D0: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [22910.176694] sound hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [22910.176695] sound hdaudioC0D0: hp_outs=2 (0x15/0x16/0x0/0x0/0x0) [22910.176697] sound hdaudioC0D0: mono: mono_out=0x0 [22910.176698] sound hdaudioC0D0: inputs: [22910.176699] sound hdaudioC0D0: Mic=0x19 [22910.176701] sound hdaudioC0D0: Internal Mic=0x12 which node 0x15 or node 0x16 is the headset ? do one of the jack has headset icon and the other has headphone icon ? the driver assign two volume controls to two headphone jacks first and speaker and subwoofer share the volume control you need to recompile the driver and change the badness or dac assigment logic to force the driver to assign volume controls to speaker and subwoofer and let headset and headphone share the volume control without recompile the driver, you need to disable one headphone jack by hdajackretask to find the subwoofer https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=73bdd597823e2231dc882577dbbaf8df92fe1775 the other dell notebook with one combo jack support headset, headphone or mic if your alienware 18 support headset , node 0x1b is most likely the headset mic pin but you don't need headphone mic pin since your alienware 18 have mic jack }, + [ALC668_FIXUP_DELL_MIC_NO_PRESENCE] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */ + { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */ + { } + }, + .chained = true, + .chain_id = ALC668_FIXUP_HEADSET_MODE + }, Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Phantom Jack", index=0, device=0 Amp-In caps: N/A Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001003c: IN OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x90170110: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Connection: 3 0x0c* 0x0d 0x0e if your internal speaket is at node 0x14 , you need to assign pin default 0x90170111 to subwoofer pin complex Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0001001c: OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x0321101f: [Jack] HP Out at Ext Left Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Connection: 3 0x0c 0x0d* 0x0e Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Jack", index=1, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000001c: OUT HP Detect Pin Default 0x03211020: [Jack] HP Out at Ext Left Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0xc0: OUT HP Unsolicited: tag=02, enabled=1 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Connection: 3 0x0c 0x0d 0x0e* in theory if the driver follow hda specification, it should assign DAC and other resource to those pin complex with lowest default association firsy do your alienware 18 support surround5.1 since there are three jacks at same location (Ext left) ? Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out Control: name="Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="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: [0x80 0x80] Pincap 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x03a11030: [Jack] Mic at Ext Left Conn = 1/8, Color = Black DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=04, enabled=1 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Connection: 3 0x0c* 0x0d 0x0e Created attachment 188231 [details]
which node 0x15 or node 0x16 is the headset ?
Created attachment 188241 [details]
Jacks Headphone Headset etc
(In reply to Raymond from comment #12) > Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out > Control: name="Speaker Playback Switch", index=0, device=0 > ControlAmp: chs=3, dir=Out, idx=0, ofs=0 > Control: name="Speaker Phantom Jack", index=0, device=0 > Amp-In caps: N/A > Amp-In vals: [0x00 0x00] > Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 > Amp-Out vals: [0x00 0x00] > Pincap 0x0001003c: IN OUT HP EAPD Detect > EAPD 0x2: EAPD > Pin Default 0x90170110: [Fixed] Speaker at Int N/A > Conn = Analog, Color = Unknown > DefAssociation = 0x1, Sequence = 0x0 > Misc = NO_PRESENCE > Pin-ctls: 0x40: OUT > Unsolicited: tag=00, enabled=0 > Power states: D0 D1 D2 D3 EPSS > Power: setting=D0, actual=D0 > Connection: 3 > 0x0c* 0x0d 0x0e > > if your internal speaket is at node 0x14 , you need to assign pin default > 0x90170111 to subwoofer pin complex Yes the internal speaker is at 0x14 There is no 0x9***** plug your headphone into the jack with headset icon try hdajacksensetest -a -c0 to verify that node 0x15 is headset and node 0x16 is headphone dell-headset-multi by default assume the jack is headphone and need to change the capture source to headset mic in order to change the role of the combo jack use advanced override mode to change the pin default of node 0x1a and disable node 0x16 change [Jack] to [N/A] in order to assign DAC and volume control to subwoofer you need to set as boot default instead of dynamic reconfiguration speaker-test -Dhw:0,0 -c4 -t wav to find out the subwoofer use left, right or both of rear channels if it support surround 5.1 by three audio jacks the easy way is to use hdajackretask to change them to line out although this patch allow desktop to use 5.1 speakers as 2.1 but pulseaudio alway use your internal 2.1 speakers when select 2.1 profile http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=48f1b308cc66152eb6db66742dd0d08d888cda8d dell alc668 combo jack can support both headphone, headsets (of both CTIA and OMTP type) and mic-in but it cannot auto matically differentiate headset and headphone http://voices.canonical.com/david.henningsson/2014/03/07/headset-jacks-on-newer-laptops/ user have to set the jack type every time when they plug the jack (In reply to Raymond from comment #18) > > plug your headphone into the jack with headset icon > > > try > > hdajacksensetest -a -c0 > > > to verify that node 0x15 is headset and node 0x16 is headphone > > > dell-headset-multi by default assume the jack is headphone and need to > change the capture source to headset mic in order to change the role of the > combo jack I don't understand what you mean here I tried putting the command into the terminal no such command hdajacksensetest -a -c0 Created attachment 188271 [details]
Jacks top
Created attachment 188281 [details]
Jacks bottom
>
>
>
> you need lfe filter which is available in pulseaudio 7.0
>
> http://cgit.freedesktop.org/pulseaudio/pulseaudio/log/?qt=grep&q=lfe+filter
No one has explained how I add this in my computer yet ??
(In reply to Raymond from comment #19) > use advanced override mode to change the pin default of node 0x1a > > and disable node 0x16 change [Jack] to [N/A] in order to assign DAC and > volume control to subwoofer > > > you need to set as boot default instead of dynamic reconfiguration > > speaker-test -Dhw:0,0 -c4 -t wav > > > to find out the subwoofer use left, right or both of rear channels I dont understand this Please explain ? use advanced override mode to change the pin default of node 0x1a With 0x16 put as not connected it wont allow me to do the sound test see below # speaker-test -Dhw:0,0 -c4 -t wav speaker-test 1.0.27.2 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 4 channels WAV file(s) Channels count (4) not available for playbacks: Invalid argument Setting of hwparams failed: Invalid argument But I disconnected 0x15 and both left and right rear was coming out of the center Sub http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/README;hb=HEAD you have to select the advanced override check box in the option which allow you to change the pin default (location , color def assoc , sequencr,....) http://voices.canonical.com/david.henningsson/2011/11/29/turn-your-mic-jack-into-a-headphone-jack/ or use early patch to change pin https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt Ok so how are we doing so far?
I still have no idea how to install this
> you need lfe filter which is available in pulseaudio 7.0
or is it not need now ?
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=ee81abb623cb5e03c182d16871bb4fb34fdc9b4f default 2.1 channel map is { .channels = 4, + .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR, + SNDRV_CHMAP_LFE, SNDRV_CHMAP_LFE https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=8e38395360844806041ea69ab9690f5f174bc40c asus sonic master subwoofer is { .channels = 4, + .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR, + SNDRV_CHMAP_NA, SNDRV_CHMAP_LFE } }, /* LFE only on right * if you can hear high frequency signal from subwoofer, this mean that it don't have any hardware low pass filter, you will need software low pass filter after you can confirm the subwoofer node, you need to specify preferred dac pairs for assign DAC to speaker and subwoofer https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=6ab42ff44864d26e8e498b8ac655d24ee389d267 Am I meant to adding this above somehow?? it is because you retask the node as line out jack Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out Control: name="PCM Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Line Out 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 0x0000373c: IN OUT HP Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT VREF_HIZ Unsolicited: tag=03, enabled=1 Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Connection: 3 0x0c* 0x0d 0x0e /sys/class/sound/hwC0D0/init_pin_configs: 0x12 0x99a30140 0x14 0x90170110 0x15 0x0321101f 0x16 0x03211020 0x18 0x40030008 0x19 0x03a11030 0x1a 0x411111f0 0x1b 0x411111f0 0x1d 0x41000001 0x1e 0x411111f0 0x1f 0x411111f0 /sys/class/sound/hwC0D0/driver_pin_configs: /sys/class/sound/hwC0D0/user_pin_configs: 0x12 0x99a30140 0x14 0x90170110 0x15 0x0321101f 0x16 0x03211020 0x18 0x40030008 0x19 0x03a11030 0x1a 0x01014411 0x1b 0x411111f0 0x1d 0x41000001 0x1e 0x411111f0 0x1f 0x411111f0 you need to change the subwoofer node to 0x90170111 (In reply to Gary from comment #26) > (In reply to Raymond from comment #19) > > use advanced override mode to change the pin default of node 0x1a > > > > and disable node 0x16 change [Jack] to [N/A] in order to assign DAC and > > volume control to subwoofer > > > > > > you need to set as boot default instead of dynamic reconfiguration > > > > speaker-test -Dhw:0,0 -c4 -t wav > > > > > > to find out the subwoofer use left, right or both of rear channels > > > > I dont understand this Please explain ? > > use advanced override mode to change the pin default of node 0x1a > > With 0x16 put as not connected > it wont allow me to do the sound test see below > > # speaker-test -Dhw:0,0 -c4 -t wav > > speaker-test 1.0.27.2 > > Playback device is hw:0,0 > Stream parameters are 48000Hz, S16_LE, 4 channels > WAV file(s) > Channels count (4) not available for playbacks: Invalid argument > Setting of hwparams failed: Invalid argument > > But I disconnected 0x15 and both left and right rear was coming out of the > center Sub you have to the output of alsa-info.sh after your retask four chanels only available when you have two speaker with same default assoc but different sequence after you disable node 0x16 or two headphone jacks change the node 0x1a to line out create pcm playback switch means your are not using latest alsa driver With 0x16 disabled it wont do the test There is only 1 device in sound "speakers built in Audio" Created attachment 188291 [details]
0x16 disabled
Ok with 0x1a disabled and in sound control on "Speaker Built in Audio" doing a sound Surround 4.0 test test only the Rears have sound and they both come from the Center Speaker Created attachment 188301 [details]
0x1a disabled
none of your alsa info change node 0x1a to subwoofer try set as boot default in hdajack retask this will generate /lib/firmware/hda-jack-retask.fw and reboot post the output of alsa-info.sh That was after Boot override hda-jack-retask.fw attached that last alsa-info-sh was after reboot on boot over ride as it wouldnt let me doing otherwise it was saying sound was busy and wouldnt let me aply the setting So thats why I did the Boot override Created attachment 188311 [details]
HDA-JACK RETASK
http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/sysfs-pin-configs.c;hb=HEAD the program hardcode defaultassoc to 5 you need to change the speaker too 1 static typical_pins_t simple_typical_pins[] = { 609 {"Internal speaker", lineout_caps, 0x90170150, DEFAULT_MASK | AC_DEFCFG_SEQUENCE, }, 610 {"Internal speaker (LFE)", lineout_caps, 0x90170151, DEFAULT_MASK | AC_DEFCFG_SEQUENCE, }, 611 {"Internal speaker (Back)", lineout_caps, 0x90170152, DEFAULT_MASK | AC_DEFCFG_SEQUENCE, }, OK how do I do this [codec] 0x10ec0668 0x102805ab 0 [pincfg] 0x16 0x411111f0 0x1a 0x90170111 Do I change those numbers in the HDA-Jack-Retask.fw file ? (In reply to Gary from comment #25) > > > > > > > > you need lfe filter which is available in pulseaudio 7.0 > > > > http://cgit.freedesktop.org/pulseaudio/pulseaudio/log/?qt=grep&q=lfe+filter > > No one has explained how I add this in my computer yet ?? http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/ you can just test the latest git version without installing How do I test it ? It doesn't work gary # -rw-r--r--src/pulsecore/filter/lfe-filter.c bash: -rw-r--r--src/pulsecore/filter/lfe-filter.c: No such file or directory gary-Alienware-18 gary # Reading through the other web page I found in the commands "pulseaudio -k" In the past every time is use that command I have to do a re-install As it locks me out of my computer it wont take my login password So don't like that one (In reply to Gary from comment #46) > Do I change those numbers in the HDA-Jack-Retask.fw file ? just edit /lib/firmware/hda-jack-retask.fw or tick advanced mode checkbox which allow you to choose def assoc, sequence number, location or override internal speaker node to force both speakers node use same def assoc Created attachment 188321 [details] attachment-12953-0.html I'll be out for a few hours Gaz On 25 Sep 2015 8:24 am, <bugzilla-daemon@bugzilla.kernel.org> wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=104901 > > --- Comment #51 from Raymond <superquad.vortex2@gmail.com> --- > (In reply to Gary from comment #46) > > Do I change those numbers in the HDA-Jack-Retask.fw file ? > > just edit /lib/firmware/hda-jack-retask.fw > > or > > tick advanced mode checkbox which allow you to choose def assoc, sequence > number, location > > or > > override internal speaker node to force both speakers node use same def > assoc > > -- > You are receiving this mail because: > You reported the bug. > (In reply to Gary from comment #1) > I should add too > The sound through Headphones works perfectly are you sure that both headphone work perfectly http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths there are headphones.conf and headphone2.conf but you don't have Headphone2 Playback Volume/Switch control.343 { iface MIXER name 'Headphone Playback Volume' value.0 87 value.1 87 comment { access 'read write' type INTEGER count 2 range '0 - 87' dbmin -6525 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.344 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.345 { iface MIXER name 'Headphone Playback Volume' index 1 value.0 87 value.1 87 comment { access 'read write' type INTEGER count 2 range '0 - 87' dbmin -6525 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.346 { iface MIXER name 'Headphone Playback Switch' index 1 value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } Created attachment 188331 [details] attachment-14112-0.html The jack nearest me did have a very quiet squealing you only noticed when the music stopped But the middle jack is perfect On 25 Sep 2015 9:01 am, <bugzilla-daemon@bugzilla.kernel.org> wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=104901 > > --- Comment #53 from Raymond <superquad.vortex2@gmail.com> --- > (In reply to Gary from comment #1) > > I should add too > > The sound through Headphones works perfectly > > are you sure that both headphone work perfectly > > > > > http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths > > > there are headphones.conf and headphone2.conf > > but you don't have Headphone2 Playback Volume/Switch > > > control.343 { > iface MIXER > name 'Headphone Playback Volume' > value.0 87 > value.1 87 > comment { > access 'read write' > type INTEGER > count 2 > range '0 - 87' > dbmin -6525 > dbmax 0 > dbvalue.0 0 > dbvalue.1 0 > } > } > control.344 { > iface MIXER > name 'Headphone Playback Switch' > value.0 true > value.1 true > comment { > access 'read write' > type BOOLEAN > count 2 > } > } > control.345 { > iface MIXER > name 'Headphone Playback Volume' > index 1 > value.0 87 > value.1 87 > comment { > access 'read write' > type INTEGER > count 2 > range '0 - 87' > dbmin -6525 > dbmax 0 > dbvalue.0 0 > dbvalue.1 0 > } > } > control.346 { > iface MIXER > name 'Headphone Playback Switch' > index 1 > value.0 true > value.1 true > comment { > access 'read write' > type BOOLEAN > count 2 > } > } > > -- > You are receiving this mail because: > You reported the bug. > Ok I have changed these in the fw file to [codec] 0x10ec0668 0x102805ab 0 [pincfg] 0x16 0x411111f0 0x1a 0x90170111 Should I disable the HDA-Jack-Retask on boot over-ride Ok I disabled HDA-Jack-Retask boot Override and rebooted Sound is very quiet and only coming out of the Sub Will this work at all without the lfe filter installed? there is no 4.1 surround in sound settings Ok that didnt work I configured the fw file and put it back in /lib/firmware/ Rebooting Ok what I’ve done has changed nothing at all It did upset my boot which took about 5 minutes just a black screen with a mouse Cursor most that time Boot up normally takes 15 to 20 seconds http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/apply-changes.c;hb=HEAD you are using early patching which need the firmware file and options snd-hda-intel patch=hda-jack-retask.fw to fix those pin default or add hint https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt the objective is to let driver found two speaker node and one headphone so that you have speaker playback volume, bass speaker volume and headphone playback volume for you to determine the subwoofer use which channel (left/right/both) subwoofer node can be one of the unconnected nodes sound hdaudioC0D0: autoconfig: line_outs=2 (0x14/subwoofer node/0x0/0x0/0x0) type:speaker sound hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) sound hdaudioC0D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0) sound hdaudioC0D0: mono: mono_out=0x0 sound hdaudioC0D0: inputs: sound hdaudioC0D0: Mic=0x19 sound hdaudioC0D0: Internal Mic=0x12 Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out Control: name="PCM Playback Volume", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="ALC3661 Analog", type="Audio", device=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 Amp-Out vals: [0x40 0x40] Converter: stream=8, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 Amp-Out vals: [0x40 0x40] Converter: stream=8, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out Control: name="Headphone Playback Volume", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 Amp-Out vals: [0x40 0x40] Converter: stream=8, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=D0, actual=D0 amp out/volume control is at the audio output, preferred_dac pair is needed when you want the driver to assign THREE DAC to specific pin complex first and the other pin complexes share the volume control So once we have this worked out will a patch be sent to Linux so this patching will be in the system when first installed or will everyone with Alienware 18x have to install this patch manually ? after you have found 1) subwoofer node and which channel 2) headset mic node 3) confirm that node 0x15 is headset 4) confirm that node 0x16 is headphone which control return true when you plug your hp into your two hp jacks ? control.359 { iface CARD name 'Headphone Jack' value false comment { access read type BOOLEAN count 1 } } control.360 { iface CARD name 'Headphone Jack' index 1 value false comment { access read type BOOLEAN count 1 } } you will need to recompile the modified alsa driver (In reply to Raymond from comment #62) > after you have found > > 1) subwoofer node and which channel > 2) headset mic node > 3) confirm that node 0x15 is headset > 4) confirm that node 0x16 is headphone > > which control return true when you plug your hp into your two hp jacks ? > > control.359 { > iface CARD > name 'Headphone Jack' > value false > comment { > access read > type BOOLEAN > count 1 > } > } > control.360 { > iface CARD > name 'Headphone Jack' > index 1 > value false > comment { > access read > type BOOLEAN > count 1 > } > } > > > you will need to recompile the modified alsa driver Ok with the headphones plugged into headset its a little louder but has a slight squeal Plugged into headphones "Middle" also works well just a little quieter (Little) Both work from "Headphones built-in Audio" Or "Speakers Built-in Audio" In sound control (In reply to Raymond from comment #63) > http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/7.0/ Still don’t know how to install it Is there a command I can put in the Terminal ? or some sort of file to download and install or can it be installed through the in-built system? Ok I installed something in Pulseaudio with this command git clone git://anongit.freedesktop.org/pulseaudio/pulseaudio I don’t know if it was version 7 or not how do I check Created attachment 188441 [details]
Alsa-info-sh after installing Pulseauido 7 maybe
gary-Alienware-18 gary # pulseaudio --version pulseaudio 4.0 gary-Alienware-18 gary # gary-Alienware-18 gary # dpkg -l pulseaudio Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii pulseaudio 1:4.0-0ubunt amd64 PulseAudio sound server gary-Alienware-18 gary # do you mean that node 0x1a is not your subwofer ? there should be a line options snd-hda-intel patch=xxx.fw and patch module parameter is not null !!Modprobe options (Sound related) !!-------------------------------- snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_usb_audio: index=-2 snd_usb_caiaq: index=-2 snd_usb_ua101: index=-2 snd_usb_us122l: index=-2 snd_usb_usx2y: index=-2 snd_cmipci: mpu_port=0x330 fm_port=0x388 snd_pcsp: index=-2 snd_usb_audio: index=-2 !!Loaded sound module options !!--------------------------- !!Module: snd_hda_intel align_buffer_size : -1 bdl_pos_adj : 1,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null), (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null), (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null), (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 single_cmd : N snoop : Y I have no idea the only things I have in place right now are the changes to the hda-jack-retask.fw I have downloaded the Pulse Audio 7 is there some way to install these files ? I downloaded it from this site http://linux.softpedia.com/blog/pulseaudio-7-0-improves-support-for-creative-soundblaster-omni-surround-5-1-492689.shtml I have done this But don’t know what to do next to make it install -Alienware-18 pulseaudio-7.0 # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for stow... no checking whether make supports nested variables... (cached) yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc -std=gnu99 needs -traditional... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gm4... no checking for m4... m4 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.18.2 checking for XML::Parser... ok checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... (cached) /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking host operating system... linux checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -W... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -pipe... yes checking whether C compiler accepts -Wno-long-long... yes checking whether C compiler accepts -Wno-overlength-strings... yes checking whether C compiler accepts -Wunsafe-loop-optimizations... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wmissing-include-dirs... yes checking whether C compiler accepts -Wformat-nonliteral... yes checking whether C compiler accepts -Wold-style-definition... no checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wdeclaration-after-statement... yes checking whether C compiler accepts -Wfloat-equal... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... no checking whether C compiler accepts -Wredundant-decls... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Wendif-labels... yes checking whether C compiler accepts -Wcast-align... yes checking whether C compiler accepts -Wstrict-aliasing... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -ffast-math... yes checking whether C compiler accepts -fno-common... yes checking whether C compiler accepts -fdiagnostics-show-option... yes checking whether C compiler accepts -fdiagnostics-color=auto... no checking whether the linker accepts "-Wl,-version-script=./src/map-file"... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,nodelete... yes checking whether the linker accepts -Wl,--no-undefined... yes checking whether gcc -std=gnu99 knows __sync_bool_compare_and_swap()... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dladvise_init in -lltdl... yes checking for ANSI C header files... (cached) yes checking for arpa/inet.h... yes checking for glob.h... yes checking for grp.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for netinet/in_systm.h... yes checking for netinet/tcp.h... yes checking for poll.h... yes checking for pwd.h... yes checking for sched.h... yes checking for sys/mman.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/wait.h... yes checking for sys/uio.h... yes checking for syslog.h... yes checking for sys/dl.h... no checking for dlfcn.h... (cached) yes checking for linux/sockios.h... yes checking for sys/prctl.h... yes checking for sys/filio.h... no checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for sys/atomic.h... no checking for sys/ioctl.h... yes checking for byteswap.h... yes checking for sys/syscall.h... yes checking for sys/eventfd.h... yes checking for execinfo.h... yes checking for langinfo.h... yes checking for regex.h... yes checking for pcreposix.h... no checking for valgrind/memcheck.h... no checking for netinet/ip.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for off_t... yes checking for uid_t in sys/types.h... yes checking whether environ is declared... yes checking for SIGXCPU defined in signal.h... yes checking for INADDR_NONE defined in netinet/in.h... yes checking whether gcc -std=gnu99 knows _Bool... yes checking for thread local storage (TLS) class... __thread checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for library containing pow... -lm checking for library containing sched_setscheduler... none required checking for library containing dlopen... -ldl checking for library containing shm_open... -lrt checking for library containing inet_ntop... none required checking for library containing timer_create... none required checking for library containing pthread_setaffinity_np... -lpthread checking for library containing pthread_getname_np... none required checking for library containing pthread_setname_np... none required checking for library containing connect... none required checking for library containing backtrace... none required checking for library containing regexec... none required checking for getopt_long... yes checking for lrintf... yes checking for strtof... yes checking for chmod... yes checking for chown... yes checking for fstat... yes checking for fchown... yes checking for fchmod... yes checking for clock_gettime... yes checking for getaddrinfo... yes checking for getgrgid_r... yes checking for getgrnam_r... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for gettimeofday... yes checking for getuid... yes checking for mlock... yes checking for nanosleep... yes checking for pipe... yes checking for posix_fadvise... yes checking for posix_madvise... yes checking for posix_memalign... yes checking for setpgid... yes checking for setsid... yes checking for shm_open... yes checking for sigaction... yes checking for sleep... yes checking for symlink... yes checking for sysconf... yes checking for uname... yes checking for pthread_setaffinity_np... yes checking for pthread_getname_np... yes checking for pthread_setname_np... yes checking for readlink... yes checking for ctime_r... yes checking for usleep... yes checking for strerror_r... yes checking for lstat... yes checking for setresuid... yes checking for setresgid... yes checking for setreuid... yes checking for setregid... yes checking for seteuid... yes checking for setegid... yes checking for ppoll... yes checking for strsignal... yes checking for sig2str... no checking for strtod_l... yes checking for pipe2... yes checking for accept4... yes checking for open64... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking for mkfifo... yes checking for working alloca.h... yes checking for alloca... yes checking for regexec... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for library containing dladdr... none required checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for X11... no checking for library containing cap_init... no checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no configure: error: *** sys/capability.h not found. Use --without-caps to disable capabilities support. These are the only changes to my system right now just these settings in my /lib/firmware/hda-jack-retask.fw [codec] 0x10ec0668 0x102805ab 0 [pincfg] 0x12 0x99a30140 0x14 0x90170110 0x15 0x0321101f 0x16 0x411111f0 0x18 0x40030008 0x19 0x03a11030 0x1a 0x90170111 0x1b 0x411111f0 0x1d 0x41000001 0x1e 0x411111f0 0x1f 0x411111f0 it is meaningless to try pulseaudio 7.0 if you cannot find the subwoofer node You have to guide me I am not a technician I am not in the Computer business at all http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/apply-changes.c;hb=HEAD static const gchar* remove_script = 244 "#!/bin/sh\n" 245 "rm /etc/modprobe.d/hda-jack-retask.conf 2>>%s\n" 246 "rm /lib/firmware/hda-jack-retask.fw 2>>%s\n"; 247 248 static const gchar* retask_conf = 249 "# This file was added by the program 'hda-jack-retask'.\n" 250 "# If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.\n" 251 "options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw\n"; 252 253 static const gchar* install_script = 254 "#!/bin/sh\n" 255 "mv %s/hda-jack-retask.fw /lib/firmware/hda-jack-retask.fw\n 2>>%s\n" 256 "mv %s/hda-jack-retask.conf /etc/modprobe.d/hda-jack-retask.conf 2>>%s\n"; refer to the source code of hdajackretask either you remove /etc/modprobe.d/hda-jack-retask.conf or your distibution not use hda-jack-retask.conf to change the sound card module paramter I have tried to install with this command but it just doesnt work Installation of PulseAudio Install PulseAudio by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-bluez4 \ --disable-rpath && make To test the results, issue: make check. Now, as the root user: make install http://www.linuxfromscratch.org/blfs/view/svn/multimedia/pulseaudio.html so you want me to remove this file ? /etc/modprobe.d/hda-jack-retask.conf is that correct? There is no hda-jack-retask.conf file in /etc/modprobe.d/ Created attachment 188451 [details]
/etc/modprobe.d
you need to add this line to /etx/modprobe.d/alsa-base.conf and reboot as you only has one HDA controller and HDA codec need to load the patch options snd-hda-intel patch=hda-jack-retask.fw thr driver assume headset use the first hp_pins hp_pin = spec->gen.autocfg.hp_pins[0]; you must verify that the jack with headset icon is node 0x15 which headphone playback volume affect that jack, index=0 or index=1 static void alc_update_headset_mode(struct hda_codec *codec) +{ + struct alc_spec *spec = codec->spec; + + hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; + hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; + + int new_headset_mode; + + if (!snd_hda_jack_detect(codec, hp_pin)) + new_headset_mode = ALC_HEADSET_MODE_UNPLUGGED; + else if (mux_pin == spec->headset_mic_pin) + new_headset_mode = ALC_HEADSET_MODE_HEADSET; + else if (mux_pin == spec->headphone_mic_pin) + new_headset_mode = ALC_HEADSET_MODE_MIC; + else + new_headset_mode = ALC_HEADSET_MODE_HEADPHONE; + + if (new_headset_mode == spec->current_headset_mode) + return; + + switch (new_headset_mode) { + case ALC_HEADSET_MODE_UNPLUGGED: + alc_headset_mode_unplugged(codec); + spec->gen.hp_jack_present = false; + break; + case ALC_HEADSET_MODE_HEADSET: + if (spec->current_headset_type == ALC_HEADSET_TYPE_UNKNOWN) + alc_determine_headset_type(codec); + if (spec->current_headset_type == ALC_HEADSET_TYPE_CTIA) + alc_headset_mode_ctia(codec); + else if (spec->current_headset_type == ALC_HEADSET_TYPE_OMTP) + alc_headset_mode_omtp(codec); + spec->gen.hp_jack_present = true; + break; + case ALC_HEADSET_MODE_MIC: + alc_headset_mode_mic_in(codec, hp_pin, spec->headphone_mic_pin); + spec->gen.hp_jack_present = false; + break; + case ALC_HEADSET_MODE_HEADPHONE: + alc_headset_mode_default(codec); + spec->gen.hp_jack_present = true; + break; + } I thought I might do are-install as it looks like to me something has become corrupted Do you think I should yes or no Created attachment 188501 [details]
After Modprobd retask added
you need to add this line to /etx/modprobe.d/alsa-base.conf and reboot
as you only has one HDA controller and HDA codec need to load the patch
options snd-hda-intel patch=hda-jack-retask.fw
Created attachment 188511 [details]
Headphones plugged into head "set jack"
Created attachment 188521 [details]
after reboot
Created attachment 188531 [details]
with headphones plugged into head set jack
I have not done a Re-install yet But no problem if I have to as it only takes 20 minutes Sound quality is much better though the speakers now too But doesn't sound like Stereo But much clearer and not muffled (In reply to Gary from comment #88) > Created attachment 188531 [details] > with headphones plugged into head set jack this confirm node 0x15 is the headset jack do you hear any sound from subwoofer ? speaker-test -Dhw:0,0 -c4 -t wav do left or right channel volume slider affect the subwoofer ? control.3 { iface MIXER name 'Bass Speaker Playback Volume' value.0 87 value.1 87 comment { } } control.4 { iface MIXER name 'Bass Speaker Playback Switch' value.0 true value.1 true comment { } } Front left speaker yes working front right speaker yes working Rear left and right both come through the center Sub What command do I do to stop the sound test ?? (In reply to Raymond from comment #91) > (In reply to Gary from comment #88) > > Created attachment 188531 [details] > > with headphones plugged into head set jack > > this confirm node 0x15 is the headset jack > > > do you hear any sound from subwoofer ? > > speaker-test -Dhw:0,0 -c4 -t wav > > > do left or right channel volume slider affect the subwoofer ? > > control.3 { > iface MIXER > name 'Bass Speaker Playback Volume' > value.0 87 > value.1 87 > comment { > > } } control.4 { > iface MIXER > name 'Bass Speaker Playback Switch' > value.0 true > value.1 true > comment { > > } } The Sub-woofer is still greyed out not usable Oops I didn't see the 5.1 in their yes the slider does work But cannot do the sound test it seems Doing restart and will do retest the Slider does work but doesn't seem to change anything It shows HDMI in sound devices How do you stop the sound test ? Ill be out for the next few hours now I should HDMI only show while doing the sound test https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/hda/patch_realtek.c you need to modified patch_realtek.c by adding a new model for your alienware 18 +static void alc668_fixup_dell_alienware(struct hda_codec *codec, + const struct hda_fixup *fix, int action) +{ + const struct hda_pintbl pincfgs[] = { + { 0x1a, 0x99130112 }, /* subwoofer */ + { 0x1b, 0x03a1113c }, /* headset mic */ + { } + }; + static hda_nid_t preferred_pair[] = { + 0x14, 0x03, + 0x1a, 0x04, + 0x15, 0x02, + 0x16, 0x02, + 0 + }; + struct alc_spec *spec = codec->spec; + + switch (action) { + case HDA_FIXUP_ACT_PRE_PROBE: + snd_hda_apply_pincfgs(codec, pincfgs); + spec->gen.preferred_dacs = preferred_pair; + break; + } +} + ALC662_FIXUP_DELL_MIC_NO_PRESENCE, ALC668_FIXUP_DELL_MIC_NO_PRESENCE, + ALC668_FIXUP_DELL_ALIENWARE, ALC662_FIXUP_HEADSET_MODE, + [ALC668_FIXUP_DELL_ALIENWARE] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc668_fixup_dell_alienware, + .chained = true, + .chain_id = ALC668_FIXUP_HEADSET_MODE + }, [ALC668_FIXUP_HEADSET_MODE] = { .type = HDA_FIXUP_FUNC, .v.func = alc_fixup_headset_mode_alc668, }, + SND_PCI_QUIRK(0x1028, 0x05ab, "Dell Alienware 18", ALC668_FIXUP_DELL_ALIENWARE), SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), And how do I go about that? I do not have this file on my system patch_realtek.c ? I have searched for this path manually and automatically /root/sound/pci/hda/patch_realtek.c This file does not exist I have searched for the file "sound" doesn't exist I have searched for this path "/sound/pci/hda" it doesn't exist I did find this /usr/src/linux-headers-3.16.0-38/sound/pci/hda Do you want me to make a file and place it in this directory??????????? With all this information in it Is that what you want me to do??????/ +static void alc668_fixup_dell_alienware(struct hda_codec *codec, + const struct hda_fixup *fix, int action) +{ + const struct hda_pintbl pincfgs[] = { + { 0x1a, 0x99130112 }, /* subwoofer */ + { 0x1b, 0x03a1113c }, /* headset mic */ + { } + }; + static hda_nid_t preferred_pair[] = { + 0x14, 0x03, + 0x1a, 0x04, + 0x15, 0x02, + 0x16, 0x02, + 0 + }; + struct alc_spec *spec = codec->spec; + + switch (action) { + case HDA_FIXUP_ACT_PRE_PROBE: + snd_hda_apply_pincfgs(codec, pincfgs); + spec->gen.preferred_dacs = preferred_pair; + break; + } +} + ALC662_FIXUP_DELL_MIC_NO_PRESENCE, ALC668_FIXUP_DELL_MIC_NO_PRESENCE, + ALC668_FIXUP_DELL_ALIENWARE, ALC662_FIXUP_HEADSET_MODE, + [ALC668_FIXUP_DELL_ALIENWARE] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc668_fixup_dell_alienware, + .chained = true, + .chain_id = ALC668_FIXUP_HEADSET_MODE + }, [ALC668_FIXUP_HEADSET_MODE] = { .type = HDA_FIXUP_FUNC, .v.func = alc_fixup_headset_mode_alc668, }, + SND_PCI_QUIRK(0x1028, 0x05ab, "Dell Alienware 18", ALC668_FIXUP_DELL_ALIENWARE), SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), Ok that's what I've done and I changed the codec to alc3661 Created attachment 188571 [details]
After Patch installed
Created attachment 188581 [details]
Sound Devices
Bass speaker shows up in alsamixer but no change in the sound devices
Will test sound in the morning
┌──────────────────────────── AlsaMixer v1.0.27.2 ─────────────────────────────┐
│ Card: HDA Intel PCH F1: Help │
│ Chip: Realtek ALC3661 F2: System information │
│ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │
│ Item: Master [dB gain: -11.25] Esc: Exit │
│ │
│ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │
│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
│ ├──┤ ├──┤ ├──┤ ├──┤ └──┘ ├──┤ └──┘ Enabled │
│ │OO│ │OO│ │OO│ │OO│ │MM│ │
│ └──┘ └──┘ └──┘ └──┘ └──┘ │
│ 62 100<>100 100<>100 100<>100 100<>100 0<>0 0<>0 │
│ < Master >Headphon Speaker Bass Spe PCM Mic Mic Boos Auto-Mut │
└──────────────────────────────────────────────────────────────────────────────
the only way to test the headset mic is modify patch_realtek.c the driver's pin fixup will add the missing pin and you don't need those user pin fixup anymore by remove patch=*.fw in alsa-base.conf the driver disable auto mic selection when there is internal mic, headset mic and external mic after you add the headset mic pin mux pin (capture source control) in alsamixer determine the role of the combo jack is a headset or headphone the current logic still not handle the external mic correctly and default to headphone if (!snd_hda_jack_detect(codec, hp_pin)) new_headset_mode = ALC_HEADSET_MODE_UNPLUGGED; else if (mux_pin == spec->headset_mic_pin) new_headset_mode = ALC_HEADSET_MODE_HEADSET; else if (mux_pin == spec->headphone_mic_pin) new_headset_mode = ALC_HEADSET_MODE_MIC; else new_headset_mode = ALC_HEADSET_MODE_HEADPHONE; Sysfs Files !!----------- /sys/class/sound/hwC0D0/init_pin_configs: 0x12 0x99a30140 0x14 0x90170110 0x15 0x0321101f 0x16 0x03211020 0x18 0x40030008 0x19 0x03a11030 0x1a 0x411111f0 0x1b 0x411111f0 0x1d 0x41000001 0x1e 0x411111f0 0x1f 0x411111f0 /sys/class/sound/hwC0D0/driver_pin_configs: /sys/class/sound/hwC0D0/user_pin_configs: 0x12 0x99a30140 0x14 0x90170110 0x15 0x0321101f 0x16 0x411111f0 0x18 0x40030008 0x19 0x03a11030 0x1a 0x90170111 0x1b 0x411111f0 0x1d 0x41000001 0x1e 0x411111f0 0x1f 0x411111f0 static hda_nid_t preferred_pair[] = { 0x14, 0x03, 0x1a, 0x04, 0x15, 0x02, 0x16, 0x02, 0 } the preferred_pair force the driver to assign DAC to specific pin complex if you want spearate volume control for speaker and subwoofer, the two hp pins have to share DAC you can add another model to support surround51 [ALC668_FIXUP_ALIENWARE_SURROUND51] = { .type = HDA_FIXUP_PINS, .v.pins = (const struct hda_pintbl[]) { { 0x14, 0x02011010 }, /* Front Line Out */ { 0x15, 0x02011011 }, /* Rear Line Out */ { 0x19, 0x02011012 }, /* Center / LFE */ { 0x1a, 0x90170111 }, /* subwoofer */ { } }, }, static const struct hda_model_fixup alc662_fixup_models[] = { {.id = ALC272_FIXUP_MARIO, .name = "mario"}, {.id = ALC662_FIXUP_ASUS_MODE1, .name = "asus-mode1"}, {.id = ALC662_FIXUP_ASUS_MODE2, .name = "asus-mode2"}, {.id = ALC662_FIXUP_ASUS_MODE3, .name = "asus-mode3"}, {.id = ALC662_FIXUP_ASUS_MODE4, .name = "asus-mode4"}, {.id = ALC662_FIXUP_ASUS_MODE5, .name = "asus-mode5"}, {.id = ALC662_FIXUP_ASUS_MODE6, .name = "asus-mode6"}, {.id = ALC662_FIXUP_ASUS_MODE7, .name = "asus-mode7"}, {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"}, {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"}, {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = "dell-headset-multi"}, + {.id = ALC668_FIXUP_DELL_ALIENWARE, .name = "alienware-headset-hp-mic"}, + {.id = ALC668_FIXUP_DELL_ALIENWARE_SURROUND51, .name = "alienware-surround51"}, {} }; user need to specify model to change the usage of the three audio jacks by specify model options snd-hda-intel model=alienware-headset-hp-mic options snd-hda-intel model=alienware-surround51 (In reply to Gary from comment #90) > Sound quality is much better though the speakers now too > > But doesn't sound like Stereo > > But much clearer and not muffled do you mean the unclear sound is caused by two headphone jacks since the state of speakers is determined by the states of two headphone jacks ? check the pulseaudio verbose log whether pulseaudio mute/unmute the speaker rapidly when it found one headphone jack is plugged but another headphone is not plugged if you don't know how to install pulseaudio, you have to wait until ubuntu 15.10 is releassed pulseaudio 7.0 I go ./configure I does its thing then go "make" stops then "make install" does nothing So something is wrong I thought a re-install might sort it out (In reply to Raymond from comment #108) > (In reply to Gary from comment #90) > > Sound quality is much better though the speakers now too > > > > But doesn't sound like Stereo > > > > But much clearer and not muffled > > do you mean the unclear sound is caused by two headphone jacks since the > state of speakers is determined by the states of two headphone jacks ? > > check the pulseaudio verbose log whether pulseaudio mute/unmute the speaker > rapidly when it found one headphone jack is plugged but another headphone is > not plugged I just mean in general the sound is much better (In reply to Raymond from comment #105) > the only way to test the headset mic is modify patch_realtek.c > > the driver's pin fixup will add the missing pin and you don't need those > user pin fixup anymore by remove patch=*.fw in alsa-base.conf > > > > > the driver disable auto mic selection when there is internal mic, headset > mic and external mic after you add the headset mic pin > > > mux pin (capture source control) in alsamixer determine the role of the > combo jack is a headset or headphone > > the current logic still not handle the external mic correctly and default to > headphone > > > if (!snd_hda_jack_detect(codec, hp_pin)) > new_headset_mode = ALC_HEADSET_MODE_UNPLUGGED; > else if (mux_pin == spec->headset_mic_pin) > new_headset_mode = ALC_HEADSET_MODE_HEADSET; > else if (mux_pin == spec->headphone_mic_pin) > new_headset_mode = ALC_HEADSET_MODE_MIC; > else > new_headset_mode = ALC_HEADSET_MODE_HEADPHONE; > > > > Sysfs Files !!----------- > > /sys/class/sound/hwC0D0/init_pin_configs: > 0x12 0x99a30140 > 0x14 0x90170110 > 0x15 0x0321101f > 0x16 0x03211020 > 0x18 0x40030008 > 0x19 0x03a11030 > 0x1a 0x411111f0 > 0x1b 0x411111f0 > 0x1d 0x41000001 > 0x1e 0x411111f0 > 0x1f 0x411111f0 > > /sys/class/sound/hwC0D0/driver_pin_configs: > > /sys/class/sound/hwC0D0/user_pin_configs: > 0x12 0x99a30140 > 0x14 0x90170110 > 0x15 0x0321101f > 0x16 0x411111f0 > 0x18 0x40030008 > 0x19 0x03a11030 > 0x1a 0x90170111 > 0x1b 0x411111f0 > 0x1d 0x41000001 > 0x1e 0x411111f0 > 0x1f 0x411111f0 The only jack working now is the Headset jack the other 2 do nothing at all but that’s ok (In reply to Raymond from comment #107) > you can add another model to support surround51 > > [ALC668_FIXUP_ALIENWARE_SURROUND51] = { > .type = HDA_FIXUP_PINS, > .v.pins = (const struct hda_pintbl[]) { > { 0x14, 0x02011010 }, /* Front Line Out */ > { 0x15, 0x02011011 }, /* Rear Line Out */ > { 0x19, 0x02011012 }, /* Center / LFE */ > { 0x1a, 0x90170111 }, /* subwoofer */ > { } > }, > }, > > > > static const struct hda_model_fixup alc662_fixup_models[] = { > {.id = ALC272_FIXUP_MARIO, .name = "mario"}, > {.id = ALC662_FIXUP_ASUS_MODE1, .name = "asus-mode1"}, > {.id = ALC662_FIXUP_ASUS_MODE2, .name = "asus-mode2"}, > {.id = ALC662_FIXUP_ASUS_MODE3, .name = "asus-mode3"}, > {.id = ALC662_FIXUP_ASUS_MODE4, .name = "asus-mode4"}, > {.id = ALC662_FIXUP_ASUS_MODE5, .name = "asus-mode5"}, > {.id = ALC662_FIXUP_ASUS_MODE6, .name = "asus-mode6"}, > {.id = ALC662_FIXUP_ASUS_MODE7, .name = "asus-mode7"}, > {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"}, > {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"}, > {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = > "dell-headset-multi"}, > + {.id = ALC668_FIXUP_DELL_ALIENWARE, .name = > "alienware-headset-hp-mic"}, > + {.id = ALC668_FIXUP_DELL_ALIENWARE_SURROUND51, .name = > "alienware-surround51"}, > {} > }; > > > user need to specify model to change the usage of the three audio jacks by > specify model > > options snd-hda-intel model=alienware-headset-hp-mic > > options snd-hda-intel model=alienware-surround51 So where do I add these and do I change the codec to alc3661 and name from Asus to alienware (In reply to Gary from comment #104) > Created attachment 188581 [details] > Sound Devices with pulseaudio 7.0, you need to select surround2.1 profile which have two sliders volume and bass pulseaudio automatically change back to stereo when you plug the headphone however when pulseaudio does not switch back to 2.1 profile after you unplugg the headphone if your subwoofer use both rear left and rear left when speaker-test use -c4 you should also hear sound from subwoofer when speaker-test -c2 since snd-hda-intel copy front to all unused surround channel that is the reason why you can hear signal from your two headphone jacks yes but one Jack is for headphones and one for headset So do you know why Pulseaudio 7.0 is not installing ? (In reply to Gary from comment #115) > yes but one Jack is for headphones and one for headset > > So do you know why Pulseaudio 7.0 is not installing ? But I should add there is only sound coming from the headset jack now Created attachment 188641 [details]
Bench Mark just for Fun
(In reply to Gary from comment #116) > (In reply to Gary from comment #115) > > yes but one Jack is for headphones and one for headset > > > > So do you know why Pulseaudio 7.0 is not installing ? > > But I should add there is only sound coming from the headset jack now it is because you disable node 0x16 if you confirm node 0x1a is the subwoofer, you can reenable the headphone [codec] 0x10ec0668 0x102805ab 0 [pincfg] 0x1a 0x90170111 just add the subwoofer in hdajackretask.fw to find out the cause of unclear sound is the two headphone jacks (In reply to Raymond from comment #119) > [codec] > 0x10ec0668 0x102805ab 0 > > [pincfg] > 0x1a 0x90170111 > > > just add the subwoofer in hdajackretask.fw > > to find out the cause of unclear sound is the two headphone jacks These setting are already in hdajackretask.fw you have to remove 0x16 0x411111f0 from hdajackretask.fw your kernel 3.16 is released last year august which is quite old not sure model surround 5.1 work or not since there are three line out nodes and two speaker nodes but there are only three playback volume controls OK Ill remove 0x16 I have upgraded the Kernel to "Linux Kernel 4.1.7" on previous times I’ve done re-install would it be OK to do it again? OK tested both Jacks are working again now
Headset and Headphone
So where do I put these please ??
and do I change the Codec to alc3661 and name from Asus to Alienware??
> you can add another model to support surround51
>
> [ALC668_FIXUP_ALIENWARE_SURROUND51] = {
> .type = HDA_FIXUP_PINS,
> .v.pins = (const struct hda_pintbl[]) {
> { 0x14, 0x02011010 }, /* Front Line Out */
> { 0x15, 0x02011011 }, /* Rear Line Out */
> { 0x19, 0x02011012 }, /* Center / LFE */
> { 0x1a, 0x90170111 }, /* subwoofer */
> { }
> },
> },
>
>
>
> static const struct hda_model_fixup alc662_fixup_models[] = {
> {.id = ALC272_FIXUP_MARIO, .name = "mario"},
> {.id = ALC662_FIXUP_ASUS_MODE1, .name = "asus-mode1"},
> {.id = ALC662_FIXUP_ASUS_MODE2, .name = "asus-mode2"},
> {.id = ALC662_FIXUP_ASUS_MODE3, .name = "asus-mode3"},
> {.id = ALC662_FIXUP_ASUS_MODE4, .name = "asus-mode4"},
> {.id = ALC662_FIXUP_ASUS_MODE5, .name = "asus-mode5"},
> {.id = ALC662_FIXUP_ASUS_MODE6, .name = "asus-mode6"},
> {.id = ALC662_FIXUP_ASUS_MODE7, .name = "asus-mode7"},
> {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"},
> {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"},
> {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name =
> "dell-headset-multi"},
> + {.id = ALC668_FIXUP_DELL_ALIENWARE, .name =
> "alienware-headset-hp-mic"},
> + {.id = ALC668_FIXUP_DELL_ALIENWARE_SURROUND51, .name =
> "alienware-surround51"},
> {}
> };
>
>
> user need to specify model to change the usage of the three audio jacks by
> specify model
>
> options snd-hda-intel model=alienware-headset-hp-mic
>
> options snd-hda-intel model=alienware-surround51
Created attachment 188671 [details]
After 0x16 was taken out of HDAJackRetask
The code snippet Raymond attached is the patch to the kernel code. That is, you need to learn how to build the latest upstream kernel from the source tree, how to patch it and how to install and use it. In that way, we can confirm that the patch works for the latest upstream code. If you can't manage it, try to ask someone of your distribution for help. They might be able to build an installable patched kernel package on behalf of you. I already have a post on the Linux Mite forum asking for help and haven’t even got one reply yet and that’s been about 3 weeks now roughly The other problem is I don’t really even know what to ask Im an underground Hardrock Miner with home tough computer skills and Ive only been playing around with Linux for about a month If I can get someone to guide me I could maybe do it that’s a Maybe I have also been asking where I’m going wrong trying to install Pulseaudio 7.0 But never get an answer You guys have been great When you ask me to do something I search the net to find out how most times But with Pulseaudio 7.0 there doesn’t seem to be any answers on the net and Version 6.0 instruction don’t work on version 7.0 either Ok guys I’ve asked the question at the Mint Forum link here so fingers crossed http://forums.linuxmint.com/viewtopic.php?f=49&t=206055 I installed Kernel 4.2.1 rebooted no good was in some sort of recovery mode so I purged it all is good again https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=4b016931a997be59a2be0da3398985a19fdfa5be those realtek codecs on dell computers have aliases name as front , surround , center/lfe playback volume controls are needed for surround5.1 , how do the driver name the volume controls when speaker, bass speaker have to shared with the above three line out jack speaker+LO seem only for HDA codecs with two DAC https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=03ad6a8c93b6df2d65c305b5b5f9474068b45bfb do pulseaudio still work when there is no headphone jack ? http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths do pulseaudio still mute the speaker path when line out jack is plugged ? Ok this morning while watching a you-tube Video after restart the sound was muffled again So I put 0x16 0x411111f0 back in HDAJackRetask and its all good again Kernel updated to 4.1.7-040107-generic Tried to install Pulseaudio 7.0 after Kernel upgrade But still will not install can anyone please point me in the direction that can help me out here gary-Alienware-18 pulseaudio-7.0 # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for stow... no checking whether make supports nested variables... (cached) yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc -std=gnu99 needs -traditional... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gm4... no checking for m4... m4 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.18.2 checking for XML::Parser... ok checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... (cached) /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking host operating system... linux checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -W... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -pipe... yes checking whether C compiler accepts -Wno-long-long... yes checking whether C compiler accepts -Wno-overlength-strings... yes checking whether C compiler accepts -Wunsafe-loop-optimizations... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wmissing-include-dirs... yes checking whether C compiler accepts -Wformat-nonliteral... yes checking whether C compiler accepts -Wold-style-definition... no checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wdeclaration-after-statement... yes checking whether C compiler accepts -Wfloat-equal... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... no checking whether C compiler accepts -Wredundant-decls... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Wendif-labels... yes checking whether C compiler accepts -Wcast-align... yes checking whether C compiler accepts -Wstrict-aliasing... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -ffast-math... yes checking whether C compiler accepts -fno-common... yes checking whether C compiler accepts -fdiagnostics-show-option... yes checking whether C compiler accepts -fdiagnostics-color=auto... no checking whether the linker accepts "-Wl,-version-script=./src/map-file"... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,nodelete... yes checking whether the linker accepts -Wl,--no-undefined... yes checking whether gcc -std=gnu99 knows __sync_bool_compare_and_swap()... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dladvise_init in -lltdl... yes checking for ANSI C header files... (cached) yes checking for arpa/inet.h... yes checking for glob.h... yes checking for grp.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for netinet/in_systm.h... yes checking for netinet/tcp.h... yes checking for poll.h... yes checking for pwd.h... yes checking for sched.h... yes checking for sys/mman.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/wait.h... yes checking for sys/uio.h... yes checking for syslog.h... yes checking for sys/dl.h... no checking for dlfcn.h... (cached) yes checking for linux/sockios.h... yes checking for sys/prctl.h... yes checking for sys/filio.h... no checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for sys/atomic.h... no checking for sys/ioctl.h... yes checking for byteswap.h... yes checking for sys/syscall.h... yes checking for sys/eventfd.h... yes checking for execinfo.h... yes checking for langinfo.h... yes checking for regex.h... yes checking for pcreposix.h... no checking for valgrind/memcheck.h... no checking for netinet/ip.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for off_t... yes checking for uid_t in sys/types.h... yes checking whether environ is declared... yes checking for SIGXCPU defined in signal.h... yes checking for INADDR_NONE defined in netinet/in.h... yes checking whether gcc -std=gnu99 knows _Bool... yes checking for thread local storage (TLS) class... __thread checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for library containing pow... -lm checking for library containing sched_setscheduler... none required checking for library containing dlopen... -ldl checking for library containing shm_open... -lrt checking for library containing inet_ntop... none required checking for library containing timer_create... none required checking for library containing pthread_setaffinity_np... -lpthread checking for library containing pthread_getname_np... none required checking for library containing pthread_setname_np... none required checking for library containing connect... none required checking for library containing backtrace... none required checking for library containing regexec... none required checking for getopt_long... yes checking for lrintf... yes checking for strtof... yes checking for chmod... yes checking for chown... yes checking for fstat... yes checking for fchown... yes checking for fchmod... yes checking for clock_gettime... yes checking for getaddrinfo... yes checking for getgrgid_r... yes checking for getgrnam_r... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for gettimeofday... yes checking for getuid... yes checking for mlock... yes checking for nanosleep... yes checking for pipe... yes checking for posix_fadvise... yes checking for posix_madvise... yes checking for posix_memalign... yes checking for setpgid... yes checking for setsid... yes checking for shm_open... yes checking for sigaction... yes checking for sleep... yes checking for symlink... yes checking for sysconf... yes checking for uname... yes checking for pthread_setaffinity_np... yes checking for pthread_getname_np... yes checking for pthread_setname_np... yes checking for readlink... yes checking for ctime_r... yes checking for usleep... yes checking for strerror_r... yes checking for lstat... yes checking for setresuid... yes checking for setresgid... yes checking for setreuid... yes checking for setregid... yes checking for seteuid... yes checking for setegid... yes checking for ppoll... yes checking for strsignal... yes checking for sig2str... no checking for strtod_l... yes checking for pipe2... yes checking for accept4... yes checking for open64... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking for mkfifo... yes checking for working alloca.h... yes checking for alloca... yes checking for regexec... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for library containing dladdr... none required checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for X11... no checking for library containing cap_init... no checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no configure: error: *** sys/capability.h not found. Use --without-caps to disable capabilities support. gary-Alienware-18 pulseaudio-7.0 # make make: *** No targets specified and no makefile found. Stop. gary-Alienware-18 pulseaudio-7.0 # make install make: *** No rule to make target `install'. Stop. gary-Alienware-18 pulseaudio-7.0 # Just finished Fresh Install trying to install Pulseaudio something failed and locked me out of my computer So new Install it was Created attachment 188741 [details]
Alsa Info after reinstall
0x14 0x02011010 0x15 0x02011011 0x19 0x02011012 0x1a 0x90170111 how about three line out and subwoofer in hdajackretask.fw the driver create front , surround , center and lfe playback volume front, surround, center/lfe , speaker and bass speaker switch there is no way for pulseaudio to know front playback volume is shared by line out and internal speaker surround playback volume is shared by lineout and bass speaker Do you want me to have these 4 0x14 0x02011010 0x15 0x02011011 0x19 0x02011012 0x1a 0x90170111 in hdajackretask.fw delete all the others ???? you only need to specify the modified pin in hdajackretask.fw since BIOS already initialze the other pins just want to know the name of those line out jacks kctl amixer -c0 contents 0x2011010 is Line Out at Ext Front, color = Black, DefAssoc =1 , sequence =0 http://cgit.freedesktop.org/pulseaudio/pulseaudio/patch/src/modules/alsa/mixer/paths/analog-output-lineout.conf?id=c50766b52ad4cdefa51d7186389c1fb777402802 ~ $ amixer -c0 contents numid=19,iface=CARD,name='Headphone Jack' ; type=BOOLEAN,access=r-------,values=1 : values=off numid=16,iface=CARD,name='Internal Mic Phantom Jack' ; type=BOOLEAN,access=r-------,values=1 : values=on numid=15,iface=CARD,name='Mic Jack' ; type=BOOLEAN,access=r-------,values=1 : values=off numid=17,iface=CARD,name='Speaker Front Phantom Jack' ; type=BOOLEAN,access=r-------,values=1 : values=on numid=18,iface=CARD,name='Speaker Surround Phantom Jack' ; type=BOOLEAN,access=r-------,values=1 : values=on numid=14,iface=MIXER,name='Master Playback Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on numid=13,iface=MIXER,name='Master Playback Volume' ; type=INTEGER,access=rw---R--,values=1,min=0,max=87,step=0 : values=76 | dBscale-min=-65.25dB,step=0.75dB,mute=0 numid=6,iface=MIXER,name='Headphone Playback Switch' ; type=BOOLEAN,access=rw------,values=2 : values=on,on numid=5,iface=MIXER,name='Headphone Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0 : values=87,87 | dBscale-min=-65.25dB,step=0.75dB,mute=0 numid=22,iface=MIXER,name='PCM Playback Volume' ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0 : values=254,254 | dBscale-min=-51.00dB,step=0.20dB,mute=0 numid=12,iface=MIXER,name='Mic Boost Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0 : values=0,0 | dBscale-min=0.00dB,step=10.00dB,mute=0 numid=8,iface=MIXER,name='Mic Playback Switch' ; type=BOOLEAN,access=rw------,values=2 : values=off,off numid=7,iface=MIXER,name='Mic Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0 : values=0,0 | dBscale-min=-34.50dB,step=1.50dB,mute=0 numid=11,iface=MIXER,name='Capture Switch' ; type=BOOLEAN,access=rw------,values=2 : values=on,on numid=10,iface=MIXER,name='Capture Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=63,step=0 : values=38,38 | dBscale-min=-17.25dB,step=0.75dB,mute=0 numid=9,iface=MIXER,name='Auto-Mute Mode' ; type=ENUMERATED,access=rw------,values=1,items=2 ; Item #0 'Disabled' ; Item #1 'Enabled' : values=1 numid=4,iface=MIXER,name='Bass Speaker Playback Switch' ; type=BOOLEAN,access=rw------,values=2 : values=on,on numid=3,iface=MIXER,name='Bass Speaker Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0 : values=87,87 | dBscale-min=-65.25dB,step=0.75dB,mute=0 numid=2,iface=MIXER,name='Speaker Playback Switch' ; type=BOOLEAN,access=rw------,values=2 : values=on,on numid=1,iface=MIXER,name='Speaker Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=87,step=0 : values=87,87 | dBscale-min=-65.25dB,step=0.75dB,mute=0 numid=21,iface=PCM,name='Capture Channel Map' ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0 : values=0,0 | | chmap-fixed=FL,FR numid=20,iface=PCM,name='Playback Channel Map' ; type=INTEGER,access=r----R--,values=4,min=0,max=36,step=0 : values=0,0,0,0 | | chmap-fixed=FL,FR Pin Default 0x0321101f: [Jack] HP Out at Ext Left Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf if your HPs and Mic are at Ext Left you need to change those line out at ext left Created attachment 188901 [details]
Sound control
OK I have just done a restart
I have 5.0 5.1 and 4.0 4.1 and stereo
in sound control
and it shows the Sub slider but no sound coming out of the Rears or Sub during sound test
Headphones are back in the center Jack the Headphone Jack also no sound in Center on 5.1 So it shows 5.1 and 4.1 But sound is only stereo That's with this configuration 0x14 0x02011010 0x15 0x02011011 0x19 0x02011012 0x1a 0x90170111 0x14 0x03011010 0x15 0x03011011 0x19 0x03011012 0x1a 0x90170111 line out at ext left is 0x03011010 you have to post output of alsa-info.sh do you have 5.1 speakers ? the internal subwoofer won't give you sound when you retask the audio jacks to line out since the driver auto those internal speakers when "auto mute" control is enabled Created attachment 188911 [details]
Alsa info
The 5.1 shows in sound but no sound comes out
This is just HDA and not HDMI
───────────────────────────────── AlsaMixer v1.0.27.2 ──────────────────────────────────┐ │ Card: HDA Intel PCH F1: Help │ │ Chip: Realtek ALC3661 F2: System information │ │ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │ │ Item: Master [dB gain: -8.25, -8.25] Esc: Exit │ │ │ │ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │ │ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ ├──┤ ┌──┐ ┌──┐ └──┘ ┌──┐ ├──┤ ├──┤ ├──┤ Disabled │ │ │OO│ │OO│ │OO│ │OO│ │OO│ │OO│ │OO│ │ │ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ │ │ 70<>70 99<>99 100<>100 100 100 │ │ < Master >Headphon Speaker PCM Front Surround Center LFE Auto-Mut │ │ With Headphone plugged in ┌───────────────────────────────── AlsaMixer v1.0.27.2 ──────────────────────────────────┐ │ Card: HDA Intel PCH F1: Help │ │ Chip: Realtek ALC3661 F2: System information │ │ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │ │ Item: Master [dB gain: -11.25, -11.25] Esc: Exit │ │ │ │ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │ │ │ │ │▒▒│ │ │ │ │ │ │ │ │ │ │ │▒▒│ │ │ │ │ │ │ │ │ │ │ │▒▒│ │ │ │ │ │ │ │ │ │ │ │▒▒│ │ │ │ │ │ │ │ │ │ │ │▒▒│ │ │ │ │ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │ │ │ │ ├──┤ ┌──┐ ┌──┐ └──┘ ┌──┐ ├──┤ ├──┤ ├──┤ Disabled │ │ │OO│ │OO│ │MM│ │OO│ │MM│ │MM│ │MM│ │ │ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ │ │ 62<>62 98<>98 0<>0 0 0 │ │ < Master >Headphon Speaker PCM Front Surround Center LFE Auto-Mut │ │ should be 0x15 0x03011010 0x16 0x03011011 0x19 0x03011012 0x1a 0x90170111 headset to front line out headphone to surround mic to center/lfe do the user manual mention how the audio jacks is used when playing surround 5.1 ? ──────────────────────────── AlsaMixer v1.0.27.2 ─────────────────────────────┐ │ Card: HDA Intel PCH F1: Help │ │ Chip: Realtek ALC3661 F2: System information │ │ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │ │ Item: Master [dB gain: 0.00] Esc: Exit │ │ │ │ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ → │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ → │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ → │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ → │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ → │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ → │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ → │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ ├──┤ ┌──┐ ┌──┐ └──┘ ├──┤ ├──┤ ├──┤ ├──┤ │ │ │OO│ │MM│ │OO│ │OO│ │MM│ │MM│ │MM│ │ │ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ │ │ 100 100<>100 54<>54 52<>52 100 100 │ │ < Master >Speaker Bass Spe PCM Front Surround Center LFE Created attachment 188951 [details]
after change
Ok the 5.1 and 4.1 5-0 4.0 and 2 .0 still show up in sound control
Subwoofer slide is active
But no sound comes out of the Sub
When I plug in the headphones into either headset or headphones jack Sub noise comes out of right side headphone speaker
Created attachment 188961 [details]
Alienware 18x r2 users Manual
Created attachment 188971 [details]
Alienware 18x r2 Ref Guide
Created attachment 188981 [details]
Alienware 18x r2 Setup Guide
The above 3 manuals are the wrong ones sorry The 3 below are the correct ones for my Model Created attachment 189001 [details]
Ref guide
Created attachment 189011 [details]
Seup Guide
Created attachment 189021 [details]
Owners Manual
if the specification does not mention that it support surround 5.1 do you have any headset (iphone or nokia) to test the headset jack ? static void alc_determine_headset_type(struct hda_codec *codec) +{ + int val; + bool is_ctia = false; + struct alc_spec *spec = codec->spec; + + switch (codec->vendor_id) { + + case 0x10ec0668: + alc_write_coef_idx(codec, 0x11, 0x0001); + alc_write_coef_idx(codec, 0xb7, 0x802b); + alc_write_coef_idx(codec, 0x15, 0x0d60); + alc_write_coef_idx(codec, 0xc3, 0x0c00); + msleep(300); + val = alc_read_coef_idx(codec, 0xbe); + is_ctia = (val & 0x1c02) == 0x1c02; + break; + } + + snd_printdd("Headset jack detected iPhone-style headset: %s\n", + is_ctia ? "yes" : "no"); + spec->current_headset_type = is_ctia ? ALC_HEADSET_TYPE_CTIA : ALC_HEADSET_TYPE_OMTP; +} There is no output from 5.1 at all But 4.1 is working fine My headphones all all in one headset headphones wired bluetooth nfc Nokia Monster Purity Ok I tried an Samsung headset that changes everything Sound works on all jacks but does shut off main speakers the Mic jack is quieter than the rest This headset also had a Mic though when I plugin my headphones now there auto mute doesn’t seem to work at all you need to add function just before coef_fw alc668_coefs in patch_realtek.c static void alc668_fixup_dell_alienware(struct hda_codec *codec, const struct hda_fixup *fix, int action) { const struct hda_pintbl pincfgs[] = { { 0x1a, 0x90170111 }, /* subwoofer */ { 0x1b, 0x03a1113c }, /* headset mic */ { } }; static hda_nid_t preferred_pair[] = { 0x14, 0x03, 0x1a, 0x04, 0x15, 0x02, 0x16, 0x02, 0 }; struct alc_spec *spec = codec->spec; switch (action) { case HDA_FIXUP_ACT_PRE_PROBE: snd_hda_apply_pincfgs(codec, pincfgs); spec->gen.preferred_dacs = preferred_pair; break; } } add the following line after ALC668_FIXUP_DELL_XPS13, in enum ALC668_FIXUP_DELL_ALIENWARE, add following to hda_fixup alc662_fixups [ALC668_FIXUP_DELL_ALIENWARE] = { .type = HDA_FIXUP_FUNC, .v.func = alc668_fixup_dell_alienware, .chained = true, .chain_id = ALC668_FIXUP_HEADSET_MODE }, add the following pci quirk to snd_pci_quirk alc662_fixup_tbl SND_PCI_QUIRK(0x1028, 0x05ab, "Dell Alienware 18", ALC668_FIXUP_DELL_ALIENWARE), recompile alsa driver https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/hda/hda_local.h if you want the driver output debug info to system log about the headset type, need to change #define codec_dbg(codec, fmt, args...) \ dev_dbg(hda_codec_dev(codec), fmt, ##args) to #define codec_dbg(codec, fmt, args...) \ dev_info(hda_codec_dev(codec), fmt, ##args) Ok so where do I add this please?? https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/hda patch_realtek.c don't need patch or any model after you recompile alsa driver since the subwoofer pin and headset mic pin will be added by the driver as /sys/class/sound/hwC0D0/driver_pin_configs: the driver create capture source control which have three selections internal mic, headset mic and external mic those TRS headphone still support when you select internal mic TRRS headset is supported when you select headset mic don't plug external mic and headset at the same time when you select external mic as capture source the driver logic still assume the jack is headphone i guess you get bad sound because you plug TRRS headset into the headphone jack TRS So I have no auto mute now should I revert back to 0x14 0x02011010 0x15 0x02011011 0x19 0x02011012 0x1a 0x90170111 if user manual does not mention support surround 5.1 since your headset jack is designed for TRRS heaset which may not support Line out TRS http://www.alienware.com/landings/laptops.aspx (2x) Audio Out 1/8" Ports (One compatible with inline mic headset) (1x) Line In Microphone 1/8" Port (retaskable for 5.1 analog audio output) (In reply to Gary from comment #170) > So I have no auto mute now should I revert back to > > 0x14 0x02011010 > 0x15 0x02011011 > 0x19 0x02011012 > 0x1a 0x90170111 it should be 0x03011010 for Line Out at Ext Left can you post output of alsa-info.sh since the result of hda-emu seem good jack 0x15 1 (plug line out) set pin ctl of node 0x14 and node 0x1a to zero jack 0x15 Created attachment 189121 [details]
Alsa info
you have to remove all model lines unless you modified source code and recompiled alsa ddriver snd_hda_intel: patch=hda-jack-retask.fw snd_hda_intel: model=alienware-headset-hp-mic snd_hda_intel: model=alienware-surround51 Where do I find these to remove them Please? Found them Created attachment 189131 [details]
Alsa Info after removing 3 files
control.17 { iface CARD name 'Headphone Front Jack' value false comment { access read type BOOLEAN count 1 } } control.18 { iface CARD name 'Headphone Surround Jack' value false comment { access read type BOOLEAN count 1 } } without subwoofer the two headphone already support surround40, which only need retask mic jack to output however when headset jack require capture source to change role of the combo jack the speaker should still be auto mute by the driver pinctl of speaker node 0x14 change from OUT to zero when you plug headset or headphome Pin Default 0x90170110: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT it is pulseaudio mute/unmute the speaker playback switch according to state of those[JACK] in pulseaudio conf files http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-headphones.conf http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-speaker.conf if you retask node 0x15 , 0x16 and node 0x19 to line out the driver stillauto mute speaker and subwoofer by set pinctl to zero pulseaudio will mute /unmute speaker and bass speaker accorrding to those [JACK] in http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-lineout.conf http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-speaker.conf So If I install the PPA will it install the latest Pulse Audio 7.0 I haven't done anything since I took these out d_hda_intel: patch=hda-jack-retask.fw snd_hda_intel: model=alienware-headset-hp-mic snd_hda_intel: model=alienware-surround51 Is that correct or should had done something with those codes above The sound is back to standard apart from no mute for the in the headphone headset jacks New install again Is there a way to bypass login when your account has been disabled or to enable your account during login? I have searched one guy said from Root "usermod -U username" but it didnt work are there any sites that show what to do Thanks Gary Kernel updated to 4.2.3-040203-generic you have to learn how to recompile alsa driver in order to test and fix the subwoofer , headset, headphone and surround 5.1 since early patching is limited to pin fixup and cannot change DAC assignment Ok Raymond I’m not capable of that I asked for help on the Linux Mint site with no response at all So it looks like we have come to a stalling point I thank you very much for your help Gary My bug report can anyone link it to this bug report. (In reply to mohammed imran from comment #188) > My bug report can anyone link it to this bug report. https://bugzilla.kernel.org/show_bug.cgi?id=107851 I've been able to get the latest alsa dev working (2016-04-02) by following the instructions here (https://wiki.ubuntu.com/Audio/UpgradingAlsa), installing the "alsa daily development build" and rebooting. If you've followed the instructions in my previous answer, you can simply "remove the boot profile" and reboot. It now correctly identifies the chipset, and the audio speakers and headphones (including jack detection) works sensibly. http://askubuntu.com/questions/491301/realtek-alc-3661 Gary try the solution here should work, i hope. sound is better for me. HDAUDIO\FUNC_01&VEN_10EC&DEV_0668&SUBSYS_102805A9&REV_1000 Hi mohammed imran Ive just sen this now after all this time installed as above Fingers crossed No Hasn't changed anything Still doesn't detect my Sub Thanks for trying anyway Cheers Gaz Hi Guys I've been installing the Updates everyday @ https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+packages But there hasn't been any changes to my system yet But Ill keep trying Gaz Hey Gary, i have a seperate bug report that i have started, which you can follow and comment, and maybe we can get the audio issue sorted out. try this link and follow their. https://bugzilla.kernel.org/show_bug.cgi?id=107851 (In reply to Gary from comment #194) > Hi Guys I've been installing the Updates everyday @ > https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/ > +packages > > But there hasn't been any changes to my system yet > But Ill keep trying > Gaz Hey Gary, i have a seperate bug report that i have started, which you can follow and comment, and maybe we can get the audio issue sorted out. try this link and follow their. https://bugzilla.kernel.org/show_bug.cgi?id=107851 (In reply to mohammed imran from comment #196) > (In reply to Gary from comment #194) > > Hi Guys I've been installing the Updates everyday @ > > https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/ > > +packages > > > > But there hasn't been any changes to my system yet > > But Ill keep trying > > Gaz > > Hey Gary, i have a seperate bug report that i have started, which you can > follow and comment, and maybe we can get the audio issue sorted out. try > this link and follow their. > > https://bugzilla.kernel.org/show_bug.cgi?id=107851 Still no go with Mine I followed that last post on your thread but still no go Cheers and please keep me posted Gary try this it worked for me, So you fix the sound: 1. Open a Terminal (Ctrl + Alt + T). 2. Write 'sudo su' to login as root. 3. Install via apt 'alsa-tools-gui'. 4. Logout via exit. 5. Write 'hdajackretask' and press enter. 6. Click on 'Intel Haswell HDMI' and select 'Realtek ALC3661'. 7. A lot of new entrys are visible. Select 'Show unconnected pins'. 8. Click on 'Overwrite' on Pin ID '0x1a'. 9. Click on the Context Menu and select 'Line out (Center/LFE)'. 10. Click on 'Apply now' and enter your user password. 11. Click on 'Install boot overwrite' to save the settings permanently. 12. Click on your Volume Icon on the top (Ubuntu Unity) and remove the marker 'mute'. 13. Reboot and your sound work perfect. All I need is my computer to recognize my Subwooffer I have 2 speakers and a Sub I there a way to show Linux my Hardware? After reading this page I think I may as well give up on my quest for 2.1 sound http://voices.canonical.com/david.henningsson/2015/12/15/2-1-surround-sound-support/ Gaz Found more Info don't know if its helpful or not http://www.jackaudio.org/faq/multiple_devices.html https://askubuntu.com/questions/705814/how-to-get-to-a-perfect-jackd-configuration-that-works-trouble-free-and-out-of-t https://github.com/samaaron/sonic-pi/issues/827 (In reply to Raymond from comment #186) > you have to learn how to recompile alsa driver in order to test and fix the > subwoofer , headset, headphone and surround 5.1 since early patching is > limited to pin fixup and cannot change DAC assignment Gary, Please refer to this above command on how to download all the files, i mean pull them and then amend them , compile them and then apply the test cases as said by raymond. check how to pull the code from git and do the needful. Regards. Code yes I wish I knew what that was hahhahahah I'm a Blue Collar worker not a Technician Hi Team if there anyone there I installed Mint 19.1 and lost my sound all together So went back to Mint 18 and did some Pin work and got my sound going in the two speaker on my Laptop But still no Sub I was wondering if there are any updates or new Drivers out there Any updates would be most welcome Cheers Gary |