Bug 66231

Summary: Z35HL, Realtek ALC660, No sound at all
Product: Drivers Reporter: Trustytahr (opensuse)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: RESOLVED CODE_FIX    
Severity: high CC: tiwai
Priority: P1    
Hardware: i386   
OS: Linux   
Kernel Version: Linux 3.12.0-4-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: on ubuntu10.10 the sound well ,this is the alsa info
ubuntu14.04 no sound at all ,this is the alsa-info
Test fix patch for 3.13-rc2

Description Trustytahr 2013-11-30 13:25:00 UTC
Created attachment 116881 [details]
on ubuntu10.10 the sound well ,this is the alsa info

on ubuntu 10.04 and ubuntu 10.10( 2.6.35-22-generic),i add in alsa-base.conf that:options snd-hda-intel model=3stack-660,then the sound works all right ,but when i update to ubuntu 14.04(Linux 3.12.0-4-generic ),i use the same way add :options snd-hda-intel model=3stack-660,but it doesn't work ,no sound at all,i have tried a lot of ways ,but it can't help ,please help me. i write a forum in china.please refer to it. http://forum.ubuntu.org.cn/viewtopic.php?f=49&t=452588

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.12.0-4.10-generic 3.12.1
Uname: Linux 3.12.0-4-generic i686
ApportVersion: 2.12.7-0ubuntu1
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: trustytahr 2766 F.... pulseaudio
CurrentDesktop: Unity
Date: Mon Nov 25 22:30:58 2013
InstallationDate: Installed on 2013-11-23 (2 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131122)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Intel failed
Symptom_Card: 内部音频 - HDA Intel
Symptom_Jack: Green Line Out, Rear
Symptom_Type: No sound at all
Title: [Z35HL, Realtek ALC660, Green Line Out, Rear] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/14/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 301
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: Z35HL
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 2.1
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr301:bd12/14/2006:svnASUSTeKComputerInc.:pnZ35HL:pvr1.0:rvnASUSTeKComputerInc.:rnZ35HL:rvr2.1:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: Z35HL
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2013-11-25T22:25:11.694126
Comment 1 Trustytahr 2013-11-30 13:29:47 UTC
Created attachment 116891 [details]
ubuntu14.04 no sound at all ,this is the alsa-info
Comment 2 Takashi Iwai 2013-12-02 08:28:08 UTC
Try the following on the non-working kernel:
   hda-verb /dev/snd/hwC0D0 0x10 SET_PIN_WID 0x24

This was the necessary magic to make ASUS W7J working again.  I guess the same is needed for yours.

If this works, the below should fix the problem on 3.13-rc2 (and later stable kernels, too).
Comment 3 Takashi Iwai 2013-12-02 08:28:27 UTC
Created attachment 117121 [details]
Test fix patch for 3.13-rc2
Comment 4 Takashi Iwai 2013-12-02 09:57:30 UTC
Correction: the fix for ASUS W7J wasn't merged into 3.13-rc2 yet.
It can be found in sound git tree for-linus branch, targeted for 3.13-rc3.
   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
Comment 5 Trustytahr 2013-12-02 14:24:17 UTC
yeah! ,hda-verb /dev/snd/hwC0D0 0x10 SET_PIN_WID 0x24
it works!
so nice !
so beautful!
sehr gut!
but when i restart my laptop ,it not work,so every time i restart my computer i should run this instruction hda-verb /dev/snd/hwC0D0 0x10 SET_PIN_WID 0x24
Comment 6 Takashi Iwai 2013-12-02 14:26:59 UTC
The patch in comment 3 will fix it permanently.

I'm going to merge it now, so the problem will be fixed in 3.13-rc3 (and eventually backported to 3.12.y stable tree).