[Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem

Bug #1332900 reported by Austin Moore
24
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ALSA driver
Confirmed
Medium
alsa-base
New
Undecided
Unassigned
alsa-driver (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Bug seems similar to another reported bug with Alienware 18 laptops. It should be Realtek ALC3661 however it shows up as ALC668. Sound only comes out of 1 Channel, which appears to be subwoofer. Unlike the other bug, closing the lid appears to have no effect on sound.

When doing the bug test, it said sound would alternate between 2 channels, however I only heard one consistent sound. It did not alternate. I believe it is playing from the subwoofer only. I would love to know more about how to route the sound to the proper speakers.

I attempted modifications to daemon.conf in pulse and .asoundrc but have not found the correct configuration yet.

This laptop is equipped with 2.1 Surround and should play sound accordingly. Also, alsamixer only shows (1) speaker control, whether this is normal I am unsure.

Ubuntu 14.04 LTS

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: phallix 1730 F.... pulseaudio
 /dev/snd/controlC0: phallix 1730 F.... pulseaudio
                      phallix 8573 F.... alsamixer
CurrentDesktop: Unity
Date: Sat Jun 21 21:02:28 2014
InstallationDate: Installed on 2014-06-15 (6 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Speaker, Internal
Symptom_Type: Only some of outputs are working
Title: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/23/2014
dmi.bios.vendor: Alienware
dmi.bios.version: A07
dmi.board.name: 01W2J2
dmi.board.vendor: Alienware
dmi.board.version: A02
dmi.chassis.type: 8
dmi.chassis.vendor: Alienware
dmi.chassis.version: A07
dmi.modalias: dmi:bvnAlienware:bvrA07:bd04/23/2014:svnAlienware:pnAlienware18:pvrA07:rvnAlienware:rn01W2J2:rvrA02:cvnAlienware:ct8:cvrA07:
dmi.product.name: Alienware 18
dmi.product.version: A07
dmi.sys.vendor: Alienware
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2014-06-17T23:18:00.223827

Revision history for this message
Austin Moore (bluemonkii) wrote :
Revision history for this message
David Henningsson (diwic) wrote :

You have modified /etc/modprobe.d/alsa-base.conf to include these lines:

"
options snd-hda-intel model=targa-dig
options snd slots=snd-hda-intel
# u1Nb.u_BNWJ+LvyF:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
"

Please revert this file to the original configuration (i e remove the lines quoted above), reboot, and test again.

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

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

targa models have been removed

you need to file upstream report if you want to support 5.1 by two headphones Jack and mic

you need to find out the missing speakers and headset mic

it is not easy since there are not enough volume control for your 2.1 speakers and headset headphone and retasked mic

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

[ 5.445875] autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 5.445876] speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.445877] hp_outs=2 (0x15/0x16/0x0/0x0/0x0)
[ 5.445877] mono: mono_out=0x0
[ 5.445878] inputs:
[ 5.445879] Mic=0x19
[ 5.445880] Internal Mic=0x12

you can try hda-jack-retask 0x1b for the headset mic

0x03a1113c

and trial and error to find the speaker from the remain unconnected pin complexes

Revision history for this message
Austin Moore (bluemonkii) wrote : RE: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
Download full text (4.3 KiB)

I tried to re-submit the bug report but I am not really sure what the alsa-base.conf should look like or how to reinstall/overwrite. It should be noted that I had this problem immediately upon installing Ubuntu, so nothing I have changed has been the cause. I have been attempting to fix it but it is hard to understand why it cannot detect this from a default install. I was though able to update the alsa daily package and now it shows ALC3661 so that part at least shows right now, but still trying to understand how it doesnt register the laptop speakers. Let me know if you have any further troubleshooting I can do...

> Date: Sun, 22 Jun 2014 04:02:05 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> You have modified /etc/modprobe.d/alsa-base.conf to include these lines:
>
> "
> options snd-hda-intel model=targa-dig
> options snd slots=snd-hda-intel
> # u1Nb.u_BNWJ+LvyF:82801I (ICH9 Family) HD Audio Controller
> alias snd-card-0 snd-hda-intel
> "
>
> Please revert this file to the original configuration (i e remove the
> lines quoted above), reboot, and test again.
>
> ** Changed in: alsa-driver (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1332900
>
> Title:
> [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> Status in “alsa-driver” package in Ubuntu:
> Incomplete
>
> Bug description:
> Bug seems similar to another reported bug with Alienware 18 laptops.
> It should be Realtek ALC3661 however it shows up as ALC668. Sound only
> comes out of 1 Channel, which appears to be subwoofer. Unlike the
> other bug, closing the lid appears to have no effect on sound.
>
> When doing the bug test, it said sound would alternate between 2
> channels, however I only heard one consistent sound. It did not
> alternate. I believe it is playing from the subwoofer only. I would
> love to know more about how to route the sound to the proper speakers.
>
> I attempted modifications to daemon.conf in pulse and .asoundrc but
> have not found the correct configuration yet.
>
> This laptop is equipped with 2.1 Surround and should play sound
> accordingly. Also, alsamixer only shows (1) speaker control, whether
> this is normal I am unsure.
>
>
> Ubuntu 14.04 LTS
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: alsa-base 1.0.25+dfsg-0ubuntu4
> ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
> Uname: Linux 3.13.0-29-generic x86_64
> NonfreeKernelModules: wl nvidia
> ApportVersion: 2.14.1-0ubuntu3.2
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC1: phallix 1730 F.... pulseaudio
> /dev/snd/controlC0: phallix 1730 F.... pulseaudio
> phallix 8573 F.... alsamixer
> CurrentDesktop: Unity
> Date: Sat Jun 21 21:02:28 2014
> InstallationDate: Installed on 2014-06-15 (6 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "T...

Read more...

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

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1302090/comments/11

subwoofer seem at node 0x1a on alienware 14 using same codec

Revision history for this message
David Henningsson (diwic) wrote :

> I tried to re-submit the bug report but I am not really sure what the alsa-base.conf should look like or how to reinstall/overwrite.

These commands will replace your alsa-base.conf with the original one:
sudo mv /etc/modprobe.conf/alsa-base.conf ~/alsa-base.conf.old
sudo apt-get install alsa-base --reinstall

Otherwise I think Raymond is right, you need to experiment a bit with hdajackretask (in the alsa-tools-gui package) to find the internal speaker, because BIOS does only indicate 0x14 as speaker - and that's probably the subwoofer if that's the only thing you hear audio from.

Revision history for this message
Austin Moore (bluemonkii) wrote :
Download full text (4.2 KiB)

Thanks for the response. Are there any guides for this hdajackretask as to how I can do what you say, otherwise how might I get started experimenting with hdajackretask? I am a fast learner, but new to both Ubuntu and Linux-based systems. If you have some information on how I can do this that would be great, and I can post the solution on Ubuntu forums if we are able to figure it out.

> Date: Mon, 23 Jun 2014 14:44:06 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> > I tried to re-submit the bug report but I am not really sure what the
> alsa-base.conf should look like or how to reinstall/overwrite.
>
> These commands will replace your alsa-base.conf with the original one:
> sudo mv /etc/modprobe.conf/alsa-base.conf ~/alsa-base.conf.old
> sudo apt-get install alsa-base --reinstall
>
> Otherwise I think Raymond is right, you need to experiment a bit with
> hdajackretask (in the alsa-tools-gui package) to find the internal
> speaker, because BIOS does only indicate 0x14 as speaker - and that's
> probably the subwoofer if that's the only thing you hear audio from.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1332900
>
> Title:
> [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> Status in “alsa-driver” package in Ubuntu:
> Incomplete
>
> Bug description:
> Bug seems similar to another reported bug with Alienware 18 laptops.
> It should be Realtek ALC3661 however it shows up as ALC668. Sound only
> comes out of 1 Channel, which appears to be subwoofer. Unlike the
> other bug, closing the lid appears to have no effect on sound.
>
> When doing the bug test, it said sound would alternate between 2
> channels, however I only heard one consistent sound. It did not
> alternate. I believe it is playing from the subwoofer only. I would
> love to know more about how to route the sound to the proper speakers.
>
> I attempted modifications to daemon.conf in pulse and .asoundrc but
> have not found the correct configuration yet.
>
> This laptop is equipped with 2.1 Surround and should play sound
> accordingly. Also, alsamixer only shows (1) speaker control, whether
> this is normal I am unsure.
>
>
> Ubuntu 14.04 LTS
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: alsa-base 1.0.25+dfsg-0ubuntu4
> ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
> Uname: Linux 3.13.0-29-generic x86_64
> NonfreeKernelModules: wl nvidia
> ApportVersion: 2.14.1-0ubuntu3.2
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC1: phallix 1730 F.... pulseaudio
> /dev/snd/controlC0: phallix 1730 F.... pulseaudio
> phallix 8573 F.... alsamixer
> CurrentDesktop: Unity
> Date: Sat Jun 21 21:02:28 2014
> InstallationDate: Installed on 2014-06-15 (6 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
> PackageArchitecture: all
> SourcePack...

Read more...

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

@David : I think you meant modprobe.d (not modprobe.conf)

@Austin: I'm not aware of any guides beyond the links already given. Install the alsa-tools-gui package and run the hdajackretask program. Check the option to show unconnected pins, and try setting them to an internal speaker.

Revision history for this message
Austin Moore (bluemonkii) wrote :
Download full text (4.0 KiB)

Ok. I will start by trying to install alsa-tools-gui package. One other thing I noticed is upon startup/load of Ubuntu, at the top of the screen it says something about snd hda codec "module has bad taint". It is difficult to read exactly because it flashes only for a second during load. I am unsure if this is related to the same problem but since it has to do with alsa I knew it was worth mentioning. If you know anything about this message please let me know. I appreciate all of the help thus far.

Austin

> Date: Mon, 23 Jun 2014 19:10:44 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> @David : I think you meant modprobe.d (not modprobe.conf)
>
> @Austin: I'm not aware of any guides beyond the links already given.
> Install the alsa-tools-gui package and run the hdajackretask program.
> Check the option to show unconnected pins, and try setting them to an
> internal speaker.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1332900
>
> Title:
> [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> Status in “alsa-driver” package in Ubuntu:
> Incomplete
>
> Bug description:
> Bug seems similar to another reported bug with Alienware 18 laptops.
> It should be Realtek ALC3661 however it shows up as ALC668. Sound only
> comes out of 1 Channel, which appears to be subwoofer. Unlike the
> other bug, closing the lid appears to have no effect on sound.
>
> When doing the bug test, it said sound would alternate between 2
> channels, however I only heard one consistent sound. It did not
> alternate. I believe it is playing from the subwoofer only. I would
> love to know more about how to route the sound to the proper speakers.
>
> I attempted modifications to daemon.conf in pulse and .asoundrc but
> have not found the correct configuration yet.
>
> This laptop is equipped with 2.1 Surround and should play sound
> accordingly. Also, alsamixer only shows (1) speaker control, whether
> this is normal I am unsure.
>
>
> Ubuntu 14.04 LTS
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: alsa-base 1.0.25+dfsg-0ubuntu4
> ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
> Uname: Linux 3.13.0-29-generic x86_64
> NonfreeKernelModules: wl nvidia
> ApportVersion: 2.14.1-0ubuntu3.2
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC1: phallix 1730 F.... pulseaudio
> /dev/snd/controlC0: phallix 1730 F.... pulseaudio
> phallix 8573 F.... alsamixer
> CurrentDesktop: Unity
> Date: Sat Jun 21 21:02:28 2014
> InstallationDate: Installed on 2014-06-15 (6 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
> PackageArchitecture: all
> SourcePackage: alsa-driver
> Symptom: audio
> Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
> Symptom_Card: Built-in Audio - HDA Intel PCH
> Symptom_Jack: Speaker, Internal
> S...

Read more...

Revision history for this message
Austin Moore (bluemonkii) wrote :
Download full text (3.9 KiB)

Update:

I have reinstalled alsa-base.conf as instructed. I ran the hdajackretask program with the "show unconnected pins" option. Upon hitting apply, I get the following message:

tee: /sys/class/sound/hwC0D0/reconfig: No such file or directory

I assume it is looking for a reconfig file in that directory but there is no such file?

Let me know.

> Date: Mon, 23 Jun 2014 19:10:44 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> @David : I think you meant modprobe.d (not modprobe.conf)
>
> @Austin: I'm not aware of any guides beyond the links already given.
> Install the alsa-tools-gui package and run the hdajackretask program.
> Check the option to show unconnected pins, and try setting them to an
> internal speaker.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1332900
>
> Title:
> [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> Status in “alsa-driver” package in Ubuntu:
> Incomplete
>
> Bug description:
> Bug seems similar to another reported bug with Alienware 18 laptops.
> It should be Realtek ALC3661 however it shows up as ALC668. Sound only
> comes out of 1 Channel, which appears to be subwoofer. Unlike the
> other bug, closing the lid appears to have no effect on sound.
>
> When doing the bug test, it said sound would alternate between 2
> channels, however I only heard one consistent sound. It did not
> alternate. I believe it is playing from the subwoofer only. I would
> love to know more about how to route the sound to the proper speakers.
>
> I attempted modifications to daemon.conf in pulse and .asoundrc but
> have not found the correct configuration yet.
>
> This laptop is equipped with 2.1 Surround and should play sound
> accordingly. Also, alsamixer only shows (1) speaker control, whether
> this is normal I am unsure.
>
>
> Ubuntu 14.04 LTS
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: alsa-base 1.0.25+dfsg-0ubuntu4
> ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
> Uname: Linux 3.13.0-29-generic x86_64
> NonfreeKernelModules: wl nvidia
> ApportVersion: 2.14.1-0ubuntu3.2
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC1: phallix 1730 F.... pulseaudio
> /dev/snd/controlC0: phallix 1730 F.... pulseaudio
> phallix 8573 F.... alsamixer
> CurrentDesktop: Unity
> Date: Sat Jun 21 21:02:28 2014
> InstallationDate: Installed on 2014-06-15 (6 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
> PackageArchitecture: all
> SourcePackage: alsa-driver
> Symptom: audio
> Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
> Symptom_Card: Built-in Audio - HDA Intel PCH
> Symptom_Jack: Speaker, Internal
> Symptom_Type: Only some of outputs are working
> Title: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
> UpgradeStatus: No upgrade l...

Read more...

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

you cannot use dynamic reconfig(apply now) if you are not using debugged version alsa driver

you need to use set as boot default which use early patching and require reboot

you can just add the subwoofer only

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=73bdd597823e2231dc882577dbbaf8df92fe1775

+ [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 */
+ { }
+ },

is there any reason add two pin complex when only headset mic is needed for dell laptop?

this create an useless pin complex headphone Mic

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

there is no need to add headphone Mic pin complex if the one and only one Jack "headphone" Jack is retasked as mic jack

Revision history for this message
David Henningsson (diwic) wrote :

 > One other thing I noticed is upon startup/load of Ubuntu, at the top of the screen it says something about snd hda codec "module has bad taint".

This is the alsa daily build module. It is printing an warning message to inform you that you're running a module that was not compiled with the rest of the kernel. You can ignore it.

> tee: /sys/class/sound/hwC0D0/reconfig: No such file or directory

Hmm, maybe this is related to the daily HDA DKMS too, somehow. There has been some reorganising upstream w r t the devices. Try uninstalling the daily DKMS again, reboot, and retry.

> Are there any guides for this hdajackretask as to how I can do what you say, otherwise how might I get started experimenting with hdajackretask?

Omgubuntu wrote a small introduction here, not sure how helpful it is:

http://www.omgubuntu.co.uk/2013/12/turn-headphone-jack-microphone-jack-ubuntu

> @David : I think you meant modprobe.d (not modprobe.conf)

Yes, thanks.

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

do hda jack sense test also indicate the headset Jack is node 0x15, headphone Jack is 0x16

and Mic Jack is 0x19

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1302090/comments/4

the current driver put two headphone jacks in multi out , this is good for supporting 5.1 but the drawback is your 2.1 speaker share the volume control and no bass playback volume controls

may need hint or Def assoicstion of the pins to determine whether subwoofer/headphone have priority to use the volume controls

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

http://www.dell.com/us/p/alienware-18/pd

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

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

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_auto_parser.c?id=1c70a583417e8db1e1d5069d7651ba294e9499de

using hda Jack retask to add headset mic

and specify hint by modifying hda-jack-retask.fw generated by hda Jack retask

parser_flags = 4

to force the parser to find headset Mic which have specific sequence number 0x0c and set misc bit (bit 8)

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt

however the current logic of auto Mic selection won't consider the extra Mic jack in alienware

Revision history for this message
Austin Moore (bluemonkii) wrote :
Download full text (4.3 KiB)

Just got back from vacation and continuing this effort to resolve. In reviewing your notes, Do you understand that My headphone jacks sound fine, however the internal speakers seem to be mapped wrong or unmapped? I just need to know how to find which speakers are on what nodes and also how to group/set them up in 'hda jack retask' so that the sound will split to each of them. I believe it should be 2.1 for the laptop so (2) speakers and (1) subwoofer.

> Date: Wed, 25 Jun 2014 10:10:40 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_auto_parser.c?id=1c70a583417e8db1e1d5069d7651ba294e9499de
>
> using hda Jack retask to add headset mic
>
> and specify hint by modifying hda-jack-retask.fw generated by hda Jack
> retask
>
> parser_flags = 4
>
> to force the parser to find headset Mic which have specific sequence
> number 0x0c and set misc bit (bit 8)
>
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa
> /HD-Audio.txt
>
> however the current logic of auto Mic selection won't consider the extra
> Mic jack in alienware
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1332900
>
> Title:
> [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> Status in “alsa-driver” package in Ubuntu:
> Incomplete
>
> Bug description:
> Bug seems similar to another reported bug with Alienware 18 laptops.
> It should be Realtek ALC3661 however it shows up as ALC668. Sound only
> comes out of 1 Channel, which appears to be subwoofer. Unlike the
> other bug, closing the lid appears to have no effect on sound.
>
> When doing the bug test, it said sound would alternate between 2
> channels, however I only heard one consistent sound. It did not
> alternate. I believe it is playing from the subwoofer only. I would
> love to know more about how to route the sound to the proper speakers.
>
> I attempted modifications to daemon.conf in pulse and .asoundrc but
> have not found the correct configuration yet.
>
> This laptop is equipped with 2.1 Surround and should play sound
> accordingly. Also, alsamixer only shows (1) speaker control, whether
> this is normal I am unsure.
>
>
> Ubuntu 14.04 LTS
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: alsa-base 1.0.25+dfsg-0ubuntu4
> ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
> Uname: Linux 3.13.0-29-generic x86_64
> NonfreeKernelModules: wl nvidia
> ApportVersion: 2.14.1-0ubuntu3.2
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC1: phallix 1730 F.... pulseaudio
> /dev/snd/controlC0: phallix 1730 F.... pulseaudio
> phallix 8573 F.... alsamixer
> CurrentDesktop: Unity
> Date: Sat Jun 21 21:02:28 2014
> InstallationDate: Installed on 2014-06-15 (6 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trust...

Read more...

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

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

follow his step

the multi channel speakers must have same def assosication and ascending sequence number

HP Mic need to use 0xc sequence number and parser_flags=4

Revision history for this message
Austin Moore (bluemonkii) wrote :
Download full text (7.0 KiB)

Update:

I reinstalled alsa-daily and I was able to get 'hda jack retask' to function. I choose show unconnected pins and advanced override. Raymond suggested a couple of nodes that might be the internal speakers for this model. I tried experimenting by checking "override" and setting to "speaker", "internal" etc changing various settings. I am not sure what I should set these to or if they are just labels? Does it matter? Regardless, it does not seem to affect anything in speaker-test. One thing I should note though is that somehow now the speaker-test has sound only coming out when displaying "LFE". Previously sound was only coming out of one channel, however sound would come out of that channel while displaying "front-left", "front-right"...etc. Nothing has really changed though in regards to the actual sound, only what is displayed on the screen while testing has changed, so maybe just the config? So, now I have only sound coming out of LFE (as before) but now it only
comes out when "LFE" is displayed, rather than playing sound while the
other channel names are displayed.

Secondly, When I use "override", I see that it adds a control to "alsamixer", however it doesnt add a full bar, but rather just says "00" and is at a fixed position in alsamixer. I am uncertain if this is normal. At this point I dont fully understand if all of these are making up one collective, or if I should be able to adjust each one separate. I would assume because it is a laptop that there should only be one Master control in alsamixer?...and that sound should be automatically mapped to each present speaker. Let me know if that is correct.

If that is the case, then I am still hung up with detection of those "missing" speakers. Why are they not detected automatically and am I on the right track using 'hdajackretask' to get them detected/assigned?

I could not find a guide on using hdajackretask, so I just need to know what settings to use and i assume I just trial and error by hitting "apply", then doing speaker-test to see if any others show sound? If that is the case, however ...why was i told i was getting sound on (4) of those speakers, but in actuality it only came out of (1) of them, while displaying each one.

I am just trying to understand why it does not display the actual speaker which is playing. The only idea i had was that sound is right now mapped only to the subwoofer and so when it does the test right now for each speaker, the subwoofer receives the test for each instead of the missing speakers. So, I need to know how to reassign it so that the subwoofer only receives the test for the subwoofer, and the other 2 speakers receive their own test signal.

I hope this makes sense.

P.S. - Many of the suggestions have to do with the Headphone jacks, but my problem is related to the internal speakers. As far as I understand, they are separate issues?

> Date: Tue, 24 Jun 2014 11:27:26 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> > One other thing I noticed is upon startup/load of Ubuntu, at the top
> of the screen it says som...

Read more...

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

https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1286021

do you get sound from from subwoofer after retasking node 0x1a ?

since you have two headphone , speakers and subwoofer

the current driver only create two volume controls for headphone And speaker

you may need to retask one headphone Jack to UN connected if you want the driver to create volume controls for speaker and subwoofer

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa/HD-Audio.txt

`CONFIG_SND_HDA_HWDEP` is a useful option for debugging the driver.
When this is enabled, the driver creates hardware-dependent devices
(one per each codec), and you have a raw access to the device via
these device files. For example, `hwC0D2` will be created for the
codec slot #2 of the first card (#0). For debug-tools such as
hda-verb and hda-analyzer, the hwdep device has to be enabled.
Thus, it'd be better to turn this on always.

`CONFIG_SND_HDA_RECONFIG` is a new option, and this depends on the
hwdep option above. When enabled, you'll have some sysfs files under
the corresponding hwdep directory. See "HD-audio reconfiguration"
section below.

http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/README;hb=HEAD

apply now button work only when driver is build with reconfig and the program can kill pulseaudio and can dynamic receive configure the driver

the alternative is to use hda analyzer , just set pinctl of the subwoofer node to out and connected the node to one of the audio output , unmute the switch along the path and change the volume slider

Revision history for this message
Austin Moore (bluemonkii) wrote :
Download full text (6.3 KiB)

I am uncertain if HDA retask made permanent changes to the mapping? I chose boot override and then restarted. When relaunching hdajackretask i see that none of the overrides are checked. Is this because changes were already made and are now in effect?

I still do not understand which nodes are for which speakers. The other Alienware bug guy said 0x1a is subwoofer? I probably dont need a separate volume control for subwoofer, as I dont even think windows has this.

I just need sound to come out of the 2 missing speakers.

So, I assume 0x1a is for Subwoofer?

How do I get sound out of other speakers? Are they "left" and "right" or "front" and "back"? And are you saying one or two of the pins from hdajackretask is assigned to internal speakers?

I read the other bug report, but I do not understand fully how pins work, or how to locate and assign missing speakers. I just want sound to play out of all internal speakers. Right now I can get good sound from Headphones, that is not a problem so far, but sound is bad quality, probably because all of it coming through subwoofer. How does it know how to split sound to the (2) other speakers in addition to subwoofer?

Also, what should my .asoundrc file look like for a 2.1 surround setup?

And, does daemon.conf make a difference, or that is only related to the controls in PulseAudio?

I think I need some sort of simple instructions because I am not a hardware expert, and do not fully understand how the hardware is mapped by default.

> Date: Sun, 6 Jul 2014 05:21:52 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1332900] Re: [Alienware 18, Realtek ALC668, Speaker, Internal] Playback problem
>
> https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1286021
>
> do you get sound from from subwoofer after retasking node 0x1a ?
>
> since you have two headphone , speakers and subwoofer
>
> the current driver only create two volume controls for headphone And
> speaker
>
> you may need to retask one headphone Jack to UN connected if you want
> the driver to create volume controls for speaker and subwoofer
>
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/Documentation/sound/alsa
> /HD-Audio.txt
>
> `CONFIG_SND_HDA_HWDEP` is a useful option for debugging the driver.
> When this is enabled, the driver creates hardware-dependent devices
> (one per each codec), and you have a raw access to the device via
> these device files. For example, `hwC0D2` will be created for the
> codec slot #2 of the first card (#0). For debug-tools such as
> hda-verb and hda-analyzer, the hwdep device has to be enabled.
> Thus, it'd be better to turn this on always.
>
> `CONFIG_SND_HDA_RECONFIG` is a new option, and this depends on the
> hwdep option above. When enabled, you'll have some sysfs files under
> the corresponding hwdep directory. See "HD-audio reconfiguration"
> section below.
>
> http://git.alsa-project.org/?p=alsa-
> tools.git;a=blob;f=hdajackretask/README;hb=HEAD
>
>
> apply now button work only when driver is build with reconfig and the program can kill pulseaudio and can dynamic receive configure the driver
>
> the alternative is to u...

Read more...

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

do you mean node 0x14 is the subwoofer ?

you can use hda analyzer to mute and unmute node 0x14 to find out whether it is the subwoofer and internal Mic is node 0x12

[ 5.445875] autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
 [ 5.445876] speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
 [ 5.445877] hp_outs=2 (0x15/0x16/0x0/0x0/0x0)
 [ 5.445877] mono: mono_out=0x0
 [ 5.445878] inputs:
 [ 5.445879] Mic=0x19
 [ 5.445880] Internal Mic=0x12

use hda jack sense test to verify the three jacks are 0x15, 0x16 and 0x19

if the above nodes are correct, only pincap of nodes 0x18 and 0x1a support OUT which may be the missing speakers

the driver create bass playback switch at the node with higher sequence number , so you need to adjust the sequence number so that subwoofer node has higher sequence number then the stereo speakers node

Control: name="Bass Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Surround Phantom Jack", index=0, device=0

use early patching instead of dynamic reconfig since dynamic reconfigure keep on create inputs

152679.662071] input: HDA Intel PCH Headphone Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[152679.662173] input: HDA Intel PCH Headphone Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[152679.662527] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[152759.157431] hda-codec: reconfiguring
[152759.157433] The codec is being used, can't reconfigure.
[152768.037378] hda-codec: reconfiguring
[152768.087470] SKU: Nid=0x1d sku_cfg=0x41000001
--
[152768.087760] realtek: Enabling init ASM_ID=0x0001 CODEC_ID=10ec0668
[152768.092201] input: HDA Intel PCH Headphone Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
[152768.092392] input: HDA Intel PCH Headphone Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[152768.092619] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[152890.220402] hda-codec: reconfiguring

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

to add volume controls to speaker and subwoofer ,

either use hda Jack retask to remove one headphone jack

or

modify driver to increase badness when there are two headphone Jacks and two speaker pins ,but only three audio output when cfg->line_out_type == auto_pin_hp_out since Def assoc of second headphone Jack is larger than that of subwoofer (lower priority to assign volume control/audio output )

this force driver to assign audio output/volume control to two speakers first

Revision history for this message
David Henningsson (diwic) wrote :

> I am uncertain if HDA retask made permanent changes to the mapping? I chose boot override and then restarted.
> When relaunching hdajackretask i see that none of the overrides are checked.

This sounds like a bug in hdajackretask.

> I still do not understand which nodes are for which speakers.

This is what we need you to figure out. I suggest you try the following:
Start hdajackretask and make sure "show unconnected pins" is checked.
1) Override all nodes to "Not connected" except the first one, which you set to "Internal Speaker". Click "Apply now". Verify that sound is not muted. Do a sound test and see if you hear anything.
2) Now, override all nodes to "Not connected" except the second one, which you set to "Internal Speaker". Click "Apply now". Verify that sound is not muted. Do a sound test and see if you hear anything.
3) Override all nodes to "Not connected" except the third one...

...and continue until you have tested all pins. If a pin can't be set to "Internal Speaker" because it does not show in the drop down, you can skip that pin.
During testing, other I/O will disappear (Mic, Headphones etc). This is expected.

If you at any point hear output from the primary speakers, let us know which node it was.

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

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=73bdd597823e2231dc882577dbbaf8df92fe1775

the above patch only expect notebook have one Jack but this note book has three and there is no line out mode

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

do the headset and headphone need vendor coefficients to retask as line out to support external 4.0 speakers ?

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

to find the headset Mic , you may need to disable the Mic jack by retasking or stop pulseaudio

since the module switch on available port will switch the port to internal Mic when it found Mic Jack is not plugged

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

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

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
2 comments hidden view all 237 comments
Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Created attachment 188161
Hardware

I installed Linux Mint 17.2 on my Rig
I installed it on my mSata drive
I have no Windows Op system at all
Everything installed perfectly except the sound

The sound is very quiet not really even usable the sound is also bad quality
and the Sub-woofer isn't in use and doesn't show up in the sound settings

I have tried many different fixes from searching the Net I had the sound better at one stage but still no Sub
I have tried things and lost all sound and and sound devices to getting locked out when I got to logon
Then I tried something else and had to do a re-install I'm getting very good at installing as do it every day or two

I did a re-install last night so things are standard and fresh at this stage

I also contacted Dell they were not interested !

I have posted topics on Linux Mint forum and Linux forums but no luck yet
I have posted information about my rig there

https://www.linux.com/community/forums/multimedia/alienware-18x-r2-bad-quallity-sound-and-not-coming-through-the-sub/24443#p24443

I'm new to Linux so don't really know what required when posting on these sites

So please tell me the "codes" to get the info you require

Thanks in advance for your help
Gary

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

I should add too
The sound through Headphones works perfectly

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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 #

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Created attachment 188171
alsa-info.txt.jygArwylRC

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Created attachment 188181
More Info

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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 │
└──────────────────────────────────────────────────────────────────────────────────┘

Changed in alsa-driver (Ubuntu):
status: Expired → Incomplete
157 comments hidden view all 237 comments
Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Ok so where do I add this please??

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

i guess you get bad sound because you plug TRRS headset into the headphone jack TRS

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :
Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

So I have no auto mute now should I revert back to

0x14 0x02011010
0x15 0x02011011
0x19 0x02011012
0x1a 0x90170111

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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)

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

(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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Created attachment 189121
Alsa info

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Where do I find these to remove them Please?

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Found them

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Created attachment 189131
Alsa Info after removing 3 files

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :
Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

So If I install the PPA will it install the latest Pulse Audio 7.0

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Kernel updated to 4.2.3-040203-generic

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

My bug report can anyone link it to this bug report.

Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

(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

190 comments hidden view all 237 comments
Revision history for this message
Mohd Imran Jamadar (imranmohd72) wrote :

0
down vote
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.

191 comments hidden view all 237 comments
Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

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.

Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

HDAUDIO\FUNC_01&VEN_10EC&DEV_0668&SUBSYS_102805A9&REV_1000

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Hi mohammed imran
Ive just sen this now after all this time
installed as above
Fingers crossed

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

No Hasn't changed anything
Still doesn't detect my Sub
Thanks for trying anyway
Cheers
Gaz

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

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

Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

(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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

(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

Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

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.

198 comments hidden view all 237 comments
Revision history for this message
Mohd Imran Jamadar (imranmohd72) wrote :

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.

199 comments hidden view all 237 comments
Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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?

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :
Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :
Revision history for this message
In , imranmohd72 (imranmohd72-linux-kernel-bugs) wrote :

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

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

Code yes I wish I knew what that was hahhahahah

I'm a Blue Collar worker not a Technician

Revision history for this message
In , gaznims (gaznims-linux-kernel-bugs) wrote :

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

Changed in alsa-driver:
importance: Unknown → Medium
status: Unknown → Confirmed
Displaying first 40 and last 40 comments. View all 237 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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