View previous topic :: View next topic |
Author |
Message |
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun May 25, 2008 4:35 pm Post subject: After upgrade no AUDIO [SOLVED] |
|
|
Hy,
I 've just upgraded to gentoo-2.6.24-r4 kernel and I've configured alsa for my intel-hd card:
Code: | 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. Unknown device 1338
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
|
and this is my kernel configuration:
Code: | <M> Sound card support
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS PCM (digital audio) API - Include plugin system
[*] OSS Sequencer API
[ ] Dynamic device file minor numbers
[*] Support old ALSA API
[*] Verbose procfs contents
--------------------------------------------------------------
PCI devices --->
<M> Intel HD Audio
[*] Build hwdep interface for HD-audio driver
[*] Build Realtek HD-audio codec support
[*] Build Analog Device HD-audio codec support
[*] Build IDT/Sigmatel HD-audio codec support
[*] Build VIA HD-audio codec support
[*] Build ATI HDMI HD-audio codec support
[*] Build Conexant HD-audio codec support
[*] Build C-Media HD-audio codec support
[ ] Build Silicon Labs 3054 HD-modem codec support
[*] Enable generic HD-audio codec parser
Open Sound System ---> |
and then I've executed the alsaconfig and every thing seems to be ok...but when I try to reproduce an audio file no output is generated, and amarok tell me "xine was unable to initialize any audio drivers."
But this is not a problem of amarok, also with vlc and others players I can't hear anything. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Last edited by Impalatore-polacco on Fri May 30, 2008 6:34 am; edited 1 time in total |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Sun May 25, 2008 7:19 pm Post subject: |
|
|
Is your kernel symlink up to date? Code: | eselect kernel list |
Also, since you're using modular alsa, did you after you upgraded your kernel? _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun May 25, 2008 9:03 pm Post subject: |
|
|
linux is pointing to the right dir containing kernel-sources (2.6.24-r4), regarding the alsa-driver I've never used the alsa-driver and they are masked...are you sure that I have to un-mask and download them? _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Sun May 25, 2008 9:16 pm Post subject: |
|
|
Impalatore-polacco wrote: | are masked...are you sure that I have to un-mask and download them? | I'm assuming that you intended to install sound by the module approach since you've set up your kernel configuration to do that:
Code: | Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture |
If you choose to build ALSA into the kernel, instead of doing a modular install (which is better if the kernel driver properly supports your sound card) then simply change that option above to <*>
Actually, it seems that recently the devs have decided to stop supporting the modular installation option: Gentoo ALSA Guide (see the "ALSA on Gentoo" section). So it's better to give in-kernel ALSA a shot, then if sound does not work properly you can always fall back to modular ALSA. _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
doctork Guru
Joined: 25 Apr 2004 Posts: 370 Location: Cleveland, OH
|
Posted: Sun May 25, 2008 9:35 pm Post subject: |
|
|
There's a difference between using the Alsa driver package and doing "modular" install using the code included with the kernel. The latter works fine for me.
jlk |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun May 25, 2008 9:48 pm Post subject: |
|
|
ok...I've set the flag advanced alsa sound to * and now it's working fine...but only one thing, when I insert the jack in front panel to listen to the music by headphones the music on pc speaker doesn't stop....I'm able to listen music at the same time by the headphones and by the pc speaker, why? _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
wyvern5 Apprentice
Joined: 11 Nov 2006 Posts: 161
|
Posted: Sun May 25, 2008 11:26 pm Post subject: |
|
|
It shouldn't make any difference whether or not you have alsa compiled in to the kernel or compiled as a module. They both work the same. The alsa-driver ebuild is available as an option should you decide to completely remove alsa from your kernel, but that is not the recommended way to do it. |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Mon May 26, 2008 12:20 am Post subject: |
|
|
Impalatore-polacco wrote: | when I insert the jack in front panel to listen to the music by headphones the music on pc speaker doesn't stop....I'm able to listen music at the same time by the headphones and by the pc speaker, why? | The decision to mute the rear jack when headphones are plugged in is made by the driver.
The minimal driver configuration does not implement this behavior; you have to specify your chip name model when loading your sound driver
First you have to find your chip name -
Code: | cat /proc/asound/pcm | For example mine is "AD198x"
Now lookup the corresponding model that ALSA needs for this chip name.
There are several models available for the each chip name, but most likely you'll need something like "5stack" or "6stack".
Code: | less /usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt
#search for your model by typing `/snd-hda` |
EDIT:
Now that you know your model, add it as an option for startup -
append to /etc/modules.d/alsa: | options snd-hda-intel model=<your model> |
See the Gentoo-wiki for more information _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Fri May 30, 2008 6:33 am Post subject: |
|
|
OK, thx very much for the support.
Bye. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
|