Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound problem with ALSA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Andrey_
n00b
n00b


Joined: 10 Feb 2010
Posts: 27

PostPosted: Mon Oct 24, 2011 2:32 pm    Post subject: Sound problem with ALSA Reply with quote

Hi,

as you read I've a problem with my sound card. It is (probably) recognized by alsa but I can't hear any sound...

Here are some information:

uname -r:
Quote:
3.0.6-gentoo


lspci | grep -i audio:
Quote:
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)


cat /proc/asound/cards
Quote:
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf3c00000 irq 53


cat /proc/asound/card0/codec#0 | grep -i codec
Quote:
Codec: Realtek ALC665


cat /proc/asound/card0/codec#3 | grep -i codec
Quote:
Codec: Intel CougarPoint HDMI


In alsamixer I saw this:

Card: HDA Intel PCH
Chip: Intel CougarPoint HDMI <--- I think it is wrong... he should use codec#0, not codec#3
[Obviously there aren't mute channels, I am not so idiot :P]

The fact is that when I run mocp I receive this:
Quote:
Running the server...

FATAL_ERROR: No valid sound driver


FATAL_ERROR: Server exited


My PC is a notebook, Dell XPS 17, with a x64 system (stage3-amd64-20111020.tar.bz2).

I didn't find Realtek ALC665 drivers in the kernel 'menuconfig', neither in the 'HD-Audio-Model.txt' file, so I tried to install them manually from here: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false with no result...

I compiled Intel driver in the kernel though, but same thing...

Any suggestions?

If you need more infos i'll provide them. Thanks in advance.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 523
Location: Germany

PostPosted: Tue Oct 25, 2011 8:02 am    Post subject: Reply with quote

Well, my device 00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04).
My codec is "Realtek ALC662 rev1" and I've simply enabled Realtek codec in the Intel HD Audio section. Everything works fine.

aplay -l reports

Code:

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


You may try to enable all of the codecs as modules and then see, which one is loaded by the kernel.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Oct 25, 2011 10:10 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-p-6339697.html#6339697
Look here, but alas, maybe they change it in kernel 3 series, but worth a look
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Wed Oct 26, 2011 3:01 am    Post subject: Reply with quote

With realtek sound chip and CONFIG_SND_HDA_CODEC_REALTEK=Y in kernel .config:
Code:

cat /proc/asound/cards

 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe028000 irq 31


That config option is in a submenu under HDA-INTEL when running make menuconfig:

Device-Drivers->Sound card support->Advanced Linux Sound Architecture->
PCI sound devices->Intel HD Audio->Build Realtek HD-audio codec support
_________________
TIA
Back to top
View user's profile Send private message
Andrey_
n00b
n00b


Joined: 10 Feb 2010
Posts: 27

PostPosted: Wed Oct 26, 2011 10:22 pm    Post subject: Reply with quote

Sorry, but was my error... moc needed the 'alsa' use flag to work... I thought that flag was in my /etc/make.conf but I was wrong...

Anyway thank you for the help, it's solved. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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