[Aspire 9800, Realtek ALC883, Internal Speakers] Playback problem

Bug #1249115 reported by Igor Cher
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

No sound on internal speakers. Headphones out works fine. Last working kernel version is 3.2 with options snd-hda-intel model=acer in alsa-base.conf, but later versions won't work with any possible model = values (and without it). It seems that it is kernel bug because after kernel downgrade to 3.2 version I got sound working.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: igor 2271 F.... pulseaudio
 /dev/snd/pcmC0D0p: igor 2271 F...m pulseaudio
Date: Fri Nov 8 01:56:35 2013
InstallationDate: Installed on 2010-01-29 (1378 days ago)
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Intel failed
Symptom_Card: Встроенное аудио - HDA Intel
Symptom_Jack: Line Out, Internal
Symptom_Type: Only some of outputs are working
Title: [Aspire 9800, Realtek ALC883, Line Out, Internal] Playback problem
UpgradeStatus: Upgraded to saucy on 2013-10-19 (19 days ago)
dmi.bios.date: 04/11/07
dmi.board.name: Cheela
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrI1.21:bd04/11/07:svnAcer:pnAspire9800:pvrPSB10U-SA10ES1:rvnAcer:rnCheela:rvrNotApplicable:cvnAcer:ct1:cvrN/A:
dmi.product.name: Aspire 9800
dmi.product.version: PSB10U-SA10ES1
modified.conffile..etc.modprobe.d.blacklist.modem.conf: [deleted]
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2012-11-26T13:02:19.374725

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

http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=8812c4f96178620ebaabbd6e32401411b244d26b

does the notebook support surround 5.1 external speakers ?

- SND_PCI_QUIRK(0x1025, 0x006c, "Acer Aspire 9810", ALC883_ACER_ASPIRE),

seem same pci ssid

- [ALC883_ACER_ASPIRE] = {
- .mixers = { alc883_acer_aspire_mixer },
- .init_verbs = { alc883_init_verbs, alc883_acer_eapd_verbs },
- .num_dacs = ARRAY_SIZE(alc883_dac_nids),
- .dac_nids = alc883_dac_nids,
- .dig_out_nid = ALC883_DIGOUT_NID,
- .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes),
- .channel_mode = alc883_3ST_2ch_modes,
- .input_mux = &alc883_capture_source,
- .unsol_event = alc_sku_unsol_event,
- .setup = alc883_acer_aspire_setup,
- .init_hook = alc_hp_automute,

does the notebook has subwoofer ?

-/* toggle speaker-output according to the hp-jack state */
-static void alc883_acer_aspire_setup(struct hda_codec *codec)
-{
- struct alc_spec *spec = codec->spec;
-
- spec->autocfg.hp_pins[0] = 0x14;
- spec->autocfg.speaker_pins[0] = 0x15;
- spec->autocfg.speaker_pins[1] = 0x16;
- alc_simple_setup_automute(spec, ALC_AUTOMUTE_AMP);
-}

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

Audio system with two built-in Acer 3DSonic (1.5W) stereo speakers and one Acer BasSonicSubwoofer
Dolby®Digital Live and DTS Neo: PC support
Intel ®High Definition audio support
S/PDIF (Sony/Philips Digital Interface) support for digital speakers (1.5W)
Two built-in stereo microphone

Headphones/speaker/line-out port with S/PDIF support
Microphone-in jack
Line-in jack

need clear Misc bit of pin default of node 0x14
need hint add_out_jack_mode for (Headphone/Line Out) switch

Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Phantom 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 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01014110: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26

change pin default to [Fixed] Speaker
assign same def association and sequence = 0 if node 0x15 is stereo speaker

Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  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 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26

change pin default to [Fixed] Speaker
assign same def assosciation and sequence =1 1 if node 0x16 is suboofer

Node 0x16 [Pin Complex] wcaps 0x40018f: 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: 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 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x99030120: [Fixed] Line Out at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f* 0x26

Revision history for this message
Igor Cher (igorvnd) wrote :

Yes, the notebook have built-in 3DSonic stereo speakers, built-in BasSonic subwoofer, S/PDIF support for digital speakers.
You wrote:
...
need clear Misc bit of pin default of node 0x14
need hint add_out_jack_mode for (Headphone/Line Out) switch
change pin default to [Fixed] Speaker
assign same def association and sequence = 0 if node 0x15 is stereo speaker
change pin default to [Fixed] Speaker
assign same def assosciation and sequence =1 1 if node 0x16 is suboofer
...

How I can do this? I tried HDA Analyzer, but there is no such settings for Node 0x14-0x16...

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

use hdajackretask

and

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

add hint to hdajackretask.fw

- add_jack_modes (bool): add "xxx Jack Mode" enum controls to each
  I/O jack for allowing to change the headphone amp and mic bias VREF
  capabilities

but this may add two useless "Mic jack mode" "Line jack mode" since you have mic jack and line jack

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

I tried hdajackretask but without success. It is possible to change pin defaults to internal speaker, but I still don't understand how to perform other bit - level settings, such as "clear Misc bit of pin default of node 0x14". And I didn't find any documentation about pincfg bitmasks values.

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

  * Show unconnected pins
 Your BIOS is responsible for setting up what pins on the codec that are actually connected to something and which ones are not. Sometimes BIOS is buggy, and will not show all your jacks. If you have a jack your BIOS says you haven't, you can try enabling random pins and see if it works.

  * Advanced override
 This is for the experts only. It makes you select each configuration field individually, instead of just a few predefined values that make sense. Note that most combinations here are invalid in one way or the other, so you should probably not mess with this unless you have read and understood the "Configuration Default" section of the HD Audio specification. (Which, at the time of this writing, is available here:

 ALC883_FIXUP_EAPD,
 ALC883_FIXUP_ACER_EAPD,
 ALC883_FIXUP_ACER_LAPTOP,
 ALC883_FIXUP_ACER_ASPIRE_9800,
 ALC882_FIXUP_GPIO1,
 ALC882_FIXUP_GPIO2,

static void alc883_fixup_lineout(struct hda_codec *codec,
         const struct hda_fixup *fix, int action)
{
 struct alc_spec *spec = codec->spec;
 spec->gen.add_jack_modes = 1;
}

 [ALC883_FIXUP_ACER_EAPD] = {
  .type = HDA_FIXUP_VERBS,
  .v.verbs = (const struct hda_verb[]) {
   /* eanable EAPD on Acer laptops */
   { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
   { 0x20, AC_VERB_SET_PROC_COEF, 0x3050 },
   { }
  }
 },
 [ALC883_FIXUP_ACER_LAPTOP] = {
  .type = HDA_FIXUP_FUNC,
  .v.func = alc883_fixup_lineout,
  .chained = true,
  .chain_id = ALC883_FIXUP_ACER_EAPD,
 },
 [ALC883_FIXUP_ACER_ASPIRE_9800] = {
  .type = HDA_FIXUP_PINS,
  .v.pins = (const struct hda_pintbl[]) {
   { 0x14, 0x01014010 },
   { 0x15, 0x90170120 },
   { 0x16, 0x90170121 },
   { }
  },
  .chained = true,
  .chain_id = ALC883_FIXUP_ACER_LAPTOP,
 },

static const struct snd_pci_quirk alc882_fixup_tbl[] = {
 SND_PCI_QUIRK(0x1025, 0x006c, "Acer Aspire 9800", ALC883_FIXUP_ACER_ASPIRE_9800),

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

seem still missing internal mic

autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
   speaker_outs=2 (0x15/0x16/0x0/0x0/0x0)
   hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
   mono: mono_out=0x0
   dig-out=0x1e/0x0
   inputs:
     Mic=0x18
     Line=0x1a

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

did the driver allow you to select internal in previous version ?

seem to be 0x19 if front mic in previous version is the internal mic

Node 0x22 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals: [0x00 0x00]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals: [0x00 0x00]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b

static const struct hda_input_mux alc882_capture_source = {
 .num_items = 4,
 .items = {
  { "Mic", 0x0 },
  { "Front Mic", 0x1 },
  { "Line", 0x2 },
  { "CD", 0x4 },
 },
};

#define alc883_capture_source alc882_capture_source

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

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers

Related questions

Remote bug watches

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