Bug 87771
Summary: | No sound in Linux after rebooting from Windows. Gigabyte GA-Z97-D3H motherboard. | ||
---|---|---|---|
Product: | Drivers | Reporter: | Ivan Gumenyuk (meklon) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | dominiquej.ragot, Dougca17, kernel_org, superquad.vortex2, tiwai, zanetu |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 3.16, 3.17 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
alsa-info.sh output in working status
alsa-info.sh output in broken status alsa-info.sh output in working status with coef=1 alsa-info.sh output in broken status with coef=1 alsa-info.sh output in working status with coef=1 (second try) |
Description
Ivan Gumenyuk
2014-11-05 13:20:28 UTC
you have to diff -u outputs of alsa-info.sh in cold boot and warm boot (In reply to Raymond from comment #1) > you have to diff -u outputs of alsa-info.sh in cold boot and warm boot meklon@meklon-desktop:~/tmp$ diff -u alsa-info_broken.txt.WyIsuIE4Fp alsa-info_working.txt.sgfNP9HKI1 --- alsa-info_broken.txt.WyIsuIE4Fp 2014-11-06 09:35:13.000000000 +0300 +++ alsa-info_working.txt.sgfNP9HKI1 2014-11-06 09:28:57.000000000 +0300 @@ -3,7 +3,7 @@ !!ALSA Information Script v 0.4.64 !!################################ -!!Script ran on: Thu Nov 6 06:35:12 UTC 2014 +!!Script ran on: Thu Nov 6 06:28:56 UTC 2014 !!Linux Distribution @@ -166,7 +166,7 @@ ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="ALC1150 Analog", type="Audio", device=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 - Amp-Out vals: [0x37 0x37] + Amp-Out vals: [0x2d 0x2d] Converter: stream=8, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -178,7 +178,7 @@ Control: name="Surround 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: [0x37 0x37] + Amp-Out vals: [0x2d 0x2d] Converter: stream=8, channel=2 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -192,7 +192,7 @@ Control: name="LFE Playback Volume", index=0, device=0 ControlAmp: chs=2, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0 - Amp-Out vals: [0x38 0x38] + Amp-Out vals: [0x2e 0x2e] Converter: stream=8, channel=4 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -204,7 +204,7 @@ Control: name="Side 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: [0x37 0x37] + Amp-Out vals: [0x2d 0x2d] Converter: stream=8, channel=6 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -511,7 +511,7 @@ 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: [0x38 0x38] + Amp-Out vals: [0x2e 0x2e] Converter: stream=8, channel=0 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -567,24 +567,24 @@ !!ALSA Device nodes !!----------------- -crw-rw----+ 1 root audio 116, 5 Nov 6 09:34 /dev/snd/controlC0 -crw-rw----+ 1 root audio 116, 2 Nov 6 09:34 /dev/snd/controlC1 -crw-rw----+ 1 root audio 116, 10 Nov 6 09:34 /dev/snd/hwC0D2 -crw-rw----+ 1 root audio 116, 4 Nov 6 09:34 /dev/snd/hwC1D0 -crw-rw----+ 1 root audio 116, 7 Nov 6 09:34 /dev/snd/pcmC0D0c -crw-rw----+ 1 root audio 116, 6 Nov 6 09:34 /dev/snd/pcmC0D0p -crw-rw----+ 1 root audio 116, 8 Nov 6 09:34 /dev/snd/pcmC0D1p -crw-rw----+ 1 root audio 116, 9 Nov 6 09:34 /dev/snd/pcmC0D2c -crw-rw----+ 1 root audio 116, 3 Nov 6 09:34 /dev/snd/pcmC1D3p -crw-rw----+ 1 root audio 116, 1 Nov 6 09:34 /dev/snd/seq -crw-rw----+ 1 root audio 116, 33 Nov 6 09:34 /dev/snd/timer +crw-rw----+ 1 root audio 116, 5 Nov 6 09:26 /dev/snd/controlC0 +crw-rw----+ 1 root audio 116, 2 Nov 6 09:26 /dev/snd/controlC1 +crw-rw----+ 1 root audio 116, 10 Nov 6 09:26 /dev/snd/hwC0D2 +crw-rw----+ 1 root audio 116, 4 Nov 6 09:26 /dev/snd/hwC1D0 +crw-rw----+ 1 root audio 116, 7 Nov 6 09:26 /dev/snd/pcmC0D0c +crw-rw----+ 1 root audio 116, 6 Nov 6 09:27 /dev/snd/pcmC0D0p +crw-rw----+ 1 root audio 116, 8 Nov 6 09:26 /dev/snd/pcmC0D1p +crw-rw----+ 1 root audio 116, 9 Nov 6 09:26 /dev/snd/pcmC0D2c +crw-rw----+ 1 root audio 116, 3 Nov 6 09:26 /dev/snd/pcmC1D3p +crw-rw----+ 1 root audio 116, 1 Nov 6 09:26 /dev/snd/seq +crw-rw----+ 1 root audio 116, 33 Nov 6 09:26 /dev/snd/timer /dev/snd/by-path: total 0 -drwxr-xr-x 2 root root 80 Nov 6 09:34 . -drwxr-xr-x 3 root root 280 Nov 6 09:34 .. -lrwxrwxrwx 1 root root 12 Nov 6 09:34 pci-0000:00:1b.0 -> ../controlC0 -lrwxrwxrwx 1 root root 12 Nov 6 09:34 pci-0000:01:00.1 -> ../controlC1 +drwxr-xr-x 2 root root 80 Nov 6 09:26 . +drwxr-xr-x 3 root root 280 Nov 6 09:26 .. +lrwxrwxrwx 1 root root 12 Nov 6 09:26 pci-0000:00:1b.0 -> ../controlC0 +lrwxrwxrwx 1 root root 12 Nov 6 09:26 pci-0000:01:00.1 -> ../controlC1 !!Aplay/Arecord output @@ -627,7 +627,7 @@ Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 87 - Mono: Playback 56 [64%] [-23.25dB] [on] + Mono: Playback 46 [53%] [-30.75dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right @@ -1206,7 +1206,7 @@ control.34 { iface MIXER name 'Master Playback Volume' - value 56 + value 46 comment { access 'read write' type INTEGER @@ -1214,7 +1214,7 @@ range '0 - 87' dbmin -6525 dbmax 0 - dbvalue.0 -2325 + dbvalue.0 -3075 } } control.35 { @@ -1535,58 +1535,58 @@ intel_rapl x86_pkg_temp_thermal intel_powerclamp +snd_hda_codec_realtek +snd_hda_codec_generic +snd_hda_codec_hdmi coretemp +snd_hda_intel kvm_intel kvm +snd_soc_rt5640 +snd_hda_controller +snd_hda_codec crct10dif_pclmul +snd_soc_rl6231 crc32_pclmul +snd_soc_core +snd_hwdep ghash_clmulni_intel -snd_hda_codec_realtek -aesni_intel -snd_hda_codec_generic -aes_x86_64 +snd_compress nls_utf8 +snd_pcm_dmaengine +snd_pcm cifs +fscache +mei_me +snd_seq_midi +aesni_intel +mei +aes_x86_64 lrw gf128mul glue_helper -snd_hda_codec_hdmi ablk_helper -fscache -cryptd -snd_seq_midi -snd_hda_intel -snd_hda_controller -snd_hda_codec -serio_raw -snd_soc_rt5640 -snd_soc_rl6231 -snd_hwdep -snd_soc_core -snd_compress -snd_pcm_dmaengine snd_seq_midi_event +cryptd snd_rawmidi +serio_raw snd_seq -snd_pcm snd_seq_device +snd_timer +snd_soc_sst_acpi dw_dmac +snd dw_dmac_core -snd_timer +8250_dw i2c_hid -i2c_designware_platform -shpchp spi_pxa2xx_platform -snd -snd_soc_sst_acpi -mei_me -mac_hid +i2c_designware_platform acpi_pad -8250_dw soundcore -mei -tpm_infineon i2c_designware_core +tpm_infineon +shpchp +mac_hid parport_pc ppdev lp @@ -1596,16 +1596,16 @@ usbhid hid radeon +ahci +e1000e i2c_algo_bit ttm drm_kms_helper -e1000e -psmouse -ahci -drm libahci ptp +drm pps_core +psmouse video sdhci_acpi sdhci @@ -1649,40 +1649,39 @@ !!ALSA/HDA dmesg !!-------------- -[ 0.960885] [drm] Connector 2: -[ 0.960885] [drm] HDMI-A-1 -[ 0.960886] [drm] HPD6 +[ 0.961877] [drm] Connector 2: +[ 0.961877] [drm] HDMI-A-1 +[ 0.961877] [drm] HPD6 -- -[ 6.477674] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 -[ 6.518120] snd_hda_intel 0000:00:1b.0: irq 49 for MSI/MSI-X -[ 6.518184] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client -[ 6.518199] snd_hda_intel 0000:01:00.1: irq 50 for MSI/MSI-X -[ 6.526407] FS-Cache: Loaded -[ 6.528573] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input10 -[ 6.530599] FS-Cache: Netfs 'cifs' registered for caching +[ 6.678847] random: nonblocking pool is initialized +[ 6.698674] snd_hda_intel 0000:00:1b.0: irq 49 for MSI/MSI-X +[ 6.698738] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client +[ 6.699517] snd_hda_intel 0000:01:00.1: irq 50 for MSI/MSI-X +[ 6.701823] CIFS VFS: Error connecting to socket. Aborting operation. -- -[ 6.535790] AVX2 version of gcm_enc/dec engaged. -[ 6.536811] sound hdaudioC0D2: ALC1150: SKU not ready 0x00000000 -[ 6.537192] sound hdaudioC0D2: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line -[ 6.537193] sound hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) -[ 6.537194] sound hdaudioC0D2: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) -[ 6.537195] sound hdaudioC0D2: mono: mono_out=0x0 -[ 6.537195] sound hdaudioC0D2: dig-out=0x11/0x0 -[ 6.537196] sound hdaudioC0D2: inputs: -[ 6.537197] sound hdaudioC0D2: Front Mic=0x19 -[ 6.537198] sound hdaudioC0D2: Rear Mic=0x18 -[ 6.537199] sound hdaudioC0D2: Line=0x1a -[ 6.548311] audit: type=1400 audit(1415255644.478:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=520 comm="apparmor_parser" +[ 6.702328] CIFS VFS: cifs_mount failed w/return code = -101 +[ 6.707107] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input10 +[ 6.708910] sound hdaudioC0D2: ALC1150: SKU not ready 0x00000000 +[ 6.709290] sound hdaudioC0D2: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line +[ 6.709291] sound hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) +[ 6.709292] sound hdaudioC0D2: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) +[ 6.709293] sound hdaudioC0D2: mono: mono_out=0x0 +[ 6.709294] sound hdaudioC0D2: dig-out=0x11/0x0 +[ 6.709294] sound hdaudioC0D2: inputs: +[ 6.709296] sound hdaudioC0D2: Front Mic=0x19 +[ 6.709296] sound hdaudioC0D2: Rear Mic=0x18 +[ 6.709297] sound hdaudioC0D2: Line=0x1a +[ 6.720864] intel_rapl: Found RAPL domain package -- -[ 6.548317] audit: type=1400 audit(1415255644.478:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=520 comm="apparmor_parser" -[ 6.551063] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 -[ 6.551256] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12 -[ 6.551506] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13 -[ 6.551539] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 -[ 6.551577] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15 -[ 6.551611] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16 -[ 6.551640] input: HDA Intel PCH Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17 -[ 6.551670] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 -[ 6.610618] intel_rapl: Found RAPL domain package +[ 6.720869] intel_rapl: Found RAPL domain dram +[ 6.722358] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 +[ 6.722418] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12 +[ 6.723909] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13 +[ 6.723949] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 +[ 6.723981] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15 +[ 6.724011] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16 +[ 6.724043] input: HDA Intel PCH Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17 +[ 6.724074] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 +[ 6.734293] audit: type=1400 audit(1415255176.664:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=621 comm="apparmor_parser" Created attachment 156851 [details]
alsa-info.sh output in working status
Created attachment 156861 [details]
alsa-info.sh output in broken status
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=cd262518a3ae4465e8e51c29641d98c4ed0651a1 your codec info seem normal try compare those proc coeffiecient by specify options snd-hda-intel dump_coef=1 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: benign=0, ncoeff=32 (In reply to Raymond from comment #5) > https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/ > pci/hda?id=cd262518a3ae4465e8e51c29641d98c4ed0651a1 > > > your codec info seem normal > > try compare those proc coeffiecient by specify > > options snd-hda-intel dump_coef=1 > > > Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: > benign=0, ncoeff=32 Could you, please, explain the steps, I should do more clearly? Thanks in advance. are you using latest alsa driver? https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=acf08081adb5e8fe0519eb97bb49797ef52614d6 (In reply to Raymond from comment #7) > are you using latest alsa driver? > > https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/ > pci/hda/patch_realtek.c?id=acf08081adb5e8fe0519eb97bb49797ef52614d6 nano /proc/asound/version Advanced Linux Sound Architecture Driver Version k3.16.0-24-generic. The default driver in 3.17 kernel also don't work. http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PFid=28&Level=5&Conn=4&ProdID=328 you have to ask the author of both patches seem it is slightly different fron other 7.1+2 HDA codec as it support I2S Since the HD-audio codec verbs have no significant difference between working and non-working states, it must be the vendor-specific secret COEF. Usually this kind of problem comes from either the codec amp state or the power state. In the case of Realtek codecs, the latter possibility is low, as there is no fine power control. So the only possibility is the codec master amp controlled by COEF. That's why the comparison of COEF dumps is requested in comment 5 (although the comment is wrong -- it's a parameter for snd-hda-codec module, not snd-hda-intel module). In short: do the following - Boot from Windows, confirm that the no sound comes out. - Write the following as root echo 1 > /sys/module/snd_hda_codec/parameters/coef_dump - Run alsa-info.sh (with --no-upload option), save the result. - Cold reboot, cofirm that the sound works. - Again, write coef_dump proc file, and run alsa-info.sh, save the result. - Attach both files to Bugzilla. BTW, before doing the above, try the latest Linus tree (or upcoming 3.18-rc4 today). There have been a few Realtek-related fixes, so we must check it beforehand. (In reply to Takashi Iwai from comment #11) > BTW, before doing the above, try the latest Linus tree (or upcoming 3.18-rc4 > today). There have been a few Realtek-related fixes, so we must check it > beforehand. 3.18-rc4 Didn't help. Trying to get the correct dump. (In reply to Takashi Iwai from comment #10) > Since the HD-audio codec verbs have no significant difference between > working and non-working states, it must be the vendor-specific secret COEF. > > Usually this kind of problem comes from either the codec amp state or the > power state. In the case of Realtek codecs, the latter possibility is low, > as there is no fine power control. So the only possibility is the codec > master amp controlled by COEF. That's why the comparison of COEF dumps is > requested in comment 5 (although the comment is wrong -- it's a parameter > for snd-hda-codec module, not snd-hda-intel module). > > In short: do the following > > - Boot from Windows, confirm that the no sound comes out. > > - Write the following as root > echo 1 > /sys/module/snd_hda_codec/parameters/coef_dump > > - Run alsa-info.sh (with --no-upload option), save the result. > > - Cold reboot, cofirm that the sound works. > > - Again, write coef_dump proc file, and run alsa-info.sh, save the result. > > - Attach both files to Bugzilla. There is no /sys/module/snd_hda_codec/parameters/coef_dump. I've changed the dump_coef file instead. Created attachment 157281 [details]
alsa-info.sh output in working status with coef=1
Created attachment 157291 [details]
alsa-info.sh output in broken status with coef=1
(In reply to Ivan Gumenyuk from comment #14) > Created attachment 157281 [details] > alsa-info.sh output in working status with coef=1 You seem to have forgotten to set dump_coef=1 for this case. (The second one has the COEF dump, though.) Created attachment 157301 [details]
alsa-info.sh output in working status with coef=1 (second try)
(In reply to Takashi Iwai from comment #16) > (In reply to Ivan Gumenyuk from comment #14) > > Created attachment 157281 [details] > > alsa-info.sh output in working status with coef=1 > > You seem to have forgotten to set dump_coef=1 for this case. > (The second one has the COEF dump, though.) Sorry for that. I didn't know that dump_coef=1 resets after reboot. Attached new one. By the way, a person with the same problem contacted me. He has got the GA-Z97X-UD5H and 3.17-1-amd64 kernel. OK, then try to install hda-verb program (included in the latest alsa-tools package), and run like below as root on the non-working system: hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07 hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0 (In reply to Takashi Iwai from comment #19) > OK, then try to install hda-verb program (included in the latest alsa-tools > package), and run like below as root on the non-working system: > > hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07 > hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0 root@meklon-desktop:/home/meklon# hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07 nid = 0x20, verb = 0x500, param = 0x7 value = 0x0 root@meklon-desktop:/home/meklon# hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0 nid = 0x20, verb = 0x400, param = 0x7cb0 value = 0x0 Some kind of black magic for me) Sound appears after this. OK, now the fix patch landed in sound git tree for 3.18-rc5. Unfortunately, backporting this to stable kernels isn't so trivial. Either we need to backport lots of other patches or we need to rewrite the code. FWIW, the following commits need backports for 3.16.x and 3.17.x: f2a227cd3891266f1486a21aac86fa39b3abd093 ALSA: hda/realtek - Optimize alc888_coef_init() 1687ccc8b2229d05c579924086e9b42ada9db888 ALSA: hda/realtek - Use alc_write_coef_idx() in alc269_quanta_automake() 98b248839474293481905562ae38dc2d6558ef20 ALSA: hda/realtek - Add alc_update_coef*_idx() helper 54db6c3949359ee35e9addb02506fca431721ef0 ALSA: hda/realtek - Use tables for batch COEF writes/updtes 32fa7e4977d86fdcfeb01b8ace32a2b63974f97c ALSA: hda/realtek - Update restore default value for ALC282 56779864f135b309c11dd18156784f83ddc1571e ALSA: hda/realtek - Update restore default value for ALC283 1df8874bfab15671fe9433ec20807590ba86b334 ALSA: hda/realtek - Update Initial AMP for EAPD control f3f9185f3e49c748e952dd579357048a42e89398 ALSA: hda/realtek - Restore default value for ALC668 394c97f824fa6b62351fe08b722fff2fc5188bfc ALSA: hda/realtek - Change EAPD to verb control (In reply to Takashi Iwai from comment #21) > OK, now the fix patch landed in sound git tree for 3.18-rc5. > > Unfortunately, backporting this to stable kernels isn't so trivial. Either > we need to backport lots of other patches or we need to rewrite the code. Thank you for your attention. The bug is not critical. The can be a workaround with adding the script during the system startup. hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07 hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0 Should I be acting on this fix? Thanks Douglas H Campbell (In reply to Ivan Gumenyuk from comment #23) > (In reply to Takashi Iwai from comment #21) > > OK, now the fix patch landed in sound git tree for 3.18-rc5. > > > > Unfortunately, backporting this to stable kernels isn't so trivial. Either > > we need to backport lots of other patches or we need to rewrite the code. > > Thank you for your attention. The bug is not critical. The can be a > workaround with adding the script during the system startup. > hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07 > hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0 FYI, following this procedure with workaround solved a "no sound" issue with a ASUS A88X Gamer motherboard, having also a Realtek ALC1150 chip. System is Debian 7 and the stock kernel has been replaced by a 3.19 from kernel.org (instead of 3.18-rc5 as indicated here). Thank you for your help. Dominique Ragot (In reply to Ivan Gumenyuk from comment #23) > (In reply to Takashi Iwai from comment #21) > > OK, now the fix patch landed in sound git tree for 3.18-rc5. > > > > Unfortunately, backporting this to stable kernels isn't so trivial. Either > > we need to backport lots of other patches or we need to rewrite the code. > > Thank you for your attention. The bug is not critical. The can be a > workaround with adding the script during the system startup. > hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07 > hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0 Do these two commands really need to be run on startup? Or can I just run them afterwards from terminal with 'sudo'? Because If so: This does not fix my sound problems. I am currently running the 3.19.3-031903-generic kernel. I have no clue what else I could try, because I invested about 10 hours - maybe more - in this problem already. Maybe my system is too messed for this to work now. Do you have any suggestions on how to fix this for me with a fresh Ubuntu system? Apparently this fix is not going to be rolled out any time soon and if the commands do the exact same thing as the code does, it would not help me anyway :/ I have an ALC898. The fix for this bug is: > hda-verb /dev/snd/hwC0D2 0x20 SET_COEF_INDEX 0x07 > hda-verb /dev/snd/hwC0D2 0x20 SET_PROC_COEF 0x7cb0 Unfortunately after a couple years I am still without sound. After writing a script with this fix, it didn’t work. It may be that on my computer I don’t have file “hwC0D2” in /dev/snd. doug@doug-Ubuntu:~$ ls /dev/snd by-path hwC0D0 pcmC0D0c pcmC1D10p pcmC1D8p pcmC2D1c seq controlC0 hwC1D0 pcmC0D0p pcmC1D11p pcmC1D9p pcmC2D1p timer controlC1 hwC2D1 pcmC0D1p pcmC1D3p pcmC2D0c pcmC2D2c controlC2 hwC2D2 pcmC0D2c pcmC1D7p pcmC2D0p pcmC2D4c doug@doug-Ubuntu:~$ I have downloaded and installed alsa-tools-1.1.0. How do I get file hwC0D2? Dougca17 |