I checked in file(location can differ on Ubuntu against Gentoo):
/usr/src/linux-4.8.6-gentoo/Documentation/sound/alsa/HD-Audio-Models.txt

for ALC3266 chip(which alsamixer is reporting) there is an entry:
ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models)
======
  laptop-amic           Laptops with analog-mic input
  laptop-dmic           Laptops with digital-mic input
  alc269-dmic           Enable ALC269(VA) digital mic workaround
  alc271-dmic           Enable ALC271X digital mic workaround
  inv-dmic              Inverted internal mic workaround
  headset-mic           Indicates a combined headset (headphone+mic) jack
  headset-mode          More comprehensive headset support for ALC269 & co
  headset-mode-no-hp-mic Headset mode support without headphone mic
  lenovo-dock           Enables docking station I/O for some Lenovos
  hp-gpio-led           GPIO LED support on HP laptops
  dell-headset-multi    Headset jack, which can also be used as mic-in
  dell-headset-dock     Headset jack (without mic-in), and also dock I/O
  alc283-dac-wcaps      Fixups for Chromebook with ALC283
  alc283-sense-combo    Combo jack sensing on ALC283
  tpt440-dock           Pin configs for Lenovo Thinkpad Dock support

So these are models we could refer in /etc/modprobe.d/alsa.conf(again can 
differ on Ubuntu)
I mixed it with probe_mask which is known to handle some issues:
options snd-hda-intel single_cmd=1
options snd-hda-intel probe_mask=1
options snd-hda-intel model=headset-mic

by using first model=generic I got working both speakers and headphones
at same time. In the moment I am testing all scenarios and the result
:-(

Here are available addresses of outputs:
[    6.763392] bus: 'hdaudio': really_probe: probing driver 
snd_hda_codec_realtek with device hdaudioC0D0
[    6.763393] snd_hda_codec_realtek hdaudioC0D0: no default pinctrl state
[    6.763972] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3266: 
line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    6.763973] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[    6.763973] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 
(0x21/0x0/0x0/0x0/0x0)
[    6.763974] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    6.763974] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    6.763975] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x18
[    6.763976] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
[    6.763976] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    9.099842] driver: 'snd_hda_codec_realtek': driver_bound: bound to device 
'hdaudioC0D0'
[    9.099850] bus: 'hdaudio': really_probe: bound device hdaudioC0D0 to driver 
snd_hda_codec_realtek
[    9.100055] bus: 'hdaudio': driver_probe_device: matched device hdaudioC0D2 
with driver snd_hda_codec_generic
[    9.100055] bus: 'hdaudio': really_probe: probing driver 
snd_hda_codec_generic with device hdaudioC0D2
[    9.100057] snd_hda_codec_generic hdaudioC0D2: no default pinctrl state
[    9.100152] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: 
line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[    9.101819] ALSA device list:
[    9.106806] snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[    9.106806] snd_hda_codec_generic hdaudioC0D2:    hp_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[    9.106807] snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
[    9.106807] snd_hda_codec_generic hdaudioC0D2:    dig-out=0x3/0x0
[    9.106808] snd_hda_codec_generic hdaudioC0D2:    inputs:
[    9.107716] driver: 'snd_hda_codec_generic': driver_bound: bound to device 
'hdaudioC0D2'

And I also still see the nasty error:
[   32.543313] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching 
to polling mode: last cmd=0x202a0000
[   33.546454] snd_hda_intel 0000:00:1f.3: No response from codec, disabling 
MSI: last cmd=0x202a0000
[   34.547426] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching 
to single_cmd mode: last cmd=0x202a0000

which I thought with probe_mask=1 might be fixed.

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

Title:
  [XPS 15 9550, Realtek ALC3266] Headphone jack stops working after a
  while

Status in alsa-driver package in Ubuntu:
  Confirmed

Bug description:
  I'm experiencing a strange behavior with a headphone jack on my
  laptop.

  I have an external audio speaker connected to it. When I disconnect the 
speaker and reconnect it again it stops working.
  Even more, laptop audio stops working too. And after the reboot, I don't even 
see any of the audio devices.

  I've googled a lot and tried different fixes from forums with no luck.
  After a while, I've accidentally discovered that putting the laptop to
  the sleep mode and rebooting system after brings audio back to live.
  Even more, if speakers were attached during this sleep-reboot
  procedure, they are starting to work as well.

  However, after the next reboot speakers are not working again. And if
  I will plug them out and in - problem with completely missing audio
  returns.

  P.S. I'm using laptop-mode-tools package on my laptop. Recovery after
  hibernation made me believe that it's somehow related. But after
  uninstalling this package nothing really changed.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0p:   kop        3224 F...m pulseaudio
   /dev/snd/controlC0:  kop        3224 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Apr 26 12:17:03 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2016-04-22 (3 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_Card: Встроенное аудио - HDA Intel PCH
  Symptom_Jack: Black Headphone Out, Left
  Symptom_Type: Sound works for a while, then breaks
  Title: [XPS 15 9550, Realtek ALC3266, Black Headphone Out, Left] fails after 
a while
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/07/2016
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 01.02.00
  dmi.board.name: 0N7TVV
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr01.02.00:bd04/07/2016:svnDellInc.:pnXPS159550:pvr:rvnDellInc.:rn0N7TVV:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: XPS 15 9550
  dmi.sys.vendor: Dell Inc.

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

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

Reply via email to