Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Speaker doesnt sound but headphone works well
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
alrojas
n00b
n00b


Joined: 23 May 2012
Posts: 12

PostPosted: Wed Feb 11, 2015 1:34 pm    Post subject: Speaker doesnt sound but headphone works well Reply with quote

Hi, How you doing XD

I have a fresh installation of Gentoo.
At first everything works well with sound. The Speaker works too. But when I plug in my headphones as usual... the speaker mute and sounds out through headphones. But when I remove the headphones the speaker doesnt work anymore :/

The alsamixer show me that speaker is not mute XD

# getfacl /dev/snd/controlC0 | grep alrojas
getfacl: Removing leading '/' from absolute path names
user:alrojas:rw-


This are my cards
# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7b00000 irq 41
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf6080000 irq 17


If you need more information please ask me. Thanks!
_________________
--
alrojas
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Feb 12, 2015 10:13 am    Post subject: Reply with quote

Is this new hardware or used one? You could have a defect in teh connector there.

anyway check your kernel settings. those hda-intel usually work flawless.
Back to top
View user's profile Send private message
alrojas
n00b
n00b


Joined: 23 May 2012
Posts: 12

PostPosted: Thu Feb 12, 2015 4:03 pm    Post subject: Reply with quote

tw04l124 wrote:
Is this new hardware or used one? You could have a defect in teh connector there.

anyway check your kernel settings. those hda-intel usually work flawless.


OK, I'll forgot mention that is a Laptop. And my internal speaker is the problem. If a plug in a headphone it works sound in the headphone. On the other hand the speakers works well in Windows :/.

The strange is it works good until I plug my in headphones.

Cheers
_________________
--
alrojas
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Fri Feb 13, 2015 9:59 am    Post subject: Reply with quote

This sounds like a problem with the alsa drivers. You should check that you are using the correct model for the alsa module you are loading.

Try the advice in this link:
http://www.alsa-project.org/main/index.php/Help_To_Debug_Intel_HDA
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Feb 14, 2015 1:56 am    Post subject: Reply with quote

Actually, kind of a blind guess, but it sounds like it might be switching to the wrong card after unplugging.
Would you check (for example, with aplay) if the card is still accessible after unplugging ?
Back to top
View user's profile Send private message
alrojas
n00b
n00b


Joined: 23 May 2012
Posts: 12

PostPosted: Sun Feb 15, 2015 1:04 pm    Post subject: Reply with quote

VoidMage wrote:
Actually, kind of a blind guess, but it sounds like it might be switching to the wrong card after unplugging.
Would you check (for example, with aplay) if the card is still accessible after unplugging ?


Sorry, How can I do that?
_________________
--
alrojas
Back to top
View user's profile Send private message
alrojas
n00b
n00b


Joined: 23 May 2012
Posts: 12

PostPosted: Mon Feb 16, 2015 10:12 pm    Post subject: Reply with quote

Maybe this info can help

# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, 92HD87B1/3 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, 92HD87B1/3 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, 92HD87B1/3 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, 92HD87B1/3 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, 92HD87B1/3 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, 92HD87B1/3 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, 92HD87B1/3 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, 92HD87B1/3 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output



# aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD87B1/3 Analog [92HD87B1/3 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7b00000 irq 42
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf6080000 irq 17
_________________
--
alrojas
Back to top
View user's profile Send private message
affu933
n00b
n00b


Joined: 24 Feb 2015
Posts: 1

PostPosted: Tue Mar 10, 2015 2:21 pm    Post subject: Reply with quote

Your system speaker is damaged, you have to repair that, otherwise use some external speaker....
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Mar 10, 2015 3:02 pm    Post subject: Reply with quote

affu933 wrote:
Your system speaker is damaged, you have to repair that, otherwise use some external speaker....
alrojas wrote:
On the other hand the speakers works well in Windows :/.

The strange is it works good until I plug my in headphones.

_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Mar 10, 2015 3:09 pm    Post subject: Reply with quote

I have been suffering a similar issue (not exactly the same).

https://forums.gentoo.org/viewtopic-t-1006168-highlight-.html

For me, the speakers do not work at all. Headphones work ok. But this only happens with kernel >= 3.18. That's why right now I am still using 3.17.7 (any version <= 3.17.7 works fine so I know the speakers are ok).

Also a laptop, and also using intel hda. That's why I think the problems are somehow related.

If you could try 3.17.7 and see if that works, we could confirm whether the root of the problem is the same or not.

I have also opened a bug at the kernel tracker, but given that I am a moron when it comes to ALSA and that currently I don't have much free time I haven't managed to make anything clear out of that thread.

https://bugzilla.kernel.org/show_bug.cgi?id=94111
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Wed Mar 11, 2015 7:33 pm    Post subject: Reply with quote

asus k70IJ laptop

weird behaviour

unmute channels, quit alsamixer
channels are muted

again alsamixer, unmute channel, leave alsamixer open
go into google chrome / start a video
channels are muted, unmute again on that opened alsamixer and sound works

alsa is really borked with hda-intel on asusk70ij

it was a bit borked before but now this suddenly going back to mute state is quite annoying.
newest gentoo-sources installed of ~amd64 branch.

as it is only for work this laptop i do not bother but it annoys to see such a mayor feature as mute / unmute broken. and that my channels get automuted without any reason ... considering i use i3wm i suspect any userspace programm at all does the muting ...
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Wed Mar 11, 2015 7:45 pm    Post subject: Reply with quote

alrojas, do you have PulseAudio installed as well as ALSA?
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Mar 24, 2015 8:00 am    Post subject: Reply with quote

Update: I have found that if I pass "model=acer-aspire" to the snd-hda-intel module, then everything is back to normal (or so it seems, haven't tested thoroughly). At least, my external speakers do work, which is about all I use sound-related in this laptop, along with the headphones output.

So, to me, the problem is that something between 3.17.x and 3.18.0 either broke whatever heuristic the kernel uses to guess the model or changed the default which in my case worked fine.

I am 100% sure I never used that parameter before, I didn't even know about it. And it always worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum