Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140437 - Gentoo Linux ALSA Guide, Using the ALSA Driver package, CONFIG_SOUND=y gives people problems.
Summary: Gentoo Linux ALSA Guide, Using the ALSA Driver package, CONFIG_SOUND=y gives ...
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/alsa-gui...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 20:41 UTC by Marvin Vek
Modified: 2006-07-26 08:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marvin Vek 2006-07-14 20:41:55 UTC
The Gentoo Linux ALSA Guide, Using the ALSA Driver package, tells you to disable all Alsa and OSS options in the kernel, and enable sound card support as built-in module:

<*> Sound card support

according to:

CONFIG_SOUND is set. (Basic Sound support enabled)
# grep SOUND .config
(1. is true)
CONFIG_SOUND=y

..in Code Listing 2.5: .config checks

Though as you can see, searching on the forums for alsa-driver, people including myself where having problems, not getting it to work, especially going from the kernel way to the driver way.

After lots of testing, trying the solutions from the forums without result, the solution was quite easy: CONFIG_SOUND had to be built as a module instead of built into the kernel, and therefore only 2 minor changes which will keep the small groups of people from having these problems:

CONFIG_SOUND is set as module. (Basic Sound support enabled)
CONFIG_SOUND=m.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2006-07-14 21:25:48 UTC
i've always built Sound Card Support into my kernel, left ALSA and OSS disabled, and used alsa-driver without any problem.  
Comment 2 Łukasz Damentko (RETIRED) gentoo-dev 2006-07-14 21:31:58 UTC
Could you elaborate more on what your problem was and also provide us with links to the topics in the forums that are related to this bug?
Comment 3 Shyam Mani (RETIRED) gentoo-dev 2006-07-14 23:03:07 UTC
shyam@trinity /usr/src/linux $ grep SOUND .config
CONFIG_SOUND=y
# CONFIG_SOUND_PRIME is not set

shyam@trinity /usr/src/linux $ eix alsa-driver
* media-sound/alsa-driver
     Available versions:  1.0.10-r2 1.0.11 [M]1.0.12_rc1
     Installed:           1.0.11
     Homepage:            http://www.alsa-project.org/
     Description:         Advanced Linux Sound Architecture kernel modules

WORKSFORME. I guess if you could provide more info like Lukasz suggested, it would help. Thanks!
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-14 23:04:28 UTC
CONFIG_SOUND=y is not a problem.

Probably people had problems with is either CONFIG_SND (ALSA support) or due to not removing the old /lib/modules/`uname -r` after passing from one method (in-kernel vs alsa-driver) to the other.
Comment 5 Marvin Vek 2006-07-17 13:57:01 UTC
Well, i can't give more related stuff, cause i solved the problem.

I removed the modules as you said in these comments, i updated the modules just like the alsaconf does, i tried everything what i could find on the forums. And the only thing you can link from from the gentoo forums, is one topic at a time.

I just searched and found users with similar problems, especially the users that went from in-kernel to alsa-driver (on the page only from alsa-driver to in-kernel is covered). And those people couldn't get it working for a strange reason.

As i had the same problem, in the end i came up with the idea that, now it was launching all alsa-driver modules, i made CONDIF_SOUND a module too instead of built-in, copied the kernel to /boot again and restart again, and this time, it simply worked.

Thats why i'm advising this.. since building that as a module won't be such a big difference for the users, but will help those few with problems.
Comment 6 Łukasz Damentko (RETIRED) gentoo-dev 2006-07-19 05:13:56 UTC
Do you have any proof that it was switching to the module that solved your problem? I tried searching the forums and couldn't find anything like this. Maybe it was something else, that was done along with the switch?
Comment 7 Marvin Vek 2006-07-19 09:29:46 UTC
I have no prove, nor do i feel like replicating it now. I only wanted to advise it to get people to built it as a module instead of built in, cause for he/she it works for, it will work as a module too.. and the few few people built-in doesn't work for, module might be a solution (especially since you doing everything then as loaded modules).

So, if you don't feel like it should be change, thats cool too, but imho it couldn't hurt and doing it the driver module way, should be logical to do it as module too in the kernel..

So, thats all up to you now :)
Comment 8 Łukasz Damentko (RETIRED) gentoo-dev 2006-07-26 08:19:47 UTC
Thanks for reporting but I confirmed with many people that it works without problem when you have it built-in. As we generally advise people to built their modules into the kernel, i think that this bug should be closed.