You are not logged in.

#1 2012-06-02 10:33:59

walkyrie
Member
Registered: 2012-06-02
Posts: 2

[SOLVED] ALSA no sound interrnal speaker with HDA Intel PCH

Hi, i have no sound from the internal speaker of my laptop but the headphones work.

configuration : http://www.alsa-project.org/db/?f=68a08 … 6d1a1242ae

i have tried to install the driver from realtek and to add the option "model=auto", "model=generic", "model=3stack" to the snd-hda-intel" module without success.
the command "aplay -vv -D hw:0,0  /usr/share/sounds/alsa/test.wav" plays a sound only through the headphones.
have you any idea to help me ?

thanks

Last edited by walkyrie (2012-06-02 13:22:49)

Offline

#2 2012-06-02 13:22:33

walkyrie
Member
Registered: 2012-06-02
Posts: 2

Re: [SOLVED] ALSA no sound interrnal speaker with HDA Intel PCH

I have found a solution:

  - download the script hda analyzer from http://www.alsa-project.org/main/index.php/HDA_Analyzer.
  - open the script and remplace the last line : os.system("python %s" % TMPDIR + '/' + FILES[0] + ' ' + ' '.join(sys.argv[1:])) by os.system("python2 %s" % TMPDIR + '/' + FILES[0] + ' ' + ' '.join(sys.argv[1:]))
  - launch the script with python2 run.py as root
  - check the option eapd of the node 0x14 fo the codec 0.
  - export the diff

now i have sound from my internal speaker.

I hope this solution can help other people.

Offline

#3 2012-06-02 14:56:06

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] ALSA no sound interrnal speaker with HDA Intel PCH

Congrats on getting it to work.

It would be best to put this info on the ALSA bugzilla, so hopefully it will be in future versions of ALSA.

Offline

#4 2012-07-25 11:58:54

Sorky
Member
Registered: 2012-07-25
Posts: 20

Re: [SOLVED] ALSA no sound interrnal speaker with HDA Intel PCH

This seems pretty similar to my issue... No sound from my from headphone output at all... I do get sound from the rear output BUT it stops when I plug in the front one!

Ran the monitor option on the python script and see the following...

PLUG HEADPHONES IN:
======================================
Diff for codec 0/2 (0x11060441):
---
+++
@@ -220,17 +220,16 @@
   Control: name="Line-Out Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x00 0x00]
   Pincap 0x0001001c: OUT HP EAPD Detect
   EAPD 0x2: EAPD
   Pin Default 0x01014010: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Green
     DefAssociation = 0x1, Sequence = 0x0
-  Pin-ctls: 0x40: OUT
   Unsolicited: tag=0x02, enabled=1
   Power: setting=D0, actual=D0
   Connection: 1
      0x18
Node 0x25 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x80 0x80]
   Pincap 0x0000001c: OUT HP Detect
======================================

PULL HEADPHONES OUT:
======================================
Diff for codec 0/2 (0x11060441):
---
+++
@@ -220,16 +220,17 @@
   Control: name="Line-Out Jack", index=0, device=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x00 0x00]
   Pincap 0x0001001c: OUT HP EAPD Detect
   EAPD 0x2: EAPD
   Pin Default 0x01014010: [Jack] Line Out at Ext Rear
     Conn = 1/8, Color = Green
     DefAssociation = 0x1, Sequence = 0x0
+  Pin-ctls: 0x40: OUT
   Unsolicited: tag=0x02, enabled=1
   Power: setting=D0, actual=D0
   Connection: 1
      0x18
Node 0x25 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x80 0x80]
   Pincap 0x0000001c: OUT HP Detect
======================================

Not a lot of difference, but enough to see that the system sees the event...

Now I need to know what to do to make sure the sound starts on the front headphone output when the rear one is disconnected, or if they are parallel, not have the sound stop ;-)

Offline

Board footer

Powered by FluxBB